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

Disassembly:
push 0xffffffffffffffff
push 0x559a48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push str.IconSet
lea ebx, [edi + 0x24]
call edx
mov ebp, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], 0
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp]
push 1
push eax
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
cmp dword [esi + 0x28], 0
mov dword [esp + 0x14], eax
jne 0x42adbf
mov eax, dword [ebx + 0xc]
neg eax
sbb eax, eax
mov dword [esp + 0x1c], eax
je 0x42ae30
lea ebx, [ebx]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0042af80
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call edx
mov esi, eax
mov dword [esp + 0x24], esi
mov byte [esp + 0x30], 1
test esi, esi
je 0x42ad99
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 3
push 0x5787c4
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
push eax
push edi
mov ecx, esi
call fcn.0042a950
mov byte [esp + 0x30], 0
test esi, esi
je 0x42adb6
mov ecx, esi
call fcn.004f94f9
cmp dword [esp + 0x1c], 0
jne 0x42ad50
jmp 0x42ae30
call fcn.0042a830
cmp dword [esp + 0x14], 0
je 0x42ae30
mov bl, 2
lea ecx, [ecx]
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call edx
mov esi, eax
mov dword [esp + 0x24], esi
mov byte [esp + 0x30], bl
mov dword [esp + 0x1c], 0
test esi, esi
je 0x42ae0c
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
push 0
lea ecx, [esp + 0x20]
push ecx
push 3
push 0x5787c4
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
push eax
push edi
mov ecx, esi
call fcn.0042a950
mov byte [esp + 0x30], 0
test esi, esi
je 0x42ae29
mov ecx, esi
call fcn.004f94f9
cmp dword [esp + 0x14], 0
jne 0x42add0
mov dword [esp + 0x30], 0xffffffff
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x42ae60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55c098
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.004e417d
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0xc], vtable.CWizPropExchangeArchive.0
mov ecx, dword [ecx + 0x18]
and ecx, edx
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0xc]
mov edx, esi
mov dword [esp + 0x60], eax
call fcn.0042acd0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.CWizPropExchange.0
call fcn.004e41a5
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42bc90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x78], 0
push edi
je 0x42be21
mov dword [esi + 0x7c], 1
call fcn.0042ba50
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004dfd70
lea ecx, [esp + 0x1c]
push ecx
mov eax, esi
call fcn.0042b960
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x10], 0
call fcn.00410aa0
mov edi, eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, edi
jne 0x42bdee
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.00415270
cmp eax, dword [esi + 0x7c]
je 0x42bd4b
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x7c], eax
test ecx, ecx
je 0x42bd4b
call fcn.00410aa0
test eax, eax
je 0x42bd4b
cmp dword [esi + 0x34], 0
je 0x42bd4b
lea ecx, [esp + 0x2c]
push ecx
mov eax, esi
call fcn.0042b960
mov ecx, eax
call fcn.004139f0
mov edx, dword [esi + 0x50]
push 1
push eax
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x42bdcd
push 0
push 0
push 0
lea edx, [esp + 0x48]
push edx
call edi
mov eax, dword [esp + 0x40]
cmp eax, 0x200
ja 0x42bdb6
je 0x42bd91
cmp eax, 0x1f
je 0x42bdee
cmp eax, 0x100
jne 0x42bdc2
cmp dword [esp + 0x44], 0x1b
je 0x42bdee
jmp 0x42bdcd
mov eax, dword [esp + 0x48]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
cwde
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040fcd0
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0xc], edx
jmp 0x42bdcd
sub eax, 0x202
je 0x42bde7
sub eax, 2
je 0x42bdee
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [esi + 0x50]
call fcn.00410aa0
mov ebx, eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, ebx
je 0x42bcf9
jmp 0x42bdee
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x10], ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x7c], 0
call fcn.0042ba50
cmp dword [esp + 0x10], 0
je 0x42be21
mov ecx, dword [esi + 0x50]
mov esi, dword [esi + 0x20]
push 0
push esi
push 0x111
call fcn.004e0df6
mov ecx, eax
call fcn.004183f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42f480
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5579f9
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.004de654
lea ebx, [esi + 0x54]
mov dword [esp + 0x1c], 0
mov ecx, ebx
mov dword [esi], vtable.CWizCommandBarKeyboardTip.0
call fcn.00401410
lea ebp, [esi + 0x58]
mov ecx, ebp
call fcn.00401410
lea ecx, [esi + 0x5c]
call fcn.00401410
lea edi, [esi + 0x64]
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.004139f0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, ebp
mov dword [esi + 0x60], eax
call fcn.00402dd0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], ecx
mov ecx, ebx
mov dword [esi + 0x74], edx
mov dword [edi], eax
call fcn.004019a0
mov edx, dword [esp + 0x3c]
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x6c], edx
mov dword [esi + 0x70], 1
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x4308b0
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x74]
cmp dword [eax + 0x5c], 2
je 0x430a2a
mov ebp, dword [esp + 0x14]
lea ecx, [ebp - 0x60]
cmp ecx, 9
ja 0x4308d9
cmp dword [eax + 0x7c], 0
je 0x430a2a
push 2
push ebp
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
je 0x430a2a
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
mov ecx, edi
call eax
mov esi, eax
test esi, esi
je 0x430909
call fcn.00443be0
test eax, eax
je 0x430909
mov eax, 1
jmp 0x43090b
xor eax, eax
neg eax
sbb eax, eax
and eax, esi
mov ecx, edi
mov ebx, eax
xor esi, esi
call fcn.0040ffe0
test eax, eax
jle 0x430980
test esi, esi
jl 0x430942
mov ecx, edi
call fcn.0040ffe0
cmp esi, eax
jge 0x430942
cmp esi, dword [edi + 0x84]
jge 0x430975
mov ecx, dword [edi + 0x80]
mov ebp, dword [ecx + esi*4]
jmp 0x430944
xor ebp, ebp
cmp dword [ebp + 0xe0], 0
jne 0x43097a
mov edx, dword [edi + 0x74]
test byte [edx + 0x5c], 1
je 0x430967
test ebx, ebx
jne 0x430967
mov eax, ebp
call fcn.00443be0
test eax, eax
je 0x430967
mov ebx, ebp
mov ecx, edi
inc esi
call fcn.0040ffe0
cmp esi, eax
jl 0x430920
jmp 0x43097c
call fcn.004dcd9a
mov ebx, ebp
mov ebp, dword [esp + 0x14]
test ebx, ebx
je 0x430a2a
mov eax, ebx
call fcn.00443be0
test eax, eax
je 0x430a2a
mov eax, dword [ebx]
mov edx, dword [eax + 0x1e8]
push ebp
mov ecx, ebx
call edx
test eax, eax
jne 0x430a1e
lea eax, [esp + 0x14]
push eax
push ebp
push edi
mov ecx, ebx
call fcn.004305f0
mov ebp, eax
test ebp, ebp
je 0x430a2a
mov esi, dword [ebp + 0x100]
cmp dword [esi + 0xe0], 0
mov ebx, dword [ebp + 0x80]
jne 0x4309d6
call fcn.00430840
mov eax, 1
mov ecx, edi
call fcn.00430330
push 1
mov dword [edi + 0x44], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x140]
push 0
push 1
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x148]
push 1
push ebx
mov ecx, esi
call eax
cmp dword [esp + 0x14], 0
jne 0x430a1e
mov edx, dword [ebp]
mov eax, dword [edx + 0xa8]
mov ecx, ebp
call eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x430a40
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [ebx + 4], 0x104
push esi
mov esi, eax
jne 0x430b58
mov eax, 0x2000
test word [ebx + 0xe], ax
je 0x430b58
test esi, esi
jne 0x430a7b
push 0x432880
mov ecx, 0x5c0a30
call fcn.004fcc55
test eax, eax
jne 0x430aa3
call fcn.004dcd9a
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x430aa3
push 0x432880
mov ecx, 0x5c0a30
call fcn.004fcc55
test eax, eax
jne 0x430a9d
call fcn.004dcd9a
mov dword [esi + 0xa8], eax
cmp dword [eax + 4], 0
jg 0x430b58
test esi, esi
jne 0x430ac9
push 0x432880
mov ecx, 0x5c0a30
call fcn.004fcc55
test eax, eax
jne 0x430af1
call fcn.004dcd9a
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x430af1
push 0x432880
mov ecx, 0x5c0a30
call fcn.004fcc55
test eax, eax
jne 0x430aeb
call fcn.004dcd9a
mov dword [esi + 0xa8], eax
cmp dword [eax + 0x10], 0
jne 0x430b58
call fcn.00430400
mov ecx, dword [esi + 0xa0]
call fcn.00410aa0
call fcn.00440ad0
test eax, eax
je 0x430b58
cmp dword [ebx + 8], 0x12
jne 0x430b26
mov eax, 1
mov ecx, esi
call fcn.00430330
xor eax, eax
pop esi
ret
cmp dword [esi + 0x24], 0
je 0x430b3e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x430b58
mov eax, dword [ebx + 8]
test eax, eax
je 0x430b58
push eax
mov eax, esi
call fcn.004308b0
test eax, eax
je 0x430b58
mov eax, 1
pop esi
ret
mov eax, dword [ebx + 4]
cmp eax, 0x105
je 0x430b69
cmp eax, 0x101
jne 0x430bb2
cmp dword [esi + 0xc4], 0
je 0x430bb2
cmp dword [esi + 0xb0], 0
je 0x430bb2
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x430ba3
push 0x432880
mov ecx, 0x5c0a30
call fcn.004fcc55
test eax, eax
jne 0x430b9d
call fcn.004dcd9a
mov dword [esi + 0xa8], eax
cmp dword [eax + 0x10], 0
jne 0x430bb2
xor eax, eax
mov ecx, esi
call fcn.00430330
mov eax, dword [ebx + 4]
push edi
cmp eax, 0x7b
je 0x430bc2
cmp eax, 0x105
jne 0x430c3e
test esi, esi
jne 0x430bde
push 0x432880
mov ecx, 0x5c0a30
call fcn.004fcc55
test eax, eax
jne 0x430c06
call fcn.004dcd9a
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x430c06
push 0x432880
mov ecx, 0x5c0a30
call fcn.004fcc55
test eax, eax
jne 0x430c00
call fcn.004dcd9a
mov dword [esi + 0xa8], eax
cmp dword [eax + 0x10], 0
je 0x430c3e
push 0x432820
mov ecx, 0x5c0a3c
call fcn.004fcc55
test eax, eax
jne 0x430c24
call fcn.004dcd9a
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
push edx
push ecx
mov edi, 0x7b
call fcn.004940f0
pop edi
mov eax, 1
pop esi
ret
mov edi, 0x20a
cmp dword [ebx + 4], edi
jne 0x430c8e
push 0x432820
mov ecx, 0x5c0a3c
call fcn.004fcc55
test eax, eax
jne 0x430c60
call fcn.004dcd9a
cmp dword [eax + 0x1c], 0
jle 0x430c8e
push 0x432820
mov ecx, 0x5c0a3c
call fcn.004fcc55
test eax, eax
jne 0x430c7e
call fcn.004dcd9a
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
push edx
push ecx
call fcn.004940f0
pop edi
pop esi
ret
mov eax, dword [ebx + 4]
cmp eax, 0x100
jb 0x430cc1
cmp eax, 0x108
ja 0x430cc1
mov ecx, dword [esi + 0xa0]
mov esi, dword [esi + 0xb4]
push ebx
call fcn.00410aa0
push eax
mov ecx, esi
call fcn.00448a70
test eax, eax
jne 0x430c36
pop edi
xor eax, eax
pop esi
ret
Function at 0x4321d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55c098
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.004e417d
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0xc], vtable.CWizPropExchangeArchive.0
mov ecx, dword [ecx + 0x18]
and ecx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], eax
lea edi, [esp + 0xc]
mov eax, esi
call fcn.00431e10
mov dword [esp + 0x60], 0xffffffff
mov ecx, edi
mov dword [esp + 0xc], vtable.CWizPropExchange.0
call fcn.004e41a5
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4334f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
cmp esi, 8
je 0x43352b
cmp esi, 0x21
jb 0x433502
cmp esi, 0x2e
jbe 0x43352b
cmp esi, 0x43
je 0x433516
cmp esi, 0x56
je 0x433516
cmp esi, 0x58
je 0x433516
cmp esi, 0x5a
jne 0x433523
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x43352b
xor eax, eax
add esp, 0x1c
ret 4
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x20]
lea edx, [esp]
mov dword [esp + 0xc], ecx
push edx
mov ecx, edi
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], eax
mov dword [esp + 0xc], esi
call fcn.004e3258
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret 4

Function at 0x433820
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
cmp dword [esi + 8], 0
jne 0x433831
xor eax, eax
add esp, 0x1c
ret 4
cmp ebx, 0x26
je 0x433845
cmp ebx, 0x28
je 0x433845
cmp ebx, 0x22
je 0x433845
cmp ebx, 0x21
jne 0x433829
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x433829
mov eax, dword [esi + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call edi
push 1
push eax
call edi
mov ecx, dword [esp + 0x24]
lea edx, [esp + 4]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
push edx
push eax
mov dword [esp + 0x10], pe_nt_image_headers32
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
neg eax
sbb eax, eax
neg eax
pop edi
add esp, 0x1c
ret 4
Function at 0x434800
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x6c]
push esi
push edi
mov dword [esp + 0x10], ebx
call edx
test eax, eax
je 0x434864
mov edi, dword [ebp + 8]
cmp edi, 0x2e
je 0x43482e
cmp edi, 8
je 0x43482e
xor eax, eax
jmp 0x434833
mov eax, 1
mov ecx, dword [ebx + 0x17c]
mov dword [ebx + 0x1a8], eax
test ecx, ecx
je 0x43484d
cmp dword [ecx + 0x54], 0
jne 0x434a32
cmp edi, 9
jne 0x43486f
cmp dword [ebx + 0x1c8], 0
je 0x434864
test byte [ebx + 0x1ac], 8
jne 0x4348d1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, 0xd
je 0x434864
cmp edi, 0x1b
jne 0x4348d1
mov ecx, dword [ebx + 0x170]
mov eax, dword [ecx]
mov edx, dword [eax + 0x140]
push 0
push 1
push 0
call edx
mov edi, dword [ebx + 0x188]
mov esi, ebx
call fcn.00435690
lea esi, [ebx + 0x18c]
mov ecx, ebx
call fcn.00433f90
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
push 0
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x100]
xor ecx, ecx
cmp dword [eax + 0xf8], 2
sete cl
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
je 0x434920
call fcn.00410aa0
test eax, eax
je 0x434920
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
test ax, ax
jge 0x434926
push 0x11
call esi
test ax, ax
jl 0x434926
mov eax, dword [ebx + 0x100]
call fcn.0044d500
test eax, eax
je 0x434926
movzx edx, di
push edx
call fcn.004308b0
test eax, eax
je 0x434926
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp edi, 0x73
jne 0x4349ba
push 0x12
call esi
test ax, ax
jge 0x4349d5
mov eax, dword [ebx + 0x1c8]
test eax, eax
je 0x434961
mov ecx, dword [ebp + 0xc]
push ecx
mov ebx, edi
mov esi, eax
call fcn.00433820
test eax, eax
jne 0x434912
mov ebx, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp dword [ebx + 0x17c], 0
je 0x43498b
cmp edi, 0x26
je 0x434982
cmp edi, 0x28
je 0x434982
cmp edi, 0x22
je 0x434982
cmp edi, 0x21
jne 0x434a05
push 0x12
call esi
test ax, ax
jl 0x434a05
mov eax, ebx
call fcn.00435670
test eax, eax
je 0x434a05
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x170]
mov edx, dword [ecx]
mov edx, dword [edx + 0x218]
push eax
push edi
push ebx
call edx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, 0x26
je 0x4349c8
cmp edi, 0x28
jne 0x43493c
push 0x12
call esi
test ax, ax
jge 0x43493c
mov esi, dword [ebx]
push 0
push 0
lea ecx, [esp + 0x18]
call fcn.0040fcd0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esi + 0xe0]
push ecx
push edx
push 0
mov ecx, ebx
call eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x17c]
test ecx, ecx
je 0x434a32
call fcn.00410aa0
test eax, eax
je 0x434a32
mov eax, dword [ebp + 0xc]
mov esi, edi
mov edi, dword [ebx + 0x17c]
push eax
call fcn.004334f0
test eax, eax
mov eax, 1
jne 0x434a37
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x436755
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x200]
push edi
call edx
mov ebx, dword [esp + 0x30]
cmp dword [ebx + 0x17c], 0
mov ebp, eax
je 0x4367b7
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4367ab
mov eax, dword [esp + 0x34]
cmp eax, 0x26
je 0x436797
cmp eax, 0x28
je 0x436797
cmp eax, 0x21
je 0x436797
cmp eax, 0x22
jne 0x4367ab
mov ecx, dword [esp + 0x38]
push ecx
push eax
push pe_nt_image_headers32
mov ecx, esi
call fcn.004dda0d
jmp 0x43681b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0xc
mov edi, dword [esp + 0x34]
cmp edi, 0x73
jne 0x4367cf
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4367ab
jmp 0x4367e6
cmp edi, 0x26
je 0x4367d9
cmp edi, 0x28
jne 0x4367e6
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4367ab
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x1c], pe_nt_image_headers32
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
call fcn.004e562e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x5c]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x200]
mov ecx, esi
call eax
cmp ebp, eax
je 0x436870
mov edx, dword [ebx]
mov eax, dword [edx + 0x158]
mov ecx, ebx
call eax
mov ecx, dword [ebx + 0x17c]
call fcn.00410aa0
test eax, eax
je 0x436870
mov esi, dword [ebx + 0x17c]
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push edx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x438580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x557950
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x4385ae
xor eax, eax
jmp 0x4385b1
mov eax, dword [esi + 4]
push edi
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0043f610
mov dword [esp + 0x50], 0
test esi, esi
jne 0x4385cd
xor eax, eax
jmp 0x4385d0
mov eax, dword [esi + 4]
push edi
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0043f6d0
push fcn.004139f0
push 3
push 8
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x60], 1
call fcn.00403b90
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
push 3
lea eax, [esp + 0x34]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x70]
push eax
push ecx
mov dword [esp + 0x50], edx
call dword [sym.imp.GDI32.dll_Polygon]
mov byte [esp + 0x50], 0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push eax
mov dword [esp + 0x24], vtable.CWizBrushDC.0
call esi
lea ecx, [esp + 0x20]
call fcn.00418450
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x10], vtable.CWizPenDC.0
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.CPen.0
call fcn.0040e260
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x4c
ret
Function at 0x43f320
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x553db8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.004f4b7f
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], 0
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esi], vtable.CWizBufferDCEx.0
mov dword [esi + 0x10], eax
call fcn.004139f0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [edi], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 4], edx
mov edx, dword [esi + 0x10]
mov dword [edi + 8], eax
push edx
mov dword [edi + 0xc], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.004f5089
mov ecx, edi
call fcn.0040fe70
push eax
mov ecx, edi
call fcn.00415ef0
push eax
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [esi + 0x14], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x30]
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004f4b93
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0x18

Function at 0x4409d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x558a28
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x4409fe
xor eax, eax
jmp 0x440a01
mov eax, dword [esi + 4]
push edi
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0043f610
mov dword [esp + 0x50], 0
test esi, esi
jne 0x440a1d
xor eax, eax
jmp 0x440a20
mov eax, dword [esi + 4]
push edi
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0043f6d0
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], edx
push 3
lea edx, [esp + 0x34]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
mov dword [esp + 0x50], ecx
call dword [sym.imp.GDI32.dll_Polygon]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push edx
mov dword [esp + 0x24], vtable.CWizBrushDC.0
call esi
lea ecx, [esp + 0x20]
call fcn.00418450
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x10], vtable.CWizPenDC.0
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.CPen.0
call fcn.0040e260
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x4c
ret