joyce8/EMBER2024-capa huggingface dataset:
Function at 0x495390
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x55c580]
test esi, esi
jle 0x4954a0
mov edi, dword [0x55c584]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x4953c4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x495445
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x4953b0
mov dword [esp], eax
mov ebx, eax
call fcn.00495c80
test eax, eax
mov edi, eax
je 0x4954c7
mov eax, dword [0x55c584]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00495d80
add eax, dword [edi + 0xc]
mov edx, dword [0x55c584]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4954a7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x49543e
sub eax, 4
and eax, 0xfffffffb
jne 0x495450
add dword [0x55c580], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x55c584]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x49543e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004ad120
lea esi, [esi]
xor esi, esi
jmp 0x4953ce
mov eax, dword [0x55c584]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.004ad120
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004ad120
mov esi, esi
lea edi, [edi]

Function at 0x495900
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x55c598
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x55c590]
sub esp, 4
test ebx, ebx
je 0x495955
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x49594e
test esi, esi
je 0x49594e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x495930
mov dword [esp], 0x55c598
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x495ee0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x49606c
mov eax, dword [esp + 0x3c]
add eax, 1
lea edx, [eax*4]
cmp eax, 0x20000000
mov eax, 0xffffffff
cmovb eax, edx
mov dword [esp], eax
call sub.libstdc_6.dll_operator_new___unsigned_int_
mov edx, dword [esp + 0x3c]
mov edi, eax
test edx, edx
je 0x495ffc
xor ebx, ebx
nop
lea esi, [esi]
mov eax, dword [esp + 0x2c]
mov ebp, dword [eax + ebx*4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebp
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp], eax
mov dword [esp + 0x28], eax
call sub.libstdc_6.dll_operator_new___unsigned_int_
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
mov esi, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebp
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [edi + ebx*4], esi
add ebx, 1
sub esp, 0x20
cmp dword [esp + 0x3c], ebx
jne 0x495f50
lea eax, [edi + ebx*4]
mov dword [eax], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
sub esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00401650
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x496058
mov eax, dword [edi]
test eax, eax
je 0x496058
xor ebx, ebx
jmp 0x496047
mov eax, dword [edi + ebx*4]
test eax, eax
je 0x496058
mov dword [esp], eax
add ebx, 1
call sub.libstdc_6.dll_operator_delete___void_
cmp dword [esp + 0x3c], ebx
jne 0x496040
mov dword [esp], edi
call sub.libstdc_6.dll_operator_delete___void_
add esp, 0x4c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov esi, 0xffffffff
jmp 0x496060
Function at 0x4ad120
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0049afd0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.0049afd0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
jmp fcn.004014e0
Function at 0x402ae4
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.00404b04
test esi, esi
jne 0x402b1a
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.00404bf4
jmp 0x402b38
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029f8
mov edi, eax
test esi, esi
je 0x402b38
cmp dword [ebx], 0
je 0x402b38
dec esi
jmp 0x402b21
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4036b0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
movzx eax, word [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x4036e3
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x4036ea
cmp edx, dword [ebx + 8]
je 0x4036f4
mov eax, 0x65
jmp 0x4036ef
mov eax, 5
jmp 0x4036ef
call sub.kernel32.dll_GetLastError
call fcn.00402938
mov eax, ebx
pop ebx
ret

Function at 0x403c08
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4ab00c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403ca0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403c80
xor eax, eax
push ebp
push 0x403c79
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 0x403cbc
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 0x403c80
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4ab00c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4ab00c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404988
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ae04c], 0
je 0x4049e9
cmp word [0x4ae220], 0xd7b2
jne 0x4049b1
cmp dword [0x4ae228], 0
jbe 0x4049b1
mov eax, 0x4ae21c
call dword [0x4ae238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ab074
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 0x404a10
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ab01c], 0
jne 0x404a05
push 0
push 0x4ab094
push 0x4ab074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408e78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xc], eax
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x40901d
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x34
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x409034
lea eax, [ebp - 0x114]
mov edx, ebx
call fcn.00404ce4
push dword [ebp - 0x114]
push 0x409058
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00404e7c
mov eax, dword [ebp - 0x110]
call fcn.00404fb4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x408fed
mov dword [esi], 0xff
push esi
lea eax, [ebp - 0x10b]
push eax
push esi
push 0
push 0x40905c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x408fe4
lea eax, [ebp - 0xc]
call fcn.00404b04
mov dword [esi], 1
jmp 0x408f70
lea eax, [ebp - 0x118]
mov edx, dword [esi]
mov dl, byte [ebp + edx - 0x10c]
call fcn.00404ce4
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0xc]
call fcn.00404dc4
inc dword [esi]
mov eax, dword [esi]
cmp byte [ebp + eax - 0x10c], 0
jne 0x408f4c
push 0x40906c
push dword [ebp - 0xc]
push 0x409078
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.00404e7c
mov eax, dword [ebp - 0x11c]
push eax
lea eax, [ebp - 0x120]
mov ecx, 0x409094
mov edx, dword [ebp - 0xc]
call fcn.00404e08
mov eax, dword [ebp - 0x120]
push eax
push dword [ebp - 0xc]
push 0x4090ac
push 0x4090d0
lea eax, [ebp - 0x124]
mov edx, 3
call fcn.00404e7c
mov eax, dword [ebp - 0x124]
pop edx
pop ecx
call fcn.0040899c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
inc ebx
cmp bl, 0x38
jne 0x408ebf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409024
lea eax, [ebp - 0x124]
mov edx, 6
call fcn.00404b28
lea eax, [ebp - 0xc]
call fcn.00404b04
ret

Function at 0x40d894
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 0x40d8cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404bf4
jmp 0x40d8d6
mov eax, ebx
mov edx, esi
call fcn.00404b58
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d8e0
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 0x40d901
mov al, byte [esp]
jmp 0x40d903
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40df88
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40de00
mov eax, dword [0x4ad504]
cmp byte [eax], 0
je 0x40dff0
mov eax, dword [0x4ad1f4]
call fcn.00402f5c
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040a84c
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 0x40e038
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e026
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4ad18c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ae718]
call fcn.004063e4
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 0x40eea4
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 0x40ef08
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.00404d6c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040a438
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ef0f
lea eax, [ebp - 0xc]
call fcn.00404b04
ret

Function at 0x42342c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4aea24
cmp dword [edi], 0
jne 0x4234a8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4aea20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ab634
mov ecx, 2
call fcn.004029b8
mov edx, 0x423404
lea eax, [esi + 5]
call fcn.00423424
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423424
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 0x42347d
mov dword [0x4aea20], 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 0x4249a4
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 0x4249aa
ret
Function at 0x426fc4
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 0x427015
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426ffc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426fec
jmp 0x427015
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 0x426ffd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d528
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.00404fa4
xor eax, eax
push ebp
push 0x43d656
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43d629
xor eax, eax
push ebp
push 0x43d622
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404dbc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43d5f7
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 0x43d5e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404dbc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404fb4
mov edx, ebx
pop ecx
call fcn.004029b8
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 0x43d5ed
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4ad0f0]
mov dl, 1
mov eax, dword [0x409140]
call fcn.0040e158
call fcn.00404564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d65d
lea eax, [ebp - 4]
call fcn.00404b04
ret
Function at 0x43d664
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 0x43d815
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004051a4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x43d82c
call fcn.00404e08
mov eax, ebx
call fcn.004223ac
mov edi, eax
dec edi
test edi, edi
jl 0x43d71c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00422380
mov edx, dword [0x432114]
call fcn.00403f24
test al, al
je 0x43d718
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00422380
lea edx, [ebp - 0x14]
call fcn.004444cc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004051a4
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e7c
inc esi
dec edi
jne 0x43d6ca
mov al, byte [0x43d830]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43d83c
mov eax, dword [ebp - 0xc]
call fcn.0040f47c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404b9c
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.004444cc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43d82c
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.004444cc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43d82c
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, 0x43d82c
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, 0x43d848
call fcn.0040afdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d81c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404b28
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404b28
lea eax, [ebp - 0x14]
call fcn.00404b04
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404b28
ret

Function at 0x43edc8
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 0x43ed14
call sub.user32.dll_EnumWindows
ret
Function at 0x43eeec
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 0x43ef69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043e938
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 0x43ef11
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043e590
cmp dword [ebp - 4], 0
je 0x43ef53
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404fb4
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 0x43ef70
lea eax, [ebp - 4]
call fcn.00404b04
ret

Function at 0x442034
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 [0x4aebe0], 0
je 0x442183
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ad46c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x442183
mov eax, dword [0x4aebe4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4aebe0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x442152
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4aebe0]
call fcn.00419e7c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44214a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44214a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44214a
mov eax, dword [ebp - 0x14]
call fcn.0044ab4c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44214a
push ebp
call fcn.00441ff0
pop ecx
test al, al
jne 0x44214a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x442106
mov eax, dword [ebp - 0x14]
call fcn.004496e0
dec eax
jle 0x44214a
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.00403f94
cmp byte [ebp - 1], 0
je 0x44214a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44214a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4aebe4]
call fcn.004417b8
inc edi
dec ebx
jne 0x442099
mov eax, dword [0x4aebe4]
cmp dword [eax + 8], 0
jle 0x44216a
mov eax, dword [0x4aebe4]
call fcn.00441848
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x442183
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00441e58
pop ecx
test al, al
jne 0x442183
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 0x44574c
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 0x445798
mov eax, esi
call fcn.0045b130
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x445798
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x445798
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 0x4458dc
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4457d8
cmp eax, 0x108
ja 0x4457d8
mov eax, esi
call fcn.0045b130
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4458d3
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4458dc
jmp 0x4458d3
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4458ba
cmp eax, 0x20a
ja 0x4458ba
test byte [esi + 0x50], 0x80
jne 0x44580a
sub eax, 0x203
je 0x445807
sub eax, 3
je 0x445807
sub eax, 3
jne 0x44580a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44581e
dec eax
je 0x445833
dec eax
je 0x445853
dec eax
je 0x445833
jmp 0x44585a
mov ecx, ebx
mov eax, dword [0x4ad46c]
mov eax, dword [eax]
mov edx, esi
call fcn.0046481c
jmp 0x4458d3
cmp byte [esi + 0x5d], 1
jne 0x445849
mov eax, esi
mov si, 0xffed
call fcn.00403f94
jmp 0x4458dc
or word [esi + 0x54], 1
jmp 0x4458d3
and word [esi + 0x54], 0xfffe
jmp 0x4458d3
mov eax, dword [0x4aeb9c]
cmp byte [eax + 0x20], 0
je 0x4458d3
mov eax, dword [0x4aeb9c]
cmp dword [eax + 0x1c], 0
je 0x4458d3
mov eax, dword [ebx]
mov edx, dword [0x4aeb9c]
cmp eax, dword [edx + 0x1c]
jne 0x4458d3
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.0045b074
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.00403f94
jmp 0x4458dc
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x4458d3
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044406c
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