joyce8/EMBER2024-capa huggingface dataset:
Function at 0x503b20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c85e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x67ff88]
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 0x503b7b
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.00401017
push ecx
push 4
push eax
call fcn.00573fda
push edi
call fcn.0057403d
add esp, 4
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
mov dword [esi], vtable.wxObject.0
call fcn.004d0e90
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5c896e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67ff88]
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 [section..data]
mov dword [esp + 0x14], eax
mov dword [esi + 0x14], ecx
mov edx, dword [section..data]
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 0x508a2e
call fcn.004f9db0
mov dword [esi + 8], eax
cmp dword [esi + 8], 0xfffffffe
jne 0x508a3b
mov dword [esi + 0x1c], 0xffffffff
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.00507900
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.005079a0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18

Function at 0x509e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c8b98
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67ff88]
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 0x67a43c
push eax
mov ecx, esi
mov dword [esi], vtable.wxFont.0
call fcn.0050c450
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c
Function at 0x50d320
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x50d32d
mov byte [edi], 1
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [eax*8 + 0x6001fc], esi
je 0x50d364
inc eax
cmp eax, 0x3c
jb 0x50d333
cmp esi, 0x177
jg 0x50d377
je case.0x50d35d.313
lea eax, [esi - 0x7f]
cmp eax, 0xf0
ja case.0x50d382.383
movzx eax, byte [eax + 0x50d420]
jmp dword [eax*4 + 0x50d3f4]
mov ax, word [eax*8 + 0x6001f8]
pop edi
pop esi
ret
pop edi
mov eax, 0x24
pop esi
ret
lea eax, [esi - 0x178]
cmp eax, 9
ja case.0x50d382.383
jmp dword [eax*4 + 0x50d514]
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 0x50d3e6
movzx cx, al
pop edi
movzx eax, cx
pop esi
ret
test edi, edi
je 0x50d3ed
mov byte [edi], 0
pop edi
movzx eax, si
pop esi
ret

Function at 0x50d5a0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
movzx eax, si
sub eax, 1
je 0x50d572
sub eax, 1
jne 0x50d583
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x50d583
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 0x50d583
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.0050d320
add esp, 8
movzx eax, ax
cmp esi, 0x16c
je 0x50d5d1
cmp esi, 0x137
je 0x50d5d1
cmp esi, 0x16d
je 0x50d5d1
pop esi
jmp 0x50d540
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 0x50f420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c9108
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x67ff88]
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 0x50f465
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 [0x68cc7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
cmp esi, eax
jne 0x50f44f
mov eax, dword [0x68fa9c]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004d4f70
mov dword [esp + 0xc], vtable.wxCloseEvent.0
mov byte [esp + 0x31], bl
mov edx, dword [esp + 0x48]
mov ecx, dword [0x68cc7c]
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.004d0e90
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 0x50f530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c9108
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x67ff88]
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 0x50f569
cmp eax, 2
je 0x50f569
xor bl, bl
jmp 0x50f56b
mov bl, 1
mov ecx, dword [0x68fab0]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004d4f70
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.004d0e90
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 0x50f5e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c9140
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0xc8], 8
jne 0x50f66f
push esi
lea ecx, [esp + 0x38]
call fcn.00504ea0
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 0x50f647
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push 0x67c318
mov ecx, esi
call fcn.004d0f20
movzx ecx, al
neg ecx
sbb ecx, ecx
test esi, ecx
je 0x50f685
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xffffffff
call fcn.0040b415
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 [0x68f9e8]
mov eax, dword [esi + 0x28]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.004d4f70
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.0050f1e0
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.004d0e90
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xffffffff
call fcn.0040b415
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 0x50f870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c9108
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x68fabc]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004d4f70
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.004d0e90
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 0x50f910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c91c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x68fb24]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004d4f70
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.004d0e90
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 0x50fc90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c91c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x68faf4]
push eax
push 0
lea ecx, [esp + 0x14]
call fcn.004d4f70
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.004d0e90
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 0x510200
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5c9258
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
test byte [edi + 0xc8], 0x10
je 0x5102bb
mov eax, dword [esp + 0x34]
push eax
call fcn.0050f1e0
mov esi, eax
add esp, 4
cmp esi, edi
je 0x510269
test byte [edi + 0xc8], 0x80
jne 0x510269
test esi, esi
je 0x5102bb
mov edx, dword [esi]
mov eax, dword [edx + 0x154]
mov ecx, esi
call eax
test al, al
je 0x5102bb
cmp dword [esi + 0x2c], edi
jne 0x5102bb
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.00519d40
mov ecx, dword [0x68fbfc]
push 0x64
push eax
mov dword [esp + 0x30], 0
call fcn.0050a5d0
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00525080
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 0x5103e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c9108
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x68fac0]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004d4f70
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.004d0e90
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 0x510480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c91c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x68fac4]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004d4f70
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.004d0e90
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 0x510b80
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 [0x68fc40], eax
mov dword [0x68fc44], ecx
mov eax, dword [esi + 0xc]
pop esi
pop ebp
mov dword [0x68fc48], eax
pop ebx
add esp, 8
ret 0x10
Function at 0x510e90
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5c9348
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x67ff88]
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 0x510ed5
mov edi, 4
push 0x11
call ebx
test ax, ax
jge 0x510ee1
or edi, 8
push 1
call ebx
mov ecx, 0x8000
test cx, ax
je 0x510ef2
or edi, 1
push 4
call ebx
mov edx, 0x8000
test dx, ax
je 0x510f03
or edi, 0x10
push 2
call ebx
mov ecx, 0x8000
test cx, ax
je 0x510f14
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 [0x68f9d8]
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.00504ca0
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.00510b80
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.004d0e90
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x64
ret
Function at 0x5127b0
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.00504d90
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 0x512aa0
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp byte [esp + 4], 0
je 0x512ad2
mov dword [0x68fc38], 0x511580
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.004e85e0
push eax
mov eax, dword [0x68fc38]
push eax
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x68fc34], eax
ret
mov ecx, dword [0x68fc34]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
ret

Function at 0x512be0
Capabilities:
Set global application hook

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

Disassembly:
push 0xffffffffffffffff
push 0x5c9aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x67ff88]
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.00519d40
push 0x64
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call fcn.00523730
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.00525080
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00525080
mov ecx, esi
call fcn.00520370
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret

Function at 0x517630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c9108
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x68fa98]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004d4f70
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 0x5176b2
cmp byte [esp + 0x32], bl
je 0x5176b0
cmp byte [esp + 0x31], bl
jne 0x5176b2
mov bl, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.004d0e90
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 0x518a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c9cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ecx, dword [0x68facc]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.004d4f70
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.004d0e90
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret