joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41746d
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476bfb
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push ebp
push esi
mov esi, ecx
xor bl, bl
push edi
cmp dword [esi], 0xffffffff
jne 0x417583
lea ebp, [esi + 4]
lea ecx, [esp + 0x10]
push ebp
call fcn.00406790
mov eax, dword [esp + 0x10]
mov dword [esp + 0x15c], 0
push eax
call fcn.0040b7d0
add esp, 4
test al, al
jne 0x4174b2
push 0x5c
push 1
lea ecx, [esp + 0x18]
call fcn.00403ff0
mov edx, dword [esi + 8]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4174cf
mov edx, 0x49f934
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4174e3
test edx, edx
je 0x4174e1
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4174e3
xor ecx, ecx
push ecx
push edx
push ecx
lea ecx, [esp + 0x1c]
call fcn.004048f0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi], eax
mov eax, dword [esp + 0x10]
mov bl, 1
mov dword [esp + 0x15c], 0xffffffff
lea ecx, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 0xffffffff
je 0x417529
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x417529
call fcn.00403dc0
cmp dword [esi], 0xffffffff
jne 0x417583
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 2
je 0x41757c
cmp edi, 0x12
je 0x41757c
mov esi, dword [ebp]
call fcn.00406900
test eax, eax
je 0x41756c
mov edx, dword [eax]
push 0
push str.Can_not_enumerate_files_in_directory__s
mov ecx, eax
call dword [edx + 8]
push esi
push eax
push edi
call fcn.00442240
add esp, 0xc
xor al, al
jmp 0x417615
mov eax, str.Can_not_enumerate_files_in_directory__s
push esi
push eax
push edi
call fcn.00442240
add esp, 0xc
xor al, al
jmp 0x417615
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test bl, bl
je 0x417591
xor bl, bl
jmp 0x4175a3
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
call ebp
test eax, eax
je 0x417630
lea edx, [esp + 0x14]
push edx
call fcn.00417640
mov edi, eax
lea eax, [esp + 0x18]
push eax
call fcn.00417650
mov cl, byte [edi]
add esp, 8
cmp cl, 0x2e
jne 0x4175dc
mov cl, byte [edi + 1]
cmp cl, 0x2e
jne 0x4175d2
mov dl, byte [edi + 2]
test dl, dl
je 0x4175d6
test cl, cl
jne 0x4175dc
test byte [esi + 0xc], 8
je 0x417589
mov ecx, dword [esi + 0xc]
test cl, 1
jne 0x4175ee
mov edx, eax
shr edx, 4
test dl, 1
je 0x417589
test cl, 2
jne 0x4175fd
mov edx, eax
shr edx, 4
test dl, 1
jne 0x417589
test cl, 4
jne 0x417606
test al, 6
jne 0x417589
mov ecx, dword [esp + 0x164]
push edi
call fcn.00404840
mov al, 1
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x417615
call fcn.004176d0
test al, al
je 0x41776c
mov eax, dword [esp + 4]
test eax, eax
je 0x41776c
mov ecx, dword [ecx]
mov dword [esp + 4], eax
jmp 0x417450
xor al, al
ret 4
Function at 0x417750
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476bfb
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push ebp
push esi
mov esi, ecx
xor bl, bl
push edi
cmp dword [esi], 0xffffffff
jne 0x417583
lea ebp, [esi + 4]
lea ecx, [esp + 0x10]
push ebp
call fcn.00406790
mov eax, dword [esp + 0x10]
mov dword [esp + 0x15c], 0
push eax
call fcn.0040b7d0
add esp, 4
test al, al
jne 0x4174b2
push 0x5c
push 1
lea ecx, [esp + 0x18]
call fcn.00403ff0
mov edx, dword [esi + 8]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4174cf
mov edx, 0x49f934
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4174e3
test edx, edx
je 0x4174e1
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4174e3
xor ecx, ecx
push ecx
push edx
push ecx
lea ecx, [esp + 0x1c]
call fcn.004048f0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi], eax
mov eax, dword [esp + 0x10]
mov bl, 1
mov dword [esp + 0x15c], 0xffffffff
lea ecx, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 0xffffffff
je 0x417529
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x417529
call fcn.00403dc0
cmp dword [esi], 0xffffffff
jne 0x417583
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 2
je 0x41757c
cmp edi, 0x12
je 0x41757c
mov esi, dword [ebp]
call fcn.00406900
test eax, eax
je 0x41756c
mov edx, dword [eax]
push 0
push str.Can_not_enumerate_files_in_directory__s
mov ecx, eax
call dword [edx + 8]
push esi
push eax
push edi
call fcn.00442240
add esp, 0xc
xor al, al
jmp 0x417615
mov eax, str.Can_not_enumerate_files_in_directory__s
push esi
push eax
push edi
call fcn.00442240
add esp, 0xc
xor al, al
jmp 0x417615
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test bl, bl
je 0x417591
xor bl, bl
jmp 0x4175a3
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
call ebp
test eax, eax
je 0x417630
lea edx, [esp + 0x14]
push edx
call fcn.00417640
mov edi, eax
lea eax, [esp + 0x18]
push eax
call fcn.00417650
mov cl, byte [edi]
add esp, 8
cmp cl, 0x2e
jne 0x4175dc
mov cl, byte [edi + 1]
cmp cl, 0x2e
jne 0x4175d2
mov dl, byte [edi + 2]
test dl, dl
je 0x4175d6
test cl, cl
jne 0x4175dc
test byte [esi + 0xc], 8
je 0x417589
mov ecx, dword [esi + 0xc]
test cl, 1
jne 0x4175ee
mov edx, eax
shr edx, 4
test dl, 1
je 0x417589
test cl, 2
jne 0x4175fd
mov edx, eax
shr edx, 4
test dl, 1
jne 0x417589
test cl, 4
jne 0x417606
test al, 6
jne 0x417589
mov ecx, dword [esp + 0x164]
push edi
call fcn.00404840
mov al, 1
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x417615
call fcn.004176d0
test al, al
je 0x41776c
mov eax, dword [esp + 4]
test eax, eax
je 0x41776c
mov ecx, dword [ecx]
mov dword [esp + 4], eax
jmp 0x417450
xor al, al
ret 4
Function at 0x41a800
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4770c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov dword [esp + 4], 0
mov eax, dword [0x49cadc]
push esi
mov dword [esp + 4], eax
lea ecx, [esp + 0xc]
push 0x104
push ecx
mov dword [esp + 0x120], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0xc]
lea ecx, [esp + 4]
push edx
call fcn.00404840
push 0x5c
push 1
lea ecx, [esp + 0xc]
call fcn.00403ff0
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x120]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41a87f
mov ecx, dword [0x49cadc]
mov dword [esi], ecx
jmp 0x41a891
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x41a891
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 4]
mov dword [esp + 8], 1
lea ecx, [eax - 0xc]
mov byte [esp + 0x118], 0
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x41a8b7
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x41a8b7
call fcn.00403dc0
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret

Function at 0x41c8a0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
call fcn.0041b1d0
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41c90b
push eax
call fcn.00415750
add esp, 4
test al, al
je 0x41c90b
mov eax, dword [esi + 0x1c]
push eax
call sub.MSVCRT.dll_remove
add esp, 4
cmp eax, 0xffffffff
jne 0x41c90b
mov esi, dword [esi + 0x1c]
call fcn.00406900
test eax, eax
je 0x41c8f8
mov edx, dword [eax]
push 0
push str.cant_delete_user_configuration_file__s
mov ecx, eax
call dword [edx + 8]
push esi
push eax
call fcn.00442240
add esp, 8
xor al, al
pop esi
ret
mov eax, str.cant_delete_user_configuration_file__s
push esi
push eax
call fcn.00442240
add esp, 8
xor al, al
pop esi
ret
mov ecx, esi
call fcn.0041ab80
mov al, 1
pop esi
ret

Function at 0x41faa0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x477818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.wxBufferedInputStream.0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
push 1
mov dword [esp + 0x1c], 0
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov edx, dword [ecx]
sub edi, ebx
xor eax, eax
neg edi
adc eax, eax
neg eax
push eax
push edi
call dword [edx + 0x30]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41faf9
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0041f7a0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x422d80
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x477ce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [esp + 0x40]
push eax
call fcn.0041ead0
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [0x4a0434], ecx
lea ecx, [esp + 0x10]
push 0
call fcn.00405e00
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x422df7
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00470030
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.00405e40
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00406000
mov eax, dword [esp + 0x14]
push esi
mov dword [esp + 0x44], eax
push edi
lea eax, [eax*4 + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
mov eax, dword [esp + 0x4c]
add esp, 4
xor esi, esi
test eax, eax
jle 0x422e39
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + esi*4]
push eax
call fcn.0046fe90
add esp, 4
mov dword [edi + esi*4], eax
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x422e1d
mov dword [edi + eax*4], 0
mov edx, dword [esp + 0x48]
push edi
push edx
lea eax, [esp + 0x10]
push 0x422eb0
push eax
call fcn.00422f00
lea ecx, [esp + 0x58]
push edi
push ecx
mov byte [esp + 0x58], 2
call fcn.0041eab0
add esp, 0x18
mov esi, eax
mov al, byte [esp + 8]
mov byte [esp + 0x40], 3
test al, al
jne 0x422e88
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [esp + 0x14]
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
call fcn.00406000
mov ecx, dword [esp + 0x38]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x424739
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x4ae380]
push ecx
lea ecx, [esp + 0xc]
mov eax, dword [esi + 0x24]
push eax
call fcn.00402b30
mov dl, byte [esp + 0x40]
mov dword [esp + 8], vtable.wxIconizeEvent.0
mov byte [esp + 0x2c], dl
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x10], esi
lea edx, [esp + 8]
mov dword [esp + 0x38], 0
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 8], vtable.wxObject.0
call fcn.00403c40
mov ecx, dword [esp + 0x30]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x429d59
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x4ae384]
push ecx
lea ecx, [esp + 0xc]
mov eax, dword [esi + 0x24]
push eax
call fcn.00402b30
mov dl, byte [esp + 0x40]
mov dword [esp + 8], vtable.wxShowEvent.0
mov byte [esp + 0x2c], dl
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x10], esi
lea edx, [esp + 8]
mov dword [esp + 0x38], 0
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 8], vtable.wxObject.0
call fcn.00403c40
mov ecx, dword [esp + 0x30]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8

