joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5db456
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push 0xc795eb44
push eax
adc ecx, ecx
call 0x5d6527
add byte [eax], al
push ebx
je 0x5d91a6
jne 0x5d91d7
jb 0x5d91cc
outsb dx, byte [esi]
je 0x5d91ae
imul esi, dword [edx + 0x65], 0x726f7463
jns 0x5d91b4
add byte [ecx - 0x80], al
shl edx, cl
adc bl, 0xe2
add bl, 0xe7
xchg ebp, eax
call fcn.005d8eff
in al, dx
and dh, byte [edi]
loop 0x5d9175
cmpsd dword [esi], dword es:[edi]
mov cs, word [ecx - 0x7cbd5ee6]
xor ecx, dword [ebx + 0x2acc5e69]
push edx
stc
and bh, byte [esi + 0x1f]
sub dword [ebx], edx
dec ebp
mov dword [0x8996b345], eax
int 0x1b
aad 0x13
call 0x32a5e6a4
mov ebp, 0x5ad62298
inc ebp
mov bl, 0x96
mov ebp, ecx
sbb edx, ebp
adc ebp, eax
sti
push esp
dec eax
xor bh, byte [ebp + 0x5ad62298]
mov esi, 0xffbda64a
add esp, ecx
aas
loope 0x5d91f5
dec ecx
movsb byte es:[edi], byte [esi]
mov ebx, 0x319f71af
out 0x61, eax
invalid
lea esp, [ebx]
ror dl, cl
mov edx, 0x34e7d148
jb 0x5d922c
mov ah, byte [esi]
fadd qword [edx - 0x3fca302]
xchg ecx, eax
outsd dx, dword [esi]
sub byte ds:[edx + 0x386272e2], ah
sbb dword [ebx - 0x31361f58], esp
mov esp, 0x729f6afd
jecxz 0x5d919c
inc ecx
mov edx, 0x154c881a
mov dl, 0xf0
enter 0xfffffffffffff014, 0xffffffffffffffb3
mov ah, 0xae
invalid
xchg esi, eax
invalid
call fcn.0062ba5b
add byte [eax], al
inc ebx
jb 0x5db4c5
popal
je 0x5db4c8
push edi
imul ebp, dword [esi + 0x64], 0x7845776f
inc ecx
add byte [eax], al
add byte [ebx + 0x65], dl
je 0x5db4c3
outsd dx, dword [esi]
insb byte es:[edi], dx
jns 0x5db4bd
imul ebp, dword [esp + ebp*2 + 0x4d], 0x65646f
jmp 0x5d9150
push es
sti
push es
imul al
pop ecx
mov dl, 0xc7
ficom word [esi + 0x6f]
call 0xdf25671b
push esi
outsd dx, dword [esi]
push 0xf07f2775
jne 0x5db4ee
jg 0x5db4b9
invalid
adc eax, 0xa8fc5859
sub ch, dl
inc esi
in al, 0x32
mov esp, 0xb988b854
retf 0xc81f
push eax
invalid

Function at 0x62bc84
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push 0x2e86dc2c
inc ecx
lea esp, [esp + 8]
jmp 0x62570a
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x48437b]
shl eax, 2
mov dword [0x48437f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00477eb8
pop edx
call fcn.00477e1c
call fcn.00477ef8
push 0
call fcn.0047911c
pop ecx
push 0x484324
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x484383], eax
push 0
jmp fcn.0047e1e0

Function at 0x42595c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00475a38
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4259ab
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00475c68
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c718
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42c977
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x42c77a
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0042c230
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.00471524
cmp al, 1
jne 0x42c77a
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0042c4f8
test al, al
je 0x42c906
cmp dword [ebp - 8], 0
jge 0x42c798
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0042c230
mov eax, dword [ebp - 0x210]
call fcn.00475cb8
cmp ebx, eax
jge 0x42c7e2
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0042c230
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x49490c]
and eax, 0xff
bt dword [edx], eax
jae 0x42c7e2
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x42c7f6
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042c6f4
cmp ebx, dword [ebp - 8]
je 0x42c8f8
lea eax, [ebp - 0x108]
push eax
call sub.USER32.DLL_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x42c822
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004751a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x490740]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.USER32.DLL_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x42c8e5
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004751a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x490740]
push eax
push 0x100
mov eax, dword [ebp - 4]
call fcn.004524e0
push eax
call sub.USER32.DLL_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004751a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x490740]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004524e0
push eax
call sub.USER32.DLL_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c8ec
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x42c959
cmp dword [ebp - 8], 0
jge 0x42c911
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0042c230
mov eax, dword [ebp - 0x218]
call fcn.00475cb8
cmp eax, dword [ebp - 8]
jg 0x42c94b
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0042c230
mov eax, dword [ebp - 0x21c]
call fcn.00475cb8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042c6f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c97e
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00475a5c
ret
Function at 0x42ecc8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42ecce
ret

Function at 0x4311ac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4311fd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4311e4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4311d4
jmp 0x4311fd
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4311e5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439744
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x494bc0
cmp dword [edi], 0
jne 0x4397c0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x494bbc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x490a14
mov ecx, 2
call fcn.00474aa8
mov edx, 0x43971c
lea eax, [esi + 5]
call fcn.0043973c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043973c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x439795
mov dword [0x494bbc], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4398dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43992c]
test si, 4
je 0x4398f0
or bl, 1
test si, 8
je 0x4398fa
or bl, 4
test si, 1
je 0x439904
or bl, 8
test si, 2
je 0x43990e
or bl, 0x10
test si, 0x10
je 0x439918
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x439927
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x439930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x439968]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x439949
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x439958
or bl, 4
test esi, 0x20000000
je 0x439963
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43feb8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43feca
add esp, 0xfffffff0
call fcn.004752c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00469ae0
mov eax, ebx
call fcn.00440204
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x463790]
call fcn.00474f98
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x463790]
call fcn.00474f98
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x463790]
call fcn.00474f98
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x463790]
call fcn.00474f98
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x463790]
call fcn.00474f98
mov dword [ebx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x43c9a8
push eax
push 0
push 0
mov eax, dword [0x4948e8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42e268]
call fcn.0042f728
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x42e268]
call fcn.0042f728
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x42e268]
call fcn.0042f728
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.004405e4
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x440500
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x440500
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x440500
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43ffd9
call fcn.00475320
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4402e4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44048f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x440470
mov dl, 1
mov eax, dword [0x463acc]
call fcn.00474f98
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00475a38
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44045f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00456aac
test al, al
je 0x440452
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4404a0
lea eax, [ebp - 0x254]
call fcn.00470304
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x440452
xor eax, eax
push ebp
push 0x44044b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4404d8
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x440434
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00475c68
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x440434
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00475c68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440452
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x440355
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00466b04
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440496
lea eax, [ebp - 0x260]
call fcn.00475a38
ret

Function at 0x440cdc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x494bb0]
cmp byte [eax + 0x95], 0
jne 0x440d4d
cmp dword [0x494bcc], 0
jne 0x440d0e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x440c98
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x494bcc], eax
cmp dword [0x494bc8], 0
jne 0x440d29
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x494bc8], eax
cmp dword [0x494bd0], 0
jne 0x440d4d
push esp
push 0
push 0
push 0x440c3c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x494bd0], eax
pop edx
ret
Function at 0x440e44
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x440e5b
add esp, 0xfffffff0
call fcn.004752c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00469ae0
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x463790]
call fcn.00474f98
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x463790]
call fcn.00474f98
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x42eb80]
call fcn.00435bf8
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x440fd0
mov eax, dword [0x494a80]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00435fc8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x442944
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x494a80]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0047173c
test eax, eax
je 0x440f4e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0046fca4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00471764
test eax, eax
je 0x440f62
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00475c68
mov eax, dword [0x494a84]
cmp byte [eax], 0
jne 0x440f93
mov eax, ebx
call fcn.004410bc
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x440fc5
call fcn.00475320
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44132c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x494bb0]
cmp dword [eax + 0x24], 0
je 0x4413cf
cmp dword [ebx + 0x84], 0
jne 0x4413c9
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4412bc
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x4413c9
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x441392
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4413c9
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00464e44
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4413a1
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x441ddc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x441e11
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00475b20
jmp 0x441e1b
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00475a8c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x442cb8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x442cf0
mov eax, esi
call fcn.004527dc
test al, al
je 0x442cf0
mov eax, dword [ebx + 0x74]
call fcn.004524e0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x442cf0
push 0
mov eax, dword [ebx + 0x74]
call fcn.004524e0
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x44a1a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x494c4c], 0
sete dl
or al, dl
jne 0x44a2e4
mov eax, dword [0x494c50]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x494c4c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x44a2b3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x494c4c]
call fcn.00464e44
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44a2ab
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x44a2ab
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x44a2ab
mov eax, dword [ebp - 0x14]
call fcn.004524e0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x44a2ab
push ebp
call fcn.0044a160
pop ecx
test al, al
jne 0x44a2ab
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x44a267
mov eax, dword [ebp - 0x14]
call fcn.00450e6c
dec eax
jle 0x44a2ab
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.004751a4
cmp byte [ebp - 1], 0
je 0x44a2ab
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x44a2ab
mov edx, dword [ebp - 0x14]
mov eax, dword [0x494c50]
call fcn.004499ac
inc edi
dec esi
jne 0x44a1fa
mov eax, dword [0x494c50]
cmp dword [eax + 8], 0
jle 0x44a2cb
mov eax, dword [0x494c50]
call fcn.00449a3c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44a2e4
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00449fc8
pop ecx
test al, al
jne 0x44a2e4
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fe78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x44fea9
je 0x44ff03
sub eax, 7
je 0x44feca
dec eax
je 0x44fef4
sub eax, 0x17
je 0x44ffa8
jmp 0x44ffe6
add eax, 0xffffff00
sub eax, 9
jb 0x44ff94
add eax, 0xffffff09
sub eax, 0xb
jb 0x44ff5c
jmp 0x44ffe6
mov eax, ebx
call fcn.00439a28
mov edi, eax
test edi, edi
je 0x450046
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x45004f
jmp 0x450046
test byte [ebx + 0x44], 0x20
jne 0x45004f
jmp 0x450046
mov edx, esi
mov eax, ebx
call fcn.0044d478
cmp dword [esi + 0xc], 0xffffffff
jne 0x45004f
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0046d7c4
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0044bfac
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0044fd50
test eax, eax
je 0x45004f
mov dword [esi + 0xc], 1
jmp 0x45004f
mov edx, esi
mov eax, ebx
call fcn.0044fde4
test al, al
je 0x450046
cmp dword [esi + 0xc], 0
jne 0x45004f
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.004524e0
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x45004f
mov eax, ebx
call fcn.0044cb14
test al, al
jne 0x45004f
jmp 0x450046
mov eax, ebx
call fcn.004524e0
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x450046
cmp dword [0x490cd0], 0
je 0x450046
mov eax, dword [0x490cd0]
cmp ebx, dword [eax + 0x24]
jne 0x450046
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x490cd0]
call fcn.0044d3ac
jmp 0x450046
mov eax, dword [0x494c14]
cmp byte [eax + 0x20], 0
je 0x450046
mov eax, dword [0x494c14]
cmp dword [eax + 0x1c], 0
je 0x450046
mov eax, dword [esi]
mov edx, dword [0x494c14]
cmp eax, dword [edx + 0x1c]
jne 0x450046
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0043996c
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.004751a4
jmp 0x45004f
mov edx, esi
mov eax, ebx
call fcn.0044d478
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450510
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x45052c
cmp dword [esi + 4], 0
je 0x450559
test byte [ebx + 0x45], 1
jne 0x45054b
mov eax, ebx
call fcn.0044f448
test eax, eax
jne 0x45054b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x450669
mov edx, esi
mov eax, ebx
call fcn.00450188
jmp 0x450669
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x450662
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004524e0
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044d3ac
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00450510
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004524e0
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450669
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret