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

Disassembly:
push 0xffffffffffffffff
push 0x614108
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
push pe_nt_image_headers32
call fcn.0051c9c0
push 4
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call fcn.005a896d
add esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0
call fcn.005346c0
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.005320f0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push fcn.00530060
push ecx
push edx
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.0051c9f0
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x24], 0
call fcn.005a6b81
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 0x535fc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6142d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ea244]
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 0x53601b
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.00401017
push ecx
push 4
push eax
call fcn.005a6096
push edi
call fcn.005a60f9
add esp, 4
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
mov dword [esi], vtable.wxObject.0
call fcn.005026b0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x61462e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6ea244]
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 [0x6e2428]
mov dword [esp + 0x14], eax
mov dword [esi + 0x14], ecx
mov edx, dword [0x6e2428]
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 0x53adfe
call fcn.0052f4a0
mov dword [esi + 8], eax
cmp dword [esi + 8], 0xfffffffe
jne 0x53ae0b
mov dword [esi + 0x1c], 0xffffffff
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.00539cd0
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.00539d70
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18
Function at 0x53f4a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615218
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x6fcca0]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00504240
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 0x53f522
cmp byte [esp + 0x32], bl
je 0x53f520
cmp byte [esp + 0x31], bl
jne 0x53f522
mov bl, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc], vtable.wxObject.0
call fcn.005026b0
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 0x540820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x614eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ecx, dword [0x6fccd4]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.00504240
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.005026b0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret
Function at 0x541510
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x61506a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.wxWindowBase.0
push esi
mov ecx, 0x6fcb38
mov dword [esp + 0x24], 9
call fcn.00507bc0
push esi
mov ecx, 0x6e496c
call fcn.00507bc0
xor ebx, ebx
cmp dword [esi + 0x2c], ebx
je 0x5415cb
push 0x6e5538
push esi
call fcn.00540b10
add esp, 4
push eax
call fcn.00535940
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x5415cb
mov ebp, dword [edi + 0x154]
cmp ebp, esi
jne 0x541595
mov dword [edi + 0x154], ebx
jmp 0x5415cb
cmp ebp, ebx
je 0x5415b9
mov dword [edi + 0x154], ebx
cmp dword [edi + 0x150], esi
jne 0x5415af
push ebx
mov ecx, edi
call fcn.0053f360
push ebp
mov ecx, edi
call fcn.0053f380
jmp 0x5415cb
mov ebp, dword [edi + 0x150]
cmp ebp, esi
jne 0x5415cb
push ebx
mov ecx, edi
call fcn.0053f360
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
je 0x5415dd
mov eax, dword [ecx]
mov edx, dword [eax + 0xe8]
push esi
call edx
mov ecx, dword [esi + 0xa0]
cmp ecx, ebx
je 0x5415ef
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x60]
cmp ecx, ebx
je 0x5415ff
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov ecx, esi
call fcn.0053fff0
mov eax, dword [esi + 0xb8]
cmp eax, ebx
je 0x541631
push eax
mov ecx, esi
call fcn.00541130
mov ecx, dword [esi + 0xb8]
cmp ecx, ebx
je 0x54162b
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 0xb8], ebx
mov ecx, dword [esi + 0xc4]
cmp ecx, ebx
je 0x541643
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push esi
call edx
mov ecx, dword [esi + 0xc0]
cmp ecx, ebx
je 0x541656
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov ecx, dword [esi + 0x64]
cmp ecx, ebx
je 0x541665
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0xb4]
cmp ecx, ebx
je 0x541678
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov ecx, dword [0x6feb44]
cmp ecx, ebx
je 0x54168a
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push esi
call edx
lea ecx, [esi + 0xe0]
mov byte [esp + 0x20], 8
call fcn.00535e30
mov ecx, dword [esi + 0xd4]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
mov byte [esp + 0x20], 7
cmp eax, 0xffffffff
je 0x5416bc
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x5416bc
call fcn.004fff70
lea ecx, [esi + 0xac]
mov byte [esp + 0x20], 6
mov dword [ecx], vtable.wxObject.0
call fcn.005026b0
lea ecx, [esi + 0xa4]
mov byte [esp + 0x20], 5
call fcn.00535e30
lea ecx, [esi + 0x8c]
mov byte [esp + 0x20], 4
call fcn.00535e30
lea ecx, [esi + 0x78]
mov byte [esp + 0x20], 3
call fcn.00535e30
lea ecx, [esi + 0x70]
mov byte [esp + 0x20], 2
call fcn.0054afd0
lea ecx, [esi + 0x68]
mov byte [esp + 0x20], 1
call fcn.00535e30
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], bl
call fcn.00507820
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.005043a0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x542900
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x54290d
mov byte [edi], 1
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [eax*8 + 0x6508e4], esi
je 0x542944
inc eax
cmp eax, 0x3c
jb 0x542913
cmp esi, 0x177
jg 0x542957
je case.0x54293d.313
lea eax, [esi - 0x7f]
cmp eax, 0xf0
ja case.0x542962.383
movzx eax, byte [eax + 0x542a00]
jmp dword [eax*4 + 0x5429d4]
mov ax, word [eax*8 + 0x6508e0]
pop edi
pop esi
ret
pop edi
mov eax, 0x24
pop esi
ret
lea eax, [esi - 0x178]
cmp eax, 9
ja case.0x542962.383
jmp dword [eax*4 + 0x542af4]
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 0x5429c6
movzx cx, al
pop edi
movzx eax, cx
pop esi
ret
test edi, edi
je 0x5429cd
mov byte [edi], 0
pop edi
movzx eax, si
pop esi
ret

Function at 0x542b80
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
movzx eax, si
sub eax, 1
je 0x542b52
sub eax, 1
jne 0x542b63
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x542b63
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 0x542b63
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.00542900
add esp, 8
movzx eax, ax
cmp esi, 0x16c
je 0x542bb1
cmp esi, 0x137
je 0x542bb1
cmp esi, 0x16d
je 0x542bb1
pop esi
jmp 0x542b20
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 0x5448e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615218
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x6ea244]
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 0x544925
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 [0x6f9ea4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
cmp esi, eax
jne 0x54490f
mov eax, dword [0x6fcca4]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00504240
mov dword [esp + 0xc], vtable.wxCloseEvent.0
mov byte [esp + 0x31], bl
mov edx, dword [esp + 0x48]
mov ecx, dword [0x6f9ea4]
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.005026b0
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 0x5449f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615218
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x6ea244]
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 0x544a29
cmp eax, 2
je 0x544a29
xor bl, bl
jmp 0x544a2b
mov bl, 1
mov ecx, dword [0x6fccb8]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00504240
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.005026b0
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 0x544aa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x615250
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0xc8], 8
jne 0x544b2f
push esi
lea ecx, [esp + 0x38]
call fcn.00537320
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 0x544b07
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push 0x6e67d0
mov ecx, esi
call fcn.00502740
movzx ecx, al
neg ecx
sbb ecx, ecx
test esi, ecx
je 0x544b45
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xffffffff
call fcn.00406eee
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 [0x6fcbf0]
mov eax, dword [esi + 0x28]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.00504240
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.005446a0
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.005026b0
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xffffffff
call fcn.00406eee
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 0x544d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615218
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x6fccc4]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00504240
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.005026b0
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 0x544dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615368
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x6fcd2c]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00504240
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.005026b0
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 0x545150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615368
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x6fccfc]
push eax
push 0
lea ecx, [esp + 0x14]
call fcn.00504240
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.005026b0
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 0x5456c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x616548
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
test byte [edi + 0xc8], 0x10
je 0x54577b
mov eax, dword [esp + 0x34]
push eax
call fcn.005446a0
mov esi, eax
add esp, 4
cmp esi, edi
je 0x545729
test byte [edi + 0xc8], 0x80
jne 0x545729
test esi, esi
je 0x54577b
mov edx, dword [esi]
mov eax, dword [edx + 0x154]
mov ecx, esi
call eax
test al, al
je 0x54577b
cmp dword [esi + 0x2c], edi
jne 0x54577b
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.00541b50
mov ecx, dword [0x6fce04]
push 0x64
push eax
mov dword [esp + 0x30], 0
call fcn.0053e360
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00535e30
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 0x5458a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615218
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x6fccc8]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00504240
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.005026b0
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 0x545940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615368
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x6fcccc]
mov eax, dword [esi + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00504240
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.005026b0
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 0x546040
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 [0x6fce6c], eax
mov dword [0x6fce70], ecx
mov eax, dword [esi + 0xc]
pop esi
pop ebp
mov dword [0x6fce74], eax
pop ebx
add esp, 8
ret 0x10
Function at 0x546350
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x615458
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x6ea244]
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 0x546395
mov edi, 4
push 0x11
call ebx
test ax, ax
jge 0x5463a1
or edi, 8
push 1
call ebx
mov ecx, 0x8000
test cx, ax
je 0x5463b2
or edi, 1
push 4
call ebx
mov edx, 0x8000
test dx, ax
je 0x5463c3
or edi, 0x10
push 2
call ebx
mov ecx, 0x8000
test cx, ax
je 0x5463d4
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 [0x6fcbe0]
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.00537120
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.00546040
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.005026b0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x64
ret

Function at 0x547c70
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.00537210
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 0x547f60
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp byte [esp + 4], 0
je 0x547f92
mov dword [0x6fce64], 0x546a40
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call fcn.0050fea0
push eax
mov eax, dword [0x6fce64]
push eax
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x6fce60], eax
ret
mov ecx, dword [0x6fce60]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
ret