Function at 0x42a39d
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4784f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x4ae350]
push esi
mov esi, ecx
push eax
push 0
lea ecx, [esp + 0xc]
call fcn.00402b30
mov dword [esp + 4], vtable.wxSysColourChangedEvent.0
mov ecx, dword [esi + 0x58]
mov dword [esp + 0xc], esi
lea eax, [esp + 4]
mov dword [esp + 0x30], 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 4], vtable.wxObject.0
call fcn.00403c40
mov ecx, dword [esp + 0x28]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x42a529
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x4ae340]
push ecx
lea ecx, [esp + 0xc]
mov eax, dword [esi + 0x24]
push eax
call fcn.00402b30
xor eax, eax
mov dword [esp + 8], vtable.wxPaletteChangedEvent.0
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
push edx
mov dword [esp + 0x14], esi
call fcn.00429540
mov ecx, dword [esi + 0x58]
add esp, 4
mov dword [esp + 0x2c], eax
lea edx, [esp + 8]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 8], vtable.wxObject.0
call fcn.00403c40
mov ecx, dword [esp + 0x30]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4

Function at 0x42acb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x4ae380]
push ecx
lea ecx, [esp + 0xc]
mov eax, dword [esi + 0x24]
push eax
call fcn.00402b30
mov dword [esp + 8], vtable.wxIconizeEvent.0
mov byte [esp + 0x2c], 1
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x10], esi
lea eax, [esp + 8]
mov dword [esp + 0x38], 0
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 8], vtable.wxObject.0
call fcn.00403c40
mov ecx, dword [esp + 0x30]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x42addd
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x54]
push esi
mov esi, ecx
mov ecx, dword [0x4ae3b0]
push edi
mov eax, dword [esi + 0x24]
mov edi, dword [esp + 0x58]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00402b30
xor eax, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], vtable.wxMoveEvent.0
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], esi
lea eax, [esp + 0xc]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00403c40
mov ecx, dword [esp + 0x48]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 8

Function at 0x42b3c0
Capabilities:
Log keystrokes via polling

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x478758
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
push edi
push 0x10
xor edi, edi
mov bl, byte [esi + 0xf0]
and bl, 0xfe
mov byte [esi + 0xf0], bl
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
call ebx
test ax, ax
jge 0x42b882
mov edi, 4
push 0x11
call ebx
test ax, ax
jge 0x42b88e
or edi, 8
push 1
call ebx
test ah, ah
jns 0x42b899
or edi, 1
push 4
call ebx
test ah, ah
jns 0x42b8a4
or edi, 0x10
push 2
call ebx
test ah, ah
jns 0x42b8af
or edi, 2
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0xe8]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x4ae464]
sub eax, edx
push ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
sub ebx, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], ebx
call fcn.0043d1b0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edi
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x7c], 0
call fcn.0042b3c0
mov ecx, dword [esi + 0x58]
lea eax, [esp + 0x24]
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x24], vtable.wxObject.0
call fcn.00403c40
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret

Function at 0x42c820
Capabilities:
Log keystrokes via application hook

Disassembly:
mov al, byte [esp + 4]
test al, al
je 0x42c844
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x42c6c0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4adf10], eax
ret
mov eax, dword [0x4adf10]
test eax, eax
je 0x42c854
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
ret
Function at 0x42db80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x478ce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x14], esi
mov dword [esi], vtable.wxObject.0
mov dword [esi + 4], edi
mov dword [esp + 0x24], edi
call fcn.00443520
mov cl, byte [esi + 8]
mov ebx, 1
and cl, 0xe2
and al, bl
xor cl, al
mov eax, 0x3ff00000
or cl, 2
mov dword [esi + 0xc], edi
mov byte [esi + 8], cl
lea ecx, [esi + 0x84]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], 5
mov dword [esi + 0x7c], 0x6a
mov dword [esi + 0x80], ebx
call fcn.004502e0
lea ecx, [esi + 0x8c]
mov byte [esp + 0x24], bl
call fcn.0044fc50
push 8
mov byte [esp + 0x28], 2
call fcn.00432510
add esp, 4
lea ebx, [esi + 0x94]
mov ecx, ebx
push eax
call fcn.004260d0
mov dword [ebx], vtable.wxBrush.0
push 0xa
mov byte [esp + 0x28], 3
call fcn.004327f0
add esp, 4
mov ebp, eax
lea ebx, [esi + 0x9c]
push ebp
mov ecx, ebx
call fcn.004260d0
mov dword [ebx], vtable.wxColourBase.0
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov cl, byte [ebp + 0xc]
mov byte [ebx + 0xc], cl
mov dl, byte [ebp + 0xd]
mov byte [ebx + 0xd], dl
mov al, byte [ebp + 0xe]
mov byte [ebx + 0xe], al
mov cl, byte [ebp + 0xf]
mov byte [ebx + 0xf], cl
mov dl, byte [ebp + 0x10]
mov byte [ebx + 0x10], dl
mov dword [ebx], vtable.wxColour.0
push 0x10
mov byte [esp + 0x28], 4
call fcn.004327f0
add esp, 4
mov ebp, eax
lea ebx, [esi + 0xb0]
push ebp
mov ecx, ebx
call fcn.004260f0
mov dword [ebx], vtable.wxColourBase.0
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov cl, byte [ebp + 0xc]
mov byte [ebx + 0xc], cl
mov dl, byte [ebp + 0xd]
mov byte [ebx + 0xd], dl
mov al, byte [ebp + 0xe]
mov byte [ebx + 0xe], al
mov cl, byte [ebp + 0xf]
mov byte [ebx + 0xf], cl
mov dl, byte [ebp + 0x10]
mov byte [ebx + 0x10], dl
mov dword [ebx], vtable.wxColour.0
lea ebx, [esi + 0xc4]
mov ecx, ebx
call fcn.0040246f
mov ecx, dword [esp + 0x1c]
mov dword [ebx], vtable.wxFont.0
mov al, byte [esi + 8]
mov dword [esi + 0x64], edi
and al, 0xeb
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x58], edi
mov byte [esi + 8], al
mov dword [esi + 0x74], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x68], edi
mov dword [esi], vtable.wxDCBase.0
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fc90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479022
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 8], 0
call fcn.004315f0
mov dword [esp + 0x28], vtable.wxFont.0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], 1
mov dword [esp + 0xc], eax
call fcn.004312e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 2
mov dword [esp + 0x30], vtable.wxColour.0
call fcn.0043dec0
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 3
call fcn.004312f0
lea ecx, [esp + 0xc]
mov ebx, 4
push 0x11
push ecx
mov dword [esp + 0x68], ebx
call fcn.00423330
add esp, 8
lea edx, [esp + 0x28]
mov byte [esp + 0x60], 5
cmp edx, eax
je 0x42fd2f
push eax
lea ecx, [esp + 0x2c]
call fcn.00403c10
lea ecx, [esp + 0xc]
mov byte [esp + 0x60], bl
call fcn.0043f040
lea eax, [esp + 0x14]
push 8
push eax
call fcn.00423130
add esp, 8
mov esi, eax
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 6
call fcn.004312c0
mov ecx, dword [esi + 8]
mov byte [esp + 0x60], bl
mov dword [esp + 0x38], ecx
mov dl, byte [esi + 0xc]
mov byte [esp + 0x3c], dl
mov al, byte [esi + 0xd]
mov byte [esp + 0x3d], al
mov cl, byte [esi + 0xe]
mov byte [esp + 0x3e], cl
mov dl, byte [esi + 0xf]
mov byte [esp + 0x3f], dl
mov al, byte [esi + 0x10]
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], al
call fcn.00433fb0
lea ecx, [esp + 0x14]
push 0xf
push ecx
call fcn.00423130
add esp, 8
mov esi, eax
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 7
call fcn.004312c0
mov edx, dword [esi + 8]
mov byte [esp + 0x60], bl
mov dword [esp + 0x4c], edx
mov al, byte [esi + 0xc]
mov byte [esp + 0x50], al
mov cl, byte [esi + 0xd]
mov byte [esp + 0x51], cl
mov dl, byte [esi + 0xe]
mov byte [esp + 0x52], dl
mov al, byte [esi + 0xf]
mov byte [esp + 0x53], al
mov cl, byte [esi + 0x10]
mov byte [esp + 0x54], cl
lea ecx, [esp + 0x14]
call fcn.00433fb0
mov esi, dword [esp + 0x68]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.00431710
lea eax, [esp + 0x30]
lea ecx, [esi + 8]
push eax
mov byte [esp + 0x64], 8
call fcn.00402490
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 9
push ecx
lea ecx, [esi + 0x1c]
call fcn.00402490
mov dword [esp + 8], 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], 0xb
call fcn.00433fb0
mov byte [esp + 0x60], 0xa
lea ecx, [esp + 0x30]
call fcn.00433fb0
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0
call fcn.0043f040
mov ecx, dword [esp + 0x58]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret