joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466bf0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
push esi
mov esi, dword [esp + 0x118]
mov eax, 0x10624dd3
mov dword [esp + 0xc], 1
mul esi
shr edx, 6
mov dword [esp + 4], edx
mov eax, esi
xor edx, edx
mov esi, 0x3e8
div esi
mov eax, dword [ecx + 4]
lea ecx, [esp + 4]
push ecx
push 0
push 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
lea edx, [esp + 0x18]
push edx
push 0
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
pop esi
jne 0x466c50
xor eax, eax
add esp, 0x10c
ret 8
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x10
lea eax, [ebp - 0x14]
push 0
mov esi, ecx
push eax
call fcn.0046a0d0
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call sub.WS2_32.dll_getsockname
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
test esi, esi
je 0x47d6bb
push dword [ebp - 0x12]
call sub.WS2_32.dll_ntohs
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x10]
movzx eax, ax
mov dword [ecx], eax
call sub.WS2_32.dll_inet_ntoa
mov ecx, dword [ebp + 8]
push eax
call fcn.004757c2
mov eax, esi
pop esi
leave
ret 8

Function at 0x47d8bd
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WS2_32.dll_send
ret 0xc

Function at 0x47fd10
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x47fdb3
test eax, eax
jbe 0x47fdb3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x47fdb3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47fd5e
xor esi, esi
jmp 0x47fd64
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47fd8f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040f990
add esi, eax
push esi
mov ebx, esi
call fcn.0040f990
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x47fd70
pop ebp
test edi, edi
pop edi
jne 0x47fdb3
test ebx, ebx
je 0x47fdb3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00491ce0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x47fef5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48000d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48000d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004a33bf
mov esi, eax
test esi, esi
je 0x48000d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x48000d
mov ecx, esi
call fcn.0047fe60
cmp edi, eax
jge 0x48000d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x47ff93
mov dword [esp + 0x34], 1
jmp 0x47ffee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x48000d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0047f3d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4a3d62
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a3d9a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a1dcc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a1da4
jmp 0x4a3da6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a5450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a5492
call fcn.004ab192
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a5492
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a5489
xor eax, eax
jmp 0x4a549a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a54a0
pop edi
pop esi
pop ebx
ret 4
Function at 0x4ab6c2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4ab6f0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ab70e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ab628
jmp 0x4ab70e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ab70e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ab628
test edi, edi
mov eax, edi
jne 0x4ab6f8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402b20
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404860
test esi, esi
jne 0x402b56
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404950
jmp 0x402b74
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a34
mov edi, eax
test esi, esi
je 0x402b74
cmp dword [ebx], 0
je 0x402b74
dec esi
jmp 0x402b5d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4038e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4c200c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403978
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403958
xor eax, eax
push ebp
push 0x403951
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403994
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403958
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4c200c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4c200c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404660
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c504c], 0
je 0x4046c1
cmp word [0x4c5220], 0xd7b2
jne 0x404689
cmp dword [0x4c5228], 0
jbe 0x404689
mov eax, 0x4c521c
call dword [0x4c5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4c2074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4046e8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4c201c], 0
jne 0x4046dd
push 0
push 0x4c2094
push 0x4c2074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404814
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027ec
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4c504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4047dc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40c378
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c3b1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404950
jmp 0x40c3ba
mov eax, ebx
mov edx, esi
call fcn.004048b4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c3c4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c3e5
mov al, byte [esp]
jmp 0x40c3e7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ca6c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c8e4
mov eax, dword [0x4c3ee0]
cmp byte [eax], 0
je 0x40cad9
mov eax, dword [0x4c3c58]
call fcn.00402f44
call fcn.00402954
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004099a4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40cb20
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cb0f
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4c3bf4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c5718]
call fcn.00406144
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40d904
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d968
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404ac8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409340
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d96f
lea eax, [ebp - 0xc]
call fcn.00404860
ret

Function at 0x427568
Capabilities:
Suspend thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0xe], 1
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, ebx
call fcn.004273ec
pop ebx
ret

Function at 0x427588
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004273ec
dec esi
jne 0x4275aa
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4286d4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c5a80
cmp dword [edi], 0
jne 0x428750
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4c5a7c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c261c
mov ecx, 2
call fcn.004029f4
mov edx, 0x4286ac
lea eax, [esi + 5]
call fcn.004286cc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004286cc
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 0x428725
mov dword [0x4c5a7c], 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 0x429d1c
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 0x429d22
ret

Function at 0x42c2e4
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 0x42c335
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42c31c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42c30c
jmp 0x42c335
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 0x42c31d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442ddc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404d00
xor eax, eax
push ebp
push 0x442f0a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x442edd
xor eax, eax
push ebp
push 0x442ed6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b18
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x442eab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x442e9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b18
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404d10
mov edx, ebx
pop ecx
call fcn.004029f4
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442ea1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4c3b68]
mov dl, 1
mov eax, dword [0x408010]
call fcn.0040cbec
call fcn.0040423c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442f11
lea eax, [ebp - 4]
call fcn.00404860
ret
Function at 0x442f18
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4430c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404f00
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4430e0
call fcn.00404b64
mov eax, ebx
call fcn.00427c74
mov edi, eax
dec edi
test edi, edi
jl 0x442fd0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00427c48
mov edx, dword [0x438090]
call fcn.00403bfc
test al, al
je 0x442fcc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00427c48
lea edx, [ebp - 0x14]
call fcn.0044a044
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404f00
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bd8
inc esi
dec edi
jne 0x442f7e
mov al, byte [0x4430e4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4430f0
mov eax, dword [ebp - 0xc]
call fcn.0040dedc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004048f8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044a044
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4430e0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0044a044
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4430e0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4430e0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4430fc
call fcn.0040a164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4430d0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404884
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404884
lea eax, [ebp - 0x14]
call fcn.00404860
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404884
ret

Function at 0x444654
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4445a0
call sub.user32.dll_EnumWindows
ret
Function at 0x444778
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4447f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004441c4
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x44479d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00443e1c
cmp dword [ebp - 4], 0
je 0x4447df
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404d10
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4447fc
lea eax, [ebp - 4]
call fcn.00404860
ret

Function at 0x447b84
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 - 9]
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
cmp dword [0x4c5c3c], 0
je 0x447cd3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4c3e58]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x447cd3
mov eax, dword [0x4c5c40]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4c5c3c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x447ca2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4c5c3c]
call fcn.0041e148
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x447c9a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x447c9a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x447c9a
mov eax, dword [ebp - 0x14]
call fcn.00450820
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x447c9a
push ebp
call fcn.00447b40
pop ecx
test al, al
jne 0x447c9a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x447c56
mov eax, dword [ebp - 0x14]
call fcn.0044f37c
dec eax
jle 0x447c9a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403c6c
cmp byte [ebp - 1], 0
je 0x447c9a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x447c9a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4c5c40]
call fcn.00447308
inc edi
dec ebx
jne 0x447be9
mov eax, dword [0x4c5c40]
cmp dword [eax + 8], 0
jle 0x447cba
mov eax, dword [0x4c5c40]
call fcn.00447398
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x447cd3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004479a8
pop ecx
test al, al
jne 0x447cd3
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 0x44b2c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44b310
mov eax, esi
call fcn.00461e38
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44b310
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44b310
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44b44f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44b350
cmp eax, 0x108
ja 0x44b350
mov eax, esi
call fcn.00461e38
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44b446
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x44b44f
jmp 0x44b446
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44b42f
cmp eax, 0x20a
ja 0x44b42f
test byte [esi + 0x50], 0x80
jne 0x44b382
sub eax, 0x203
je 0x44b37f
sub eax, 3
je 0x44b37f
sub eax, 3
jne 0x44b382
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44b396
dec eax
je 0x44b3ab
dec eax
je 0x44b3c8
dec eax
je 0x44b3ab
jmp 0x44b3cf
mov ecx, ebx
mov eax, dword [0x4c3e58]
mov eax, dword [eax]
mov edx, esi
call fcn.0046b5b4
jmp 0x44b446
cmp byte [esi + 0x5d], 1
jne 0x44b3c1
mov eax, esi
mov si, 0xffed
call fcn.00403c6c
jmp 0x44b44f
or word [esi + 0x54], 1
jmp 0x44b446
and word [esi + 0x54], 0xfffe
jmp 0x44b446
mov eax, dword [0x4c5bf8]
cmp byte [eax + 0x20], 0
je 0x44b446
mov eax, dword [0x4c5bf8]
cmp dword [eax + 0x1c], 0
je 0x44b446
mov eax, dword [ebx]
mov edx, dword [0x4c5bf8]
cmp eax, dword [edx + 0x1c]
jne 0x44b446
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00461d7c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403c6c
jmp 0x44b44f
cmp eax, 0xb00b
jne 0x44b446
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00449be4
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret