joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e7d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x55f348
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
push 0x100
call fcn.0047b3e0
push 4
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call fcn.00506de6
add esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0
call fcn.0048e6a0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.0048c040
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0x48b0f0
push ecx
push edx
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.0047b410
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x24], 0
call fcn.005053fb
add esp, 0x10
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 0x18
Function at 0x494230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55f778
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.wxDropFilesEvent.0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x18], 0
test eax, eax
je 0x49428b
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.00401017
push ecx
push 4
push eax
call fcn.005046f1
push edi
call fcn.00504754
add esp, 4
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
mov dword [esi], vtable.wxObject.0
call fcn.00461690
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x499060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55f94e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.wxMenuItemBase.0
mov ecx, dword [0x5e9844]
mov dword [esp + 0x14], eax
mov dword [esi + 0x14], ecx
mov edx, dword [0x5e9844]
mov dword [esi + 0x18], edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov byte [esi + 0x20], al
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x14], 2
mov dword [esi + 0x10], edx
mov byte [esi + 0x21], 1
mov dword [esi + 8], eax
mov dword [esi + 0x1c], ecx
cmp eax, 0xffffffff
jne 0x4990de
call fcn.004894e0
mov dword [esi + 8], eax
cmp dword [esi + 8], 0xfffffffe
jne 0x4990eb
mov dword [esi + 0x1c], 0xffffffff
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.00497fb0
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.00498050
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18

Function at 0x49a4f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x561c58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push 0x5ebc78
push eax
mov ecx, esi
mov dword [esi], vtable.wxFont.0
call fcn.0049ca70
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c
Function at 0x49d940
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x49d94d
mov byte [edi], 1
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [eax*8 + 0x585b0c], esi
je 0x49d984
inc eax
cmp eax, 0x3c
jb 0x49d953
cmp esi, 0x177
jg 0x49d997
je case.0x49d97d.313
lea eax, [esi - 0x7f]
cmp eax, 0xf0
ja case.0x49d9a2.383
movzx eax, byte [eax + 0x49da40]
jmp dword [eax*4 + 0x49da14]
mov ax, word [eax*8 + 0x585b08]
pop edi
pop esi
ret
pop edi
mov eax, 0x24
pop esi
ret
lea eax, [esi - 0x178]
cmp eax, 9
ja case.0x49d9a2.383
jmp dword [eax*4 + 0x49db34]
pop edi
mov eax, 0x21
pop esi
ret
pop edi
mov eax, 0x22
pop esi
ret
pop edi
mov eax, 0x23
pop esi
ret
pop edi
mov eax, 0x25
pop esi
ret
pop edi
mov eax, 0x26
pop esi
ret
pop edi
mov eax, 0x27
pop esi
ret
pop edi
mov eax, 0x28
pop esi
ret
pop edi
mov eax, 0x2d
pop esi
ret
pop edi
mov eax, 0x2e
pop esi
ret
push esi
call dword [sym.imp.USER32.dll_VkKeyScanW]
cmp al, 0xff
je 0x49da06
movzx cx, al
pop edi
movzx eax, cx
pop esi
ret
test edi, edi
je 0x49da0d
mov byte [edi], 0
pop edi
movzx eax, si
pop esi
ret

Function at 0x49dbc0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
movzx eax, si
sub eax, 1
je 0x49db92
sub eax, 1
jne 0x49dba3
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x49dba3
mov esi, 1
movzx eax, si
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and eax, esi
pop esi
ret
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x49dba3
mov esi, 2
movzx eax, si
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
pop esi
shr eax, 0xf
and eax, 1
ret
push esi
mov esi, dword [esp + 8]
push 0
push esi
call fcn.0049d940
add esp, 8
movzx eax, ax
cmp esi, 0x16c
je 0x49dbf1
cmp esi, 0x137
je 0x49dbf1
cmp esi, 0x16d
je 0x49dbf1
pop esi
jmp 0x49db60
movzx eax, ax
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setne cl
mov al, cl
pop esi
ret
Function at 0x49fa40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5623c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [esp + 0x44], bl
jne 0x49fa85
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret 8
mov ecx, dword [0x5f9648]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
cmp esi, eax
jne 0x49fa6f
mov eax, dword [0x5fc46c]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00465690
mov dword [esp + 0xc], vtable.wxCloseEvent.0
mov byte [esp + 0x31], bl
mov edx, dword [esp + 0x48]
mov ecx, dword [0x5f9648]
shr edx, 0x1f
and dl, 1
mov byte [esp + 0x30], dl
mov dword [esp + 0x14], ecx
mov byte [esp + 0x32], bl
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x40], ebx
call eax
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00461690
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret 8

Function at 0x49fb50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5623c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x44]
cmp eax, 1
je 0x49fb89
cmp eax, 2
je 0x49fb89
xor bl, bl
jmp 0x49fb8b
mov bl, 1
mov ecx, dword [0x5fc480]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00465690
mov dword [esp + 0xc], vtable.wxActivateEvent.0
mov byte [esp + 0x30], bl
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x40], 0
call edx
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00461690
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret 0xc
Function at 0x49fc00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x560270
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0xc8], 8
jne 0x49fc8f
push esi
lea ecx, [esp + 0x38]
call fcn.00495590
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x78], 0
call eax
cmp dword [esi + 0xa0], 0
je 0x49fc67
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push 0x5edb58
mov ecx, esi
call fcn.00461710
movzx ecx, al
neg ecx
sbb ecx, ecx
test esi, ecx
je 0x49fca5
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xffffffff
call fcn.0040b6b3
xor al, al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x6c
ret 4
mov edx, dword [0x5fc3b8]
mov eax, dword [esi + 0x28]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.00465690
mov dword [esp + 0xc], vtable.wxFocusEvent.0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x7c]
push eax
mov byte [esp + 0x78], 1
mov dword [esp + 0x18], esi
call fcn.0049f800
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x34], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
add esp, 4
lea eax, [esp + 0xc]
push eax
call edx
lea ecx, [esp + 0xc]
mov bl, al
mov byte [esp + 0x74], 0
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00461690
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xffffffff
call fcn.0040b6b3
mov al, bl
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x6c
ret 4

Function at 0x49fe60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5623c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x5fc48c]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00465690
mov dl, byte [esp + 0x44]
mov dword [esp + 0xc], vtable.wxShowEvent.0
mov byte [esp + 0x30], dl
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x14], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x40], 0
call eax
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00461690
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret 8
Function at 0x49ff00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5602c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x5fc4f4]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00465690
mov dword [esp + 0xc], vtable.wxInitDialogEvent.0
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x3c], 0
call edx
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00461690
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 4

Function at 0x4a0280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5602c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5fc4c4]
push eax
push 0
lea ecx, [esp + 0x14]
call fcn.00465690
mov dword [esp + 0xc], vtable.wxDisplayChangedEvent.0
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x3c], 0
call edx
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00461690
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x4a07f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x561ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
test byte [edi + 0xc8], 0x10
je 0x4a08ab
mov eax, dword [esp + 0x34]
push eax
call fcn.0049f800
mov esi, eax
add esp, 4
cmp esi, edi
je 0x4a0859
test byte [edi + 0xc8], 0x80
jne 0x4a0859
test esi, esi
je 0x4a08ab
mov edx, dword [esi]
mov eax, dword [edx + 0x154]
mov ecx, esi
call eax
test al, al
je 0x4a08ab
cmp dword [esi + 0x2c], edi
jne 0x4a08ab
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.004aa330
mov ecx, dword [0x5fc5cc]
push 0x64
push eax
mov dword [esp + 0x30], 0
call fcn.0049aca0
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00493df0
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8
Function at 0x4a09d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5623c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x5fc490]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00465690
mov dword [esp + 0xc], vtable.wxIconizeEvent.0
mov byte [esp + 0x30], 1
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x40], 0
call edx
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00461690
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret

Function at 0x4a0a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5602c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x5fc494]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00465690
mov dword [esp + 0xc], vtable.wxMaximizeEvent.0
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x3c], 0
call edx
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00461690
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x4a1170
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x60]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call edx
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov eax, ebx
sub eax, dword [esp + 0x10]
mov ecx, ebp
sub ecx, dword [esp + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x28], ecx
mov ecx, eax
mov edx, eax
shr ecx, 3
shr edx, 2
and cl, 1
and dl, 1
mov byte [esi + 0x2f], cl
mov ecx, eax
mov byte [esi + 0x30], dl
mov dl, al
shr ecx, 4
shr eax, 1
and dl, 1
and cl, 1
and al, 1
push 0x12
mov byte [esi + 0x2c], dl
mov byte [esi + 0x2d], cl
mov byte [esi + 0x2e], al
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl dl
mov byte [esi + 0x31], dl
call dword [sym.imp.USER32.dll_GetMessageTime]
mov dword [esi + 0x10], eax
mov dword [esi + 8], edi
mov eax, dword [edi + 0x28]
mov dword [esi + 0x14], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x1fc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [0x5fc610], eax
mov dword [0x5fc614], ecx
mov eax, dword [esi + 0xc]
pop esi
pop ebp
mov dword [0x5fc618], eax
pop ebx
add esp, 8
ret 0x10
Function at 0x4a1480
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x560418
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
and byte [esi + 0x11c], 0xfe
push 0x10
xor edi, edi
call ebx
test ax, ax
jge 0x4a14c5
mov edi, 4
push 0x11
call ebx
test ax, ax
jge 0x4a14d1
or edi, 8
push 1
call ebx
mov ecx, 0x8000
test cx, ax
je 0x4a14e2
or edi, 1
push 4
call ebx
mov edx, 0x8000
test dx, ax
je 0x4a14f3
or edi, 0x10
push 2
call ebx
mov ecx, 0x8000
test cx, ax
je 0x4a1504
or edi, 2
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x114]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x5fc3a8]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], edx
sub dword [esp + 0x14], eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00495390
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edi
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0x80], 0
call fcn.004a1170
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x28]
push eax
call edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x28], vtable.wxObject.0
call fcn.00461690
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x64
ret
Function at 0x4a2da0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, ecx
push eax
mov ecx, esi
mov dword [esp + 0x10], 0
call fcn.00495480
mov eax, dword [edi + 0x28]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov dword [esi + 0x14], eax
call ebx
test ax, ax
setl cl
push 0x11
mov byte [esi + 0x31], cl
call ebx
test ax, ax
mov eax, dword [esp + 0x34]
setl dl
mov ecx, eax
shr ecx, 0x10
and ecx, 0x2000
cmp ecx, 0x2000
mov ecx, dword [esp + 0x30]
mov byte [esi + 0x30], dl
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x38]
sete dl
mov byte [esi + 0x32], dl
mov dword [esi + 8], edi
mov word [esi + 0x36], cx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetMessageTime]
lea edx, [esp + 0xc]
push edx
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [edi + 0x114]
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x18]
mov dword [esi + 0x24], eax
pop edi
mov dword [esi + 0x28], ecx
mov eax, esi
pop esi
pop ebx
add esp, 0x18
ret 0x14

Function at 0x4a3090
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp byte [esp + 4], 0
je 0x4a30c2
mov dword [0x5fc608], 0x4a1b70
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.00478d10
push eax
mov eax, dword [0x5fc608]
push eax
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x5fc604], eax
ret
mov ecx, dword [0x5fc604]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
ret

Function at 0x4a31d0
Capabilities:
Set global application hook

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x4a1e60
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
test eax, eax
mov dword [0x5fc60c], eax
setne al
ret
Function at 0x4a6df0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x560b40
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xe8]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esi + 0xd8]
lea eax, [esp + 0x10]
push eax
call fcn.004aa330
push 0x64
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call fcn.004b3d70
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x38]
mov ecx, esi
mov byte [esp + 0x30], 1
call eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call fcn.00493df0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00493df0
mov ecx, esi
call fcn.004b09b0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret

Function at 0x4a7ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5623c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x5fc468]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00465690
xor ebx, ebx
mov dword [esp + 0xc], vtable.wxCloseEvent.0
mov byte [esp + 0x30], 1
mov byte [esp + 0x31], bl
cmp byte [esp + 0x44], bl
mov ecx, dword [esi + 0x5c]
sete dl
mov byte [esp + 0x32], dl
mov dword [esp + 0x14], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x40], ebx
call eax
test al, al
je 0x4a7d22
cmp byte [esp + 0x32], bl
je 0x4a7d20
cmp byte [esp + 0x31], bl
jne 0x4a7d22
mov bl, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00461690
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret 4

Function at 0x4a9020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x560d58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ecx, dword [0x5fc49c]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.00465690
mov dword [esp + 4], vtable.wxMouseCaptureLostEvent.0
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0xc], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 4]
push eax
mov dword [esp + 0x34], 0
call edx
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 4], vtable.wxObject.0
call fcn.00461690
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret