feat: Add event filters (#5)

This commit is contained in:
2024-03-11 23:50:22 +03:00
parent 79a286dd6d
commit ca5ca3c3c6
5 changed files with 31 additions and 13 deletions

View File

@@ -18,6 +18,7 @@ section '.text'
public _free
public _get_lang
public _load_dll
public _set_event_mask
_exit:
mov eax, SF_TERMINATE_PROCESS
@@ -126,3 +127,10 @@ _load_dll:
mov ecx, [esp + 4 * 1]
int 0x40
ret
_set_event_mask:
mov eax, SF_SET_EVENTS_MASK
mov ebx, [esp + 4 * 1]
int 0x40
ret