joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407490
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb8]
lea eax, [esp + 0xc]
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x38]
push 0x80
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov edi, eax
call ebx
mov esi, dword [esp + 0xc0]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x12
call ebx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [0x415284]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push esi
call ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
inc eax
dec ecx
inc edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
push 0
lea ecx, [esp + 0x3c]
push edi
lea edx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
push edx
push 2
push 1
dec eax
push 4
push esi
mov dword [esp + 0x54], eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov eax, dword [0x41527c]
mov edx, dword [esp + 0x14]
sub edi, ebx
mov ebx, dword [esp + 0x1c]
push eax
push esi
sub ebx, edx
call ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.GDI32.dll_PatBlt]
push 0xf00021
push ebx
push 1
push ecx
push edx
push esi
mov dword [esp + 0x3c], eax
call ebp
mov eax, dword [esp + 0x14]
push 0xf00021
push 1
push edi
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push esi
call ebp
mov edx, dword [0x415280]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
dec ebx
push 0xf00021
push ebx
inc eax
push 1
dec ecx
push eax
push ecx
push esi
call ebp
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 0xf00021
dec edi
push 1
dec edx
push edi
inc eax
push edx
push eax
push esi
call ebp
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4075d6
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4075e6
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
Function at 0x40a23a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x411c00
cmp edx, dword [eax]
je 0x40a25c
add eax, 8
inc ecx
cmp eax, 0x411c90
jl 0x40a24d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x411c00]
jne 0x40a38a
mov eax, dword [0x4152a8]
cmp eax, 1
je 0x40a364
test eax, eax
jne 0x40a28d
cmp dword [0x411904], 1
je 0x40a364
cmp edx, 0xfc
je 0x40a38a
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a2c4
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040bad0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004096d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40a307
lea eax, [ebp - 0x1a4]
push eax
call fcn.004096d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40f9c0
push edi
call fcn.0040d3d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040bad0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040bae0
lea eax, [ebp - 0xa0]
push 0x40f9a0
push eax
call fcn.0040bae0
push dword [esi + 0x411c04]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040bae0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040d338
add esp, 0x2c
pop edi
jmp 0x40a38a
lea eax, [ebp + 8]
lea esi, [esi + 0x411c04]
push 0
push eax
push dword [esi]
call fcn.004096d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402f90
Capabilities:
Query or enumerate registry value

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

Function at 0x403cf4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47504c], 0
je 0x403d55
cmp word [0x475220], 0xd7b2
jne 0x403d1d
cmp dword [0x475228], 0
jbe 0x403d1d
mov eax, 0x47521c
call dword [0x475238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47306c
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 0x403d7c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x473030], 0
jne 0x403d71
push 0
push 0x473064
push 0x47306c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4054a8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4056d8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40552b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4056d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40552b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4056f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4055b4
xor eax, eax
push ebp
push 0x4055ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004052f0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405592
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405714
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405592
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4055b4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4056ce
cmp byte [ebp - 0xd], 0
jne 0x4055fb
cmp byte [ebp - 0x12], 0
je 0x4056ce
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405614
dec ebx
cmp byte [ebx], 0x2e
je 0x405623
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405613
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4056ce
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405660
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4056ce
cmp byte [ebp - 0xd], 0
je 0x4056ce
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4056ce
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405da0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405e06
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004040e0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b54
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405df0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e0d
lea eax, [ebp - 0x10]
call fcn.00403e70
ret

Function at 0x40b1a4
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 0x40b1dd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f60
jmp 0x40b1e6
mov eax, ebx
mov edx, esi
call fcn.00403ec4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b1f0
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 0x40b211
mov al, byte [esp]
jmp 0x40b213
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b898
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b710
mov eax, dword [0x474aac]
cmp byte [eax], 0
je 0x40b914
mov eax, dword [0x4748ac]
call fcn.004029c0
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004089c0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
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 0x40b95c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b94a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x474858]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x475668]
call fcn.004052b4
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 0x40c1f8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c2ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f08
lea eax, [ebp - 8]
call fcn.00404380
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404330
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c2b8
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c2b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404330
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c29b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c2e0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c29b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2b8
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2d5
lea eax, [ebp - 8]
call fcn.00403e70
ret

Function at 0x40c7e0
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 0x40c844
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.004040e0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408424
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c84b
lea eax, [ebp - 0xc]
call fcn.00403e70
ret

Function at 0x41dc00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x475888
cmp dword [edi], 0
jne 0x41dc7c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x475884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4733fc
mov ecx, 2
call fcn.004028c8
mov edx, 0x41dbd8
lea eax, [esi + 5]
call fcn.0041dbf8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041dbf8
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 0x41dc51
mov dword [0x475884], 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 0x41f208
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 0x41f20e
ret
Function at 0x4216a4
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 0x4216f5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4216dc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4216cc
jmp 0x4216f5
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 0x4216dd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a528
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.00404320
xor eax, eax
push ebp
push 0x42a656
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42a629
xor eax, eax
push ebp
push 0x42a622
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404130
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42a5f7
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 0x42a5e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404130
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404330
mov edx, ebx
pop ecx
call fcn.004028c8
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 0x42a5ed
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4747f4]
mov dl, 1
mov eax, dword [0x407140]
call fcn.0040ba1c
call fcn.004038ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a65d
lea eax, [ebp - 4]
call fcn.00403e70
ret
Function at 0x42a664
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 0x42a815
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404520
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42a82c
call fcn.0040417c
mov eax, ebx
call fcn.0041d194
mov edi, eax
dec edi
test edi, edi
jl 0x42a71c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041d168
mov edx, dword [0x42f354]
call fcn.004032ac
test al, al
je 0x42a718
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041d168
lea edx, [ebp - 0x14]
call fcn.00439090
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404520
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004041f0
inc esi
dec edi
jne 0x42a6ca
mov al, byte [0x42a830]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42a83c
mov eax, dword [ebp - 0xc]
call fcn.0040cdb8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00403f08
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.00439090
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42a82c
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 + 0x2f8]
call fcn.00439090
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42a82c
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, 0x42a82c
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, 0x42a848
call fcn.004090ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a81c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403e94
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403e94
lea eax, [ebp - 0x14]
call fcn.00403e70
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403e94
ret

Function at 0x433a78
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 0x4339c4
call sub.user32.dll_EnumWindows
ret
Function at 0x433b98
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 0x433c15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004335f8
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 0x433bbd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004331f8
cmp dword [ebp - 4], 0
je 0x433bff
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404330
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 0x433c1c
lea eax, [ebp - 4]
call fcn.00403e70
ret

Function at 0x436be0
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 [0x475b84], 0
je 0x436d2f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x474a40]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x436d2f
mov eax, dword [0x475b88]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x475b84]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x436cfe
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x475b84]
call fcn.004171d0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x436cf6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x436cf6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x436cf6
mov eax, dword [ebp - 0x14]
call fcn.0043f878
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x436cf6
push ebp
call fcn.00436b9c
pop ecx
test al, al
jne 0x436cf6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x436cb2
mov eax, dword [ebp - 0x14]
call fcn.0043e3a8
dec eax
jle 0x436cf6
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.0040331c
cmp byte [ebp - 1], 0
je 0x436cf6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x436cf6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x475b88]
call fcn.00436368
inc edi
dec ebx
jne 0x436c45
mov eax, dword [0x475b88]
cmp dword [eax + 8], 0
jle 0x436d16
mov eax, dword [0x475b88]
call fcn.004363f8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x436d2f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00436a04
pop ecx
test al, al
jne 0x436d2f
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