joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100119e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x10043a88]
push esi
push edi
test eax, eax
jne 0x10011a11
push 0x10011da0
push 0xfffffffffffffffc
push dword [0x6d0dbb0]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x10043a88], eax
test eax, eax
je 0x10011b64
push dword [0x6d0dbb0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10011a86
cmp dword [0x1b40c08], 6
jne 0x10011a66
mov eax, 0xab2dbe
call eax
mov esi, dword [eax + 0x254]
mov eax, 0xa97c1f
mov ecx, esi
mov edi, dword [esi]
call eax
test al, al
je 0x10011a5f
cmp byte [0x10041662], 0
je 0x10011a5f
mov eax, dword [edi + 0x3c]
mov ecx, esi
mov byte [0x10041662], 0
call eax
jmp 0x10011a66
mov byte [0x10041662], 0
push 5
push dword [0x6d0dbb0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, 0x10043a84
call fcn.10011ba0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x1b40c08], 6
jne 0x10011ac2
mov eax, 0xab2dbe
call eax
mov esi, dword [eax + 0x254]
mov eax, 0xa97c1f
mov ecx, esi
mov edi, dword [esi]
call eax
cmp al, 1
je 0x10011ac2
cmp byte [0x10041662], 1
je 0x10011ac2
mov eax, dword [edi + 0x38]
mov ecx, esi
mov byte [0x10041662], 1
call eax
push 0
push dword [0x6d0dbb0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, 0x10043a84
call fcn.10011ba0
call fcn.10006660
push 8
sub eax, 0
je 0x10011b00
sub eax, 1
je 0x10011af9
sub eax, 1
jne 0x10011b00
call fcn.10006600
jmp 0x10011b05
call fcn.100065a0
jmp 0x10011b05
call fcn.10006540
mov esi, 0x100439e0
test eax, eax
je 0x10011b11
lea esi, [eax + 4]
call fcn.10006660
push 7
sub eax, 0
je 0x10011b35
sub eax, 1
je 0x10011b2e
sub eax, 1
jne 0x10011b35
call fcn.10006600
jmp 0x10011b3a
call fcn.100065a0
jmp 0x10011b3a
call fcn.10006540
test eax, eax
jne 0x10011b55
mov eax, 0x100439e0
mov ecx, 0x10043a84
push esi
push eax
call fcn.10011ce0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
add eax, 4
mov ecx, 0x10043a84
push esi
push eax
call fcn.10011ce0
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10013400
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [0x10041684]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x10013370
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push 0
push 0x32
mov dword [0x10043040], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [0x10043a84], eax
mov dword [0x10043a88], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10013940
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1003e008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10041666], 1
push ebx
mov ebx, dword [0x10041684]
je 0x10013a67
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push ebx
push 0x10013460
push 2
call esi
mov dword [0x10043048], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
push 0x10013850
push 7
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10013bb0
push 0
push 0
mov dword [0x10043044], eax
call esi
push 0
push 0
push 0
push 0x10013b70
push 0
push 0
call esi
mov esi, dword [0x1002c02c]
lea eax, [ebp - 8]
push eax
push 0x40
xorps xmm0, xmm0
mov dword [0x10043070], 0
push 1
push 0x16db7b9
movups xmmword [0x10043050], xmm0
movups xmmword [0x10043060], xmm0
call esi
lea eax, [ebp - 8]
mov byte [0x16db7b9], 0xff
push eax
push dword [ebp - 8]
push 1
push 0x16db7b9
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x121b9b9
call esi
mov eax, 0x121b9b9
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x121b9b9
call esi
push 0x10013de0
push 0x16b5a8e
push 0xe9
call fcn.10014d40
push 0x10013df0
push 0x121b9b9
push 0xe8
call fcn.10014d40
add esp, 0x18
mov byte [0x10041666], 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1001737a
mov esp, ebp
pop ebp
ret
Function at 0x1001f892
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001f711

Function at 0x1004cc80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1004cd8c
test eax, eax
je 0x1004cd8c
push esi
push edi
mov ecx, 0x10
mov esi, 0x10067ff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x1004cd73
lea edi, [eax + 4]
jmp 0x1004ccd7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x1004ccec
mov dword [ebp - 4], 2
jmp 0x1004cd0d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x1004cd03
mov dword [ebp - 4], 1
jmp 0x1004cd0d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x1004cd83
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x1004cd46
mov byte [ecx], 0x3d
jmp 0x1004cd52
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x1004cd5d
mov byte [ecx], 0x3d
jmp 0x1004cd63
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x1004ccd4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00407290
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00407290
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00407290
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00407290
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00407290
mov dword [0x41203c], eax
call fcn.00407290
test eax, eax
jge 0x402550
push 8
call fcn.00407290
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00407290
pop ecx
push 1
call fcn.00407290
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00407290
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00407290
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00407290
jmp 0x402495
Function at 0x4010c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
xor ecx, ecx
test esi, esi
jle 0x4010f4
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov dl, byte [ecx + edi]
xor edx, eax
and edx, 0xff
mov ebx, dword [edx*4 + 0x507740]
shr eax, 8
xor eax, ebx
inc ecx
cmp ecx, esi
jl 0x4010d4
pop edi
pop ebx
not eax
pop esi
ret 8
Function at 0x402240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b8266
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push str.Get__GameData_
push eax
mov ebx, ecx
call fcn.00473f50
add esp, 8
mov eax, dword [ebx + 0x30]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x164], esi
je 0x4022f9
mov ecx, dword [0x5136f0]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00406790
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x168], 1
call fcn.004725c0
mov ecx, dword [ebx + 0x30]
cmp ecx, esi
je 0x4022c0
lea eax, [esp + 0x10]
push eax
call fcn.00474730
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x164], 0
je 0x4022e8
dec ecx
cmp ecx, esi
mov dword [eax], ecx
jne 0x4022e8
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.wxObject.0
call fcn.00474100
xor eax, eax
mov ecx, 0x44
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
push ecx
mov byte [esp + 0x4e], 0xff
mov byte [esp + 0x4f], 1
mov dword [esp + 0x50], 0xffffde4a
mov dword [esp + 0x54], esi
mov word [esp + 0x4c], 0x1a
call fcn.004014d0
movzx edx, word [esp + 0x4c]
push esi
sub edx, 2
push edx
lea eax, [esp + 0x56]
push eax
call fcn.00401f90
movzx esi, word [esp + 0x58]
add esp, 0x10
lea ecx, [esi - 2]
push ecx
lea edx, [esp + 0x4e]
push edx
mov ecx, ebx
call fcn.004010c0
mov dword [esp + esi + 0x48], eax
mov ax, word [esp + 0x48]
add ax, 4
mov word [esp + 0x48], ax
movzx eax, ax
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [ebx + 0x34]
call fcn.00404ef0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x402399
dec ecx
mov dword [eax], ecx
jne 0x402399
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x404ef0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
mov edx, dword [esp + 4]
push 0
jne 0x404f0e
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_send
ret 8
mov ecx, dword [esp + 0xc]
push ecx
push edx
push eax
call sub.WS2_32.dll_send
ret 8

Function at 0x404f20
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
mov edx, dword [esp + 4]
push 0
jne 0x404f3e
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_recv
ret 8
mov ecx, dword [esp + 0xc]
push ecx
push edx
push eax
call sub.WS2_32.dll_recv
ret 8

Function at 0x404f50
Capabilities:
Set socket configuration

Disassembly:
xor eax, eax
push ebx
mov bl, byte [esp + 8]
test bl, bl
sete al
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
cmp bl, byte [esi + 0x29]
je 0x404f88
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
push edx
call sub.WS2_32.dll_ioctlsocket
test eax, eax
jge 0x404f85
pop esi
xor al, al
pop ebx
ret 4
mov byte [esi + 0x29], bl
pop esi
mov al, 1
pop ebx
ret 4

Function at 0x405030
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
mov al, byte [esp + 8]
cmp al, 0x54
push esi
mov esi, ecx
jne 0x405053
push 6
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x405069
xor al, al
pop esi
ret 0xc
cmp al, 0x55
jne 0x405069
push 0x11
push 2
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x4050d8
mov al, byte [esp + 0x10]
test al, al
jne 0x40509a
mov al, byte [esi + 0x29]
test al, al
mov dword [esp + 0xc], 1
je 0x40509a
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push ecx
call sub.WS2_32.dll_ioctlsocket
test eax, eax
jl 0x40509a
mov byte [esi + 0x29], 0
mov edx, dword [esp + 8]
push edi
lea edi, [esi + 8]
push edx
mov word [edi], 2
call sub.WS2_32.dll_htons
mov word [esi + 0xa], ax
mov dword [esi + 0xc], 0
xor eax, eax
lea ecx, [esi + 0x10]
mov dword [ecx], eax
push 0x10
mov dword [ecx + 4], eax
mov edx, dword [esi]
push edi
push edx
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
pop edi
jne 0x4050de
call sub.WS2_32.dll_WSAGetLastError
xor al, al
pop esi
ret 0xc
mov al, 1
pop esi
ret 0xc
Function at 0x408b10
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x4b8970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x34]
push eax
call fcn.00477a20
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword [0x509cd0], ecx
push 0
lea ecx, [esp + 8]
call fcn.00471d40
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x408b87
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00478ae0
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call fcn.00473ba0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.00471eb0
mov eax, dword [esp + 8]
push esi
mov dword [esp + 4], eax
lea eax, [eax*4 + 4]
push edi
push eax
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
mov eax, dword [esp + 0xc]
add esp, 4
xor esi, esi
test eax, eax
jle 0x408bce
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll__strdup]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + esi*4]
push eax
call ebp
add esp, 4
mov dword [edi + esi*4], eax
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
jl 0x408bb4
pop ebp
lea edx, [esp + 8]
push edi
push edx
mov dword [edi + eax*4], 0
call fcn.00477b00
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x34], 0xffffffff
call fcn.00471eb0
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x40a600
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b8b50
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
push edi
mov edi, dword [esp + 0x58]
push edi
mov esi, ecx
call fcn.0047c6e0
add esp, 4
test al, al
je 0x40a6a2
push ebx
push edi
lea ecx, [esp + 0x30]
call fcn.0047b260
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], 0
call fcn.0047c480
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esi]
push eax
push ecx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x60], 1
call dword [edx + 0x38]
lea ecx, [esp + 0xc]
mov bl, al
mov byte [esp + 0x54], 0
call fcn.0047c1f0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
call fcn.0047b2f0
mov al, bl
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 0xc
mov edi, dword [edi]
call fcn.004758f0
test eax, eax
je 0x40a6bd
push 0
push str.Cant_load_image_from_file__s:_file_does_not_exist.
mov ecx, eax
call fcn.00475d60
jmp 0x40a6c2
mov eax, str.Cant_load_image_from_file__s:_file_does_not_exist.
push edi
push eax
call fcn.00476670
mov ecx, dword [esp + 0x50]
add esp, 8
pop edi
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret 0xc
Function at 0x4119c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x11c]
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x158], 0
pop esi
ret

Function at 0x414fe0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b94b8
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x41500c
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0x50afa0
mov ecx, esi
call fcn.00474130
neg al
sbb eax, eax
and eax, esi
mov dword [esp + 4], eax
jne 0x41502d
test byte [esi + 0xcc], 8
je 0x415041
xor al, al
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov ecx, dword [0x5137ac]
mov eax, dword [esi + 0x28]
push ebx
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004744a0
mov dword [esp + 0xc], vtable.wxFocusEvent.0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [0x513b5c]
push eax
push eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x1c], esi
call fcn.00477650
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x30], eax
mov edx, dword [ecx]
lea eax, [esp + 0xc]
push eax
call dword [edx + 0x34]
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00474100
mov ecx, dword [esp + 0x34]
mov al, bl
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 4

Function at 0x415700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b9518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x5138ac]
push esi
push eax
mov esi, ecx
push 0
lea ecx, [esp + 0xc]
call fcn.004744a0
mov dword [esp + 4], vtable.wxSysColourChangedEvent.0
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 4]
mov dword [esp + 0xc], esi
mov edx, dword [ecx]
push eax
mov dword [esp + 0x34], 0
call dword [edx + 0x34]
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 4], vtable.wxObject.0
call fcn.00474100
mov ecx, dword [esp + 0x28]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x4159e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b94b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x38]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [0x513b5c]
mov edi, dword [esi + 0x28]
push eax
push eax
call fcn.00477650
mov ebx, eax
mov eax, dword [0x513888]
push eax
push edi
lea ecx, [esp + 0x14]
call fcn.004744a0
mov dword [esp + 0xc], vtable.wxMouseCaptureChangedEvent.0
mov dword [esp + 0x30], ebx
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0xc]
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
push eax
mov dword [esp + 0x40], 0
call dword [edx + 0x34]
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00474100
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x4163b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b9638
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 [0x513850]
mov eax, dword [esi + 0x28]
push edi
mov edi, dword [esp + 0x58]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004744a0
xor eax, eax
mov dword [esp + 0xc], vtable.wxMoveEvent.0
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 ecx, dword [esi + 0x5c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
push eax
call dword [edx + 0x34]
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.00474100
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 8

Function at 0x416920
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call dword [eax + 0x78]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, ebx
sub edx, esi
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x24], edx
mov eax, ebp
sub eax, ecx
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
mov edx, eax
mov ecx, eax
shr edx, 3
shr ecx, 2
and dl, 1
and cl, 1
mov byte [esi + 0x2f], dl
mov edx, eax
mov byte [esi + 0x30], cl
mov cl, al
shr edx, 4
shr eax, 1
and cl, 1
and dl, 1
and al, 1
push 0x12
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 + 0x28]
mov dword [esi + 0x14], ecx
mov edx, dword [edi]
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 dword [edx + 0x21c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [0x513b6c], eax
mov dword [0x513b70], ecx
mov edx, dword [esi + 0xc]
pop esi
pop ebp
mov dword [0x513b74], edx
pop ebx
add esp, 8
ret 0x10
Function at 0x416c10
Capabilities:
Access peb ldr_data
Get ntdll base address
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b9658
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
mov esi, ecx
mov bl, byte [esi + 0x124]
push edi
and bl, 0xfe
mov byte [esi + 0x124], bl
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call ebx
test ax, ax
jge 0x416c52
mov edi, 4
push 0x11
call ebx
test ax, ax
jge 0x416c5e
or edi, 8
push 1
call ebx
test ah, ah
jns 0x416c69
or edi, 1
push 4
call ebx
test ah, ah
jns 0x416c74
or edi, 0x10
push 2
call ebx
test ah, ah
jns 0x416c7f
or edi, 2
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x11c]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xc]
sub edx, eax
mov eax, dword [0x513798]
sub ebx, ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.00406a60
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push edi
push ecx
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x8c], 0
call fcn.00416920
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
lea eax, [esp + 0x34]
push eax
call dword [edx + 0x34]
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x34], vtable.wxObject.0
call fcn.00474100
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret