joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42da04
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x42dad2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x4fd2dc]
call fcn.00492408
mov ecx, dword [ebp - 4]
mov dl, 4
mov eax, ebx
call fcn.0042dbbc
mov byte [ebx + 0x2a0], 0
mov si, word [ebx + 0x294]
cmp si, 0xffff
je 0x42dabc
movzx eax, si
push eax
call sub.WSOCK32.DLL_closesocket
test eax, eax
jne 0x42daae
test byte [ebx + 0x20], 8
jne 0x42da6b
cmp word [ebx + 0x42], 0
je 0x42da6b
mov edx, ebx
mov eax, dword [ebx + 0x44]
call dword [ebx + 0x40]
cmp byte [ebx + 0x85], 0
jne 0x42dabc
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x42da8e
call fcn.004902ec
mov word [ebx + 0x294], si
push 0x3f
push 0x465
mov eax, dword [ebx + 0x298]
push eax
movzx eax, si
push eax
call sub.WSOCK32.DLL_WSAAsyncSelect
jmp 0x42dabc
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.0042dae0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dad9
lea eax, [ebp - 4]
call fcn.00490d68
ret

Function at 0x42de44
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov edi, edx
mov esi, esp
mov dword [esi], 0x10
push esi
lea edx, [esp + 8]
push edx
movzx eax, word [eax + 0x294]
push eax
call sub.WSOCK32.DLL_getsockname
push dword [esp + 8]
call sub.WSOCK32.DLL_inet_ntoa
mov ebx, eax
xor eax, eax
mov dword [esi], eax
jmp 0x42de86
mov edx, dword [esi]
cmp al, 0x2e
jne 0x42de84
mov eax, dword [esi]
mov byte [ebx + eax], 0x2c
inc dword [esi]
mov eax, dword [esi]
mov al, byte [ebx + eax]
test al, al
jne 0x42de78
mov edx, edi
mov eax, ebx
call fcn.0048aff8
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x42dea0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebx
push esi
add esp, 0xffffffdc
mov esi, edx
mov dword [esp], 0x10
push esp
lea edx, [esp + 8]
push edx
movzx eax, word [eax + 0x294]
push eax
call sub.WSOCK32.DLL_getsockname
push esi
mov bx, word [esp + 0xa]
mov eax, ebx
and ax, 0xff
movzx eax, ax
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 0
shr bx, 8
movzx eax, bx
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], 0
lea edx, [esp + 0x18]
mov ecx, 1
mov eax, 0x42df0c
call fcn.0048b540
add esp, 0x24
pop esi
pop ebx
ret
Function at 0x433c88
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x433cb6
mov eax, ebx
call fcn.0043472c
cmp dword [ebx + 0x3c], 0
je 0x433caf
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x433d27
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x433d19
cmp dword [ebx + 8], 0
je 0x433cd8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x433cea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x433d19
cmp dword [ebx + 8], 0
je 0x433ccb
cmp eax, 3
je 0x433cfd
dec eax
jne 0x433ccb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x433ccb
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x433ccb
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x433d45
cmp dword [ebx + 0x10], 0xcc
je 0x433d45
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00433d50
pop ebx
ret

Function at 0x44c830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44c8cb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004911a8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x44c8a5
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4fcfa4]
call fcn.00492408
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x44c2f8]
call fcn.0048c090
call fcn.00490a38
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044c440
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c8d2
lea eax, [ebp - 0x10]
call fcn.00490d68
ret

Function at 0x44d4c4
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.00490d68
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44d525
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x44d525
cmp byte [ebp - 0x102], 0
je 0x44d525
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00490f94
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4519a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x451b8a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4519f2
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004517a8
mov eax, dword [ebp - 0x204]
mov edx, ebx
call fcn.0048c8ac
cmp al, 1
jne 0x4519f2
dec ebx
mov edi, ebx
mov eax, esi
call fcn.00451950
test al, al
je 0x451b2a
test edi, edi
jge 0x451a09
xor edi, edi
lea ebx, [edi + 1]
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004517a8
mov eax, dword [ebp - 0x204]
call fcn.00490fe4
cmp ebx, eax
jge 0x451a50
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004517a8
mov eax, dword [ebp - 0x204]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4fd080]
and eax, 0xff
bt dword [edx], eax
jae 0x451a50
inc ebx
mov eax, dword [esi + 0x20c]
cmp edi, eax
jl 0x451a5e
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, esi
call fcn.00451984
cmp ebx, edi
je 0x451b22
lea eax, [ebp - 0x100]
push eax
call sub.USER32.DLL_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x451a88
mov byte [ebp - 0x1f0], 0x81
mov eax, esi
mov bx, 0xffcf
call fcn.00490588
and eax, 0x7f
movzx eax, word [eax*2 + 0x4f8b58]
mov byte [ebp + eax - 0x200], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.USER32.DLL_SetKeyboardState
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00490588
and eax, 0x7f
movzx eax, word [eax*2 + 0x4f8b58]
push eax
push 0x100
mov eax, esi
call fcn.00473310
push eax
call sub.USER32.DLL_SendMessageA
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00490588
and eax, 0x7f
movzx eax, word [eax*2 + 0x4f8b58]
push eax
push 0x101
mov eax, esi
call fcn.00473310
push eax
call sub.USER32.DLL_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.USER32.DLL_SetKeyboardState
mov dword [esi + 0x214], edi
jmp 0x451b71
test edi, edi
jge 0x451b30
xor edi, edi
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004517a8
mov eax, dword [ebp - 0x204]
call fcn.00490fe4
cmp edi, eax
jl 0x451b66
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004517a8
mov eax, dword [ebp - 0x204]
call fcn.00490fe4
mov edi, eax
mov ecx, edi
mov edx, edi
mov eax, esi
call fcn.00451984
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451b91
lea eax, [ebp - 0x204]
call fcn.00490d68
ret

Function at 0x452df0
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 0x452df6
ret
Function at 0x455378
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 0x4553c9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4553b0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4553a0
jmp 0x4553c9
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 0x4553b1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d500
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x576830
cmp dword [edi], 0
jne 0x45d57c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x57682c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f8e48
mov ecx, 2
call fcn.0048fd20
mov edx, 0x45d4d8
lea eax, [esi + 5]
call fcn.0045d4f8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0045d4f8
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 0x45d551
mov dword [0x57682c], 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 0x45d698
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d6e8]
test si, 4
je 0x45d6ac
or bl, 1
test si, 8
je 0x45d6b6
or bl, 4
test si, 1
je 0x45d6c0
or bl, 8
test si, 2
je 0x45d6ca
or bl, 0x10
test si, 0x10
je 0x45d6d4
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45d6e3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45d6ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d724]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45d705
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45d714
or bl, 4
test esi, 0x20000000
je 0x45d71f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x463dc4
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 0x463f69
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x480dbc]
call fcn.0049037c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00490d68
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x463f3f
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.004779b4
test al, al
je 0x463f32
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x463f78
lea eax, [ebp - 0x254]
call fcn.0048b4d8
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x463f32
xor eax, eax
push ebp
push 0x463f2b
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 0x463fb0
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x463f14
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00490f94
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 0x463f14
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00490f94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463f32
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x463e35
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00484008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463f70
lea eax, [ebp - 0x260]
call fcn.00490d68
ret

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

Disassembly:
push ecx
mov eax, dword [0x5767f8]
cmp byte [eax + 0x8d], 0
jne 0x46477d
cmp dword [0x57683c], 0
jne 0x46473e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4646c8
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x57683c], eax
cmp dword [0x576838], 0
jne 0x464759
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x576838], eax
cmp dword [0x576840], 0
jne 0x46477d
push esp
push 0
push 0
push 0x46466c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x576840], eax
pop edx
ret
Function at 0x464874
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46488b
add esp, 0xfffffff0
call fcn.004906ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00486f00
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x480a80]
call fcn.0049037c
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x480a80]
call fcn.0049037c
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x452ca8]
call fcn.0045a094
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x4649fc
mov eax, dword [0x4fd1f8]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0045a438
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x466324
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4fd1f8]
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.0048ca4c
test eax, eax
je 0x46497b
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0048ae4c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0048ca74
test eax, eax
je 0x46498f
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00490f94
mov eax, dword [0x4fd1fc]
cmp byte [eax], 0
jne 0x4649c0
mov eax, ebx
call fcn.00464ae8
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4649f2
call fcn.00490704
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x464d40
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5767f8]
cmp dword [eax + 0x24], 0
je 0x464dd0
cmp dword [ebx + 0x7c], 0
jne 0x464dcd
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464cd4
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x464dcd
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 0x464d9c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464dcd
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.0048202c
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464da8
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x465720
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x465755
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.00490e4c
jmp 0x46575f
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00490e00
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x466654
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x46668c
mov eax, esi
call fcn.00473738
test al, al
je 0x46668c
mov eax, dword [ebx + 0x6c]
call fcn.00473310
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x46668c
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00473310
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x46b460
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x5768c0], 0
sete dl
or al, dl
jne 0x46b5a4
mov eax, dword [0x5768c4]
mov bx, 0xffff
call fcn.00490588
mov eax, dword [0x5768c0]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x46b573
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x5768c0]
call fcn.0048202c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x46b56b
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x46b56b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x46b56b
mov eax, dword [ebp - 0x10]
call fcn.00473310
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x46b56b
push ebp
call fcn.0046b41c
pop ecx
test al, al
jne 0x46b56b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x46b527
mov eax, dword [ebp - 0x10]
call fcn.00471c54
dec eax
jle 0x46b56b
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00490588
cmp byte [ebp - 0x15], 0
je 0x46b56b
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x46b56b
mov edx, dword [ebp - 0x10]
mov eax, dword [0x5768c4]
call fcn.0046accc
inc edi
dec esi
jne 0x46b4ba
mov eax, dword [0x5768c4]
cmp dword [eax + 8], 0
jle 0x46b58b
mov eax, dword [0x5768c4]
call fcn.0046ad5c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46b5a4
push ebp
mov eax, dword [ebp - 0x14]
call fcn.0046b2d4
pop ecx
test al, al
jne 0x46b5a4
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470de0
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 0x470e11
je 0x470e6b
sub eax, 7
je 0x470e32
dec eax
je 0x470e5c
sub eax, 0x17
je 0x470eec
jmp 0x470f2a
add eax, 0xffffff00
sub eax, 9
jb 0x470ed8
add eax, 0xffffff09
sub eax, 0xb
jb 0x470ec2
jmp 0x470f2a
mov eax, ebx
call fcn.0045d814
mov edi, eax
test edi, edi
je 0x470f8a
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x470f93
jmp 0x470f8a
test byte [ebx + 0x44], 0x20
jne 0x470f93
jmp 0x470f8a
mov edx, esi
mov eax, ebx
call fcn.0046e6d4
cmp dword [esi + 0xc], 0xffffffff
jne 0x470f93
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00488b80
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0046d184
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00470c90
test eax, eax
je 0x470f93
mov dword [esi + 0xc], 1
jmp 0x470f93
mov edx, esi
mov eax, ebx
call fcn.00470d54
test al, al
jne 0x470f93
jmp 0x470f8a
mov eax, ebx
call fcn.0046dd4c
test al, al
jne 0x470f93
jmp 0x470f8a
mov eax, ebx
call fcn.00473310
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x470f8a
cmp dword [0x4f90d4], 0
je 0x470f8a
mov eax, dword [0x4f90d4]
cmp ebx, dword [eax + 0x24]
jne 0x470f8a
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4f90d4]
call fcn.0046e5f0
jmp 0x470f8a
mov eax, dword [0x576888]
cmp byte [eax + 0x20], 0
je 0x470f8a
mov eax, dword [0x576888]
cmp dword [eax + 0x1c], 0
je 0x470f8a
mov eax, dword [esi]
mov edx, dword [0x576888]
cmp eax, dword [edx + 0x1c]
jne 0x470f8a
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.0045d728
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, 0xffb9
call fcn.00490588
jmp 0x470f93
mov edx, esi
mov eax, ebx
call fcn.0046e6d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471424
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 0x471440
cmp dword [esi + 4], 0
je 0x47146d
test byte [ebx + 0x45], 1
jne 0x47145f
mov eax, ebx
call fcn.0047049c
test eax, eax
jne 0x47145f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x47157d
mov edx, esi
mov eax, ebx
call fcn.0047109c
jmp 0x47157d
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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 0x471576
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00473310
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.0046e5f0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00471424
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 + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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.00473310
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47157d
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