joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52ed70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x610db9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x10], 0
call fcn.0052b480
add esp, 4
push 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.00511be0
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x52eddd
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x52eddd
call fcn.0050ec00
mov esi, dword [esp + 0x40]
push 0
push 1
push esi
lea ecx, [esp + 0x1c]
call fcn.0051ec60
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 0
call fcn.00511c60
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

Function at 0x52f9a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x610ed2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x6e377c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x22c]
xor eax, eax
mov dword [esp + 8], eax
mov ecx, dword [0x6db93c]
mov dword [esp + 0xc], esi
mov dword [esi], ecx
push 0x104
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x22c], eax
mov dword [esp + 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0050fe00
push 0x5c
push 1
mov ecx, esi
call fcn.0050fd80
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005bae23
add esp, 0x220
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x6113c9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.wxFileConfig.0
push 0
mov dword [esp + 0x18], 3
call fcn.00530e80
mov ecx, esi
call fcn.00532970
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x532a14
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push 1
call edx
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
mov byte [esp + 0x14], 2
cmp eax, 0xffffffff
je 0x532a33
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x532a33
call fcn.0050ec00
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
mov byte [esp + 0x14], 1
cmp eax, 0xffffffff
je 0x532a52
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x532a52
call fcn.0050ec00
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
mov byte [esp + 0x14], 0
cmp eax, 0xffffffff
je 0x532a71
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x532a71
call fcn.0050ec00
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00525d50
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x533880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6115c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.wxProcess.0
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x5338c5
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x5338d4
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x5338e3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.005159b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x5342e0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x611688
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
push 0
call fcn.005341d0
mov esi, dword [esp + 0x34]
test al, al
je 0x53443c
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
test esi, esi
je 0x53433a
cmp word [esi], 0
je 0x53433a
xor eax, eax
jmp 0x53433f
mov eax, 1
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
xor ecx, ecx
test al, al
setne cl
push 0
lea edx, [esp + 0x20]
push edx
mov edx, dword [ebx]
push 0
dec ecx
and ecx, esi
push ecx
push edx
call ebp
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x53443c
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x534385
mov ecx, dword [esp + 0x38]
push eax
call fcn.00511280
jmp 0x534432
mov edi, dword [esp + 0x38]
push eax
mov ecx, edi
call fcn.0050f7e0
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push 0
mov ecx, esi
call fcn.00533b70
push eax
mov eax, dword [ebx]
push eax
call ebp
mov ecx, edi
mov dword [ebx + 0x10], eax
call fcn.0050fe50
cmp dword [esp + 0x18], 2
jne 0x534432
cmp byte [esp + 0x3c], 0
jne 0x534432
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0
push eax
call esi
mov ebp, eax
test ebp, ebp
setne al
test al, al
je 0x53442e
mov ecx, dword [0x6db93c]
mov dword [esp + 0x3c], ecx
push ebp
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0
call fcn.0050fc40
mov eax, dword [eax + 4]
mov ecx, dword [edi]
push ebp
push eax
push ecx
call esi
mov ecx, dword [esp + 0x1c]
call fcn.0050fe50
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.0050f610
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00401017
mov esi, dword [esp + 0x34]
cmp dword [ebx + 0x10], 0
jne 0x53443c
mov al, 1
jmp 0x534474
call fcn.00519760
test eax, eax
je 0x534459
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.Cant_read_value_of__s
call eax
mov edi, eax
jmp 0x53445e
mov edi, str.Cant_read_value_of__s
push ebx
call fcn.00534010
mov ecx, dword [ebx + 0x10]
push eax
push edi
push ecx
call fcn.00527920
add esp, 0x10
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x5398f0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x611da8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
call fcn.00539760
test al, al
jne 0x539933
or eax, 0xffffffff
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x40
ret
mov eax, dword [esp + 0x50]
push eax
call fcn.00529000
mov ecx, dword [esp + 0x60]
add esp, 4
mov dword [0x6dcfa8], ecx
push 0
lea ecx, [esp + 0x14]
call fcn.0050ee50
mov dword [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x539992
push eax
lea edx, [esp + 0x24]
push edx
call fcn.005121c0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 1
call fcn.00510ef0
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call fcn.0050fb00
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005b3e2c
mov edi, eax
mov eax, dword [esp + 0x10]
add esp, 4
xor esi, esi
test eax, eax
jle 0x5399dc
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
push eax
call fcn.005be05c
mov dword [edi + esi*4], eax
mov eax, dword [esp + 0x10]
inc esi
add esp, 4
cmp esi, eax
jl 0x5399c0
mov dword [edi + eax*4], 0
mov ecx, dword [esp + 0xc]
push edi
push ecx
lea edx, [esp + 0x38]
push 0x5397e0
push edx
call fcn.005398c0
lea eax, [esp + 0x1c]
push edi
push eax
mov byte [esp + 0x60], 2
call fcn.005290f0
lea ecx, [esp + 0x48]
push ecx
mov esi, eax
mov byte [esp + 0x64], 0
call fcn.00539810
add esp, 0x1c
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.0050fb00
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x40
ret
Function at 0x53a380
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x611e70
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x6dd038]
cmp eax, 0xffffffff
jne 0x53a54e
mov al, byte [0x6dc094]
xor ebx, ebx
mov dword [0x6dd038], ebx
mov byte [esp + 0xe], al
mov byte [0x6dc094], bl
mov byte [esp + 0xf], al
mov eax, dword [0x63dcd0]
push eax
push ebx
push str.comctl32.dll
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], ebx
call fcn.0050fcd0
push 0x68
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
mov dword [esp + 0x18], ebx
call fcn.0052d3d0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x53a420
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x53a420
call fcn.0050ec00
cmp dword [esp + 0x10], ebx
jne 0x53a433
mov dword [0x6dd038], ebx
xor eax, eax
jmp 0x53a544
mov eax, dword [0x63dcd0]
push eax
push ebx
push str.DllGetVersion
lea ecx, [esp + 0x24]
call fcn.0050fcd0
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.0052d370
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff4
mov esi, eax
mov eax, dword [ecx]
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x53a47d
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x53a47d
call fcn.0050ec00
cmp esi, ebx
je 0x53a4a6
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x14
call esi
cmp eax, ebx
jl 0x53a4a6
mov eax, dword [esp + 0x20]
imul eax, eax, 0x64
add eax, dword [esp + 0x24]
mov dword [0x6dd038], eax
jmp 0x53a4ab
mov eax, dword [0x6dd038]
cmp eax, ebx
jne 0x53a544
push str.InitCommonControlsEx
lea ecx, [esp + 0x1c]
call fcn.004030fb
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 5
call fcn.0052d370
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff4
mov esi, eax
mov eax, dword [ecx]
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x53a4f6
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x53a4f6
call fcn.0050ec00
cmp esi, ebx
jne 0x53a501
mov eax, 0x190
jmp 0x53a53f
push str.InitializeFlatSB
lea ecx, [esp + 0x1c]
call fcn.004030fb
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 6
call fcn.0052d370
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x38], 3
call fcn.00401017
xor eax, eax
cmp esi, ebx
setne al
add eax, 0x1d6
mov dword [0x6dd038], eax
mov dl, byte [esp + 0xe]
mov byte [0x6dc094], dl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x53aee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6120a5
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x1d4]
mov eax, dword [0x6db93c]
mov dword [esi], eax
mov ecx, dword [esp + 0x1e8]
mov edx, dword [esp + 0x1ec]
xor eax, eax
cmp byte [esp + 0x1f0], al
mov dword [esp + 0x10], ecx
setne al
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1e4]
mov dword [esp + 0x1d0], 0
add eax, 0x14
push eax
mov eax, dword [esp + 0x1e4]
push edx
mov edx, dword [esp + 0x1f0]
push eax
push ecx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 1
call fcn.00573fa0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1cc], 1
call fcn.0056cdc0
cmp eax, 0x13ec
jne 0x53afe3
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
call fcn.005a6260
push eax
mov ecx, esi
mov byte [esp + 0x1d0], 2
call fcn.0050f610
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x1cc], 1
cmp eax, 0xffffffff
je 0x53afe3
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x53afe3
call fcn.0050ec00
lea ecx, [esp + 0x18]
mov byte [esp + 0x1cc], 0
call fcn.0053a9a0
mov eax, esi
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c8
ret
Function at 0x53ea50
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6124b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
push pe_nt_image_headers32
call fcn.0052b6b0
push 4
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call fcn.005b7456
add esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0
call fcn.0053e920
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.0053c290
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0x5973b0
push ecx
push edx
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.0052b6e0
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x24], 0
call fcn.005b5a6b
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 0x5444b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6128e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6e377c]
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 0x54450b
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.00401017
push ecx
push 4
push eax
call fcn.005b4d63
push edi
call fcn.005b4dc6
add esp, 4
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
mov dword [esi], vtable.wxObject.0
call fcn.00511800
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x612b1e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6e377c]
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 [0x6db93c]
mov dword [esp + 0x14], eax
mov dword [esi + 0x14], ecx
mov edx, dword [0x6db93c]
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 0x54937e
call fcn.0053a750
mov dword [esi + 8], eax
cmp dword [esi + 8], 0xfffffffe
jne 0x54938b
mov dword [esi + 0x1c], 0xffffffff
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.00548250
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.005482f0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18

Function at 0x54a7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x612e98
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6e377c]
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 0x6ddd74
push eax
mov ecx, esi
mov dword [esi], vtable.wxFont.0
call fcn.0054cd30
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c
Function at 0x54dc10
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x54dc1d
mov byte [edi], 1
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [eax*8 + 0x64d4bc], esi
je 0x54dc54
inc eax
cmp eax, 0x3c
jb 0x54dc23
cmp esi, 0x177
jg 0x54dc67
je case.0x54dc4d.313
lea eax, [esi - 0x7f]
cmp eax, 0xf0
ja case.0x54dc72.383
movzx eax, byte [eax + 0x54dd10]
jmp dword [eax*4 + 0x54dce4]
mov ax, word [eax*8 + 0x64d4b8]
pop edi
pop esi
ret
pop edi
mov eax, 0x24
pop esi
ret
lea eax, [esi - 0x178]
cmp eax, 9
ja case.0x54dc72.383
jmp dword [eax*4 + 0x54de04]
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 0x54dcd6
movzx cx, al
pop edi
movzx eax, cx
pop esi
ret
test edi, edi
je 0x54dcdd
mov byte [edi], 0
pop edi
movzx eax, si
pop esi
ret

Function at 0x54de90
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
movzx eax, si
sub eax, 1
je 0x54de62
sub eax, 1
jne 0x54de73
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x54de73
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 0x54de73
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.0054dc10
add esp, 8
movzx eax, ax
cmp esi, 0x16c
je 0x54dec1
cmp esi, 0x137
je 0x54dec1
cmp esi, 0x16d
je 0x54dec1
pop esi
jmp 0x54de30
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 0x54fd10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61b378
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x6e377c]
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 0x54fd55
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 [0x6f2e50]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
cmp esi, eax
jne 0x54fd3f
mov eax, dword [0x6f5c74]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00515850
mov dword [esp + 0xc], vtable.wxCloseEvent.0
mov byte [esp + 0x31], bl
mov edx, dword [esp + 0x48]
mov ecx, dword [0x6f2e50]
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.00511800
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 0x54fe20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61b378
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x6e377c]
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 0x54fe59
cmp eax, 2
je 0x54fe59
xor bl, bl
jmp 0x54fe5b
mov bl, 1
mov ecx, dword [0x6f5c88]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00515850
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.00511800
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 0x54fed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x613480
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0xc8], 8
jne 0x54ff5f
push esi
lea ecx, [esp + 0x38]
call fcn.00545820
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 0x54ff37
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push 0x6dfc50
mov ecx, esi
call fcn.00511880
movzx ecx, al
neg ecx
sbb ecx, ecx
test esi, ecx
je 0x54ff75
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xffffffff
call fcn.0040b35b
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 [0x6f5bc0]
mov eax, dword [esi + 0x28]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.00515850
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.0054fad0
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.00511800
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xffffffff
call fcn.0040b35b
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 0x550130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61b378
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x6f5c94]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00515850
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.00511800
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret 8