joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44aed0
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp byte [edi + 0xb42], 0
je 0x44af6c
cmp dword [edi + 0x600], 0
push esi
je 0x44af21
push 1
push edi
call fcn.004417c0
push dword [edi + 0x594]
mov eax, dword [edi + 0x600]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.004417c0
add esp, 0x24
mov eax, esi
pop esi
pop edi
ret
mov edx, dword [esp + 0x10]
mov ecx, edx
sub ecx, 0
je 0x44af36
sub ecx, 1
je 0x44af36
sub ecx, 1
jne 0x44af67
push dword [edi + 0x590]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite_1]
lea eax, [edx*2 + 0x471d34]
push 1
add eax, edx
push 2
push eax
call esi
push dword [edi + 0x590]
push 1
push dword [esp + 0x30]
push dword [esp + 0x30]
call esi
add esp, 0x20
pop esi
xor eax, eax
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x455a60
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x455a7a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x474d8c
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
add esp, 8
test eax, eax
je 0x455ac3
test ebp, ebp
je 0x455ab4
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x455ae9
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x455ae9
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x455b9b
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x455b06
sub ecx, ebx
lea eax, [edx + 1]
push str.C:dev_vcpkg_buildtreescurl_srce5cd7b457b_e7993911b1.cleanlib_system_win32.c
add eax, ecx
push 0xd5
push eax
call sym.curl_dbg_malloc
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x455b88
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x455b88
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x455b41
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x455b58
sub ecx, edx
sub ecx, esi
add ecx, ebx
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x455b65
test ebp, ebp
je 0x455b7f
push 8
push 0
push ebx
call ebp
jmp 0x455b86
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.C:dev_vcpkg_buildtreescurl_srce5cd7b457b_e7993911b1.cleanlib_system_win32.c
push 0xe2
push ebx
call sym.curl_dbg_free
add esp, 0xc
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x45c700
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x28
mov eax, dword [0x47d370]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
mov esi, ebx
mov dword [esp + 0xc], eax
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45c723
sub esi, ecx
cmp byte [ebx], 0x5b
jne 0x45c85c
cmp esi, 4
jb 0x45c86f
inc ebx
sub esi, 2
cmp byte [ebx + esi], 0x5d
lea ebp, [ebx + esi]
jne 0x45c86f
push str.0123456789abcdefABCDEF:.
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strspn]
add esp, 8
cmp esi, eax
je 0x45c822
cmp byte [ebx + eax], 0x25
lea ebp, [ebx + eax]
jne 0x45c86f
push 2
lea esi, [ebp + 1]
xor edi, edi
push 0x476024
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x45c79d
mov cl, byte [esi + 2]
lea eax, [esi + 2]
test cl, cl
je 0x45c79d
cmp cl, 0x5d
cmovne esi, eax
mov al, byte [esi]
test al, al
je 0x45c86f
lea ecx, [esp + 0x14]
sub ecx, esi
nop dword [eax]
cmp al, 0x5d
je 0x45c7c5
cmp edi, 0xf
jge 0x45c7c5
mov byte [ecx + esi], al
inc edi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x45c7b0
test edi, edi
je 0x45c86f
cmp byte [esi], 0x5d
jne 0x45c86f
cmp edi, 0x10
jae 0x45c887
push str.C:dev_vcpkg_buildtreescurl_srce5cd7b457b_e7993911b1.cleanliburlapi.c
lea eax, [esp + 0x18]
mov byte [esp + edi + 0x18], 0
push 0x27f
push eax
call sym.curl_dbg_strdup
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x45c81e
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004699fc
add esp, 0x28
ret
mov byte [ebp + 1], 0
lea eax, [esp + 0x24]
mov byte [ebp], 0
push eax
push ebx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x45c86f
mov byte [ebp], 0x5d
pop edi
xor eax, eax
mov ecx, 0xe
cmp byte [ebx], al
pop esi
pop ebp
cmove eax, ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004699fc
add esp, 0x28
ret
push 0x46cf04
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcspn]
add esp, 8
cmp esi, eax
je 0x45c83d
mov ecx, dword [esp + 0x34]
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004699fc
add esp, 0x28
ret
call fcn.00469bdc
int3
Function at 0x4905a0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x10]
mov edx, 0x40000000
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
mov dword [esi], 0
mov eax, edi
sub eax, ecx
cmp eax, 0x40000000
cmova eax, edx
push eax
lea eax, [ecx + ebp]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read_1]
add esp, 0xc
test eax, eax
jle 0x4905f3
mov ecx, dword [esi]
mov edx, 0x40000000
add ecx, eax
mov dword [esi], ecx
cmp ecx, edi
jb 0x4905c1
test eax, eax
jns 0x490617
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno_1]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror_1]
push eax
push 0xffffffffffffffff
push ebx
call fcn.0048f8d0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
test eax, eax
jne 0x490622
mov dword [ebx + 0x40], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x4a1000
Capabilities:
Terminate process

Disassembly:
push 0
push 1
push 0
call fcn.004972a4
jmp loc.00483000
Function at 0x403008
Capabilities:
Query or enumerate registry value

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

Function at 0x403d6c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46704c], 0
je 0x403dcd
cmp word [0x467220], 0xd7b2
jne 0x403d95
cmp dword [0x467228], 0
jbe 0x403d95
mov eax, 0x46721c
call dword [0x467238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46506c
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 0x403df4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x465030], 0
jne 0x403de9
push 0
push 0x465064
push 0x46506c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405d3c
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 0x405da2
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.00404158
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bcc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405d8c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405da9
lea eax, [ebp - 0x10]
call fcn.00403ee8
ret

Function at 0x40aff4
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 0x40b02d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fd8
jmp 0x40b036
mov eax, ebx
mov edx, esi
call fcn.00403f3c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b6e8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b560
mov eax, dword [0x4662b4]
cmp byte [eax], 0
je 0x40b764
mov eax, dword [0x4660b0]
call fcn.00402a38
call fcn.004028ac
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.00408834
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 0x40b7ac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b79a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46605c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x467668]
call fcn.00405234
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 0x40c054
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 0x40c12a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f80
lea eax, [ebp - 8]
call fcn.004043f8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043a8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c114
mov eax, ebx
call fcn.00402744
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c10d
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.004043a8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c0f7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c13c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c0f7
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 0x40c114
mov eax, dword [ebp - 0x10]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c131
lea eax, [ebp - 8]
call fcn.00403ee8
ret

Function at 0x40c63c
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 0x40c6a0
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.00404158
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040835c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6a7
lea eax, [ebp - 0xc]
call fcn.00403ee8
ret

Function at 0x41def0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x467888
cmp dword [edi], 0
jne 0x41df6c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x467884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4653fc
mov ecx, 2
call fcn.00402940
mov edx, 0x41dec8
lea eax, [esi + 5]
call fcn.0041dee8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041dee8
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 0x41df41
mov dword [0x467884], 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 0x41f598
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 0x41f59e
ret
Function at 0x421a6c
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 0x421abd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421aa4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421a94
jmp 0x421abd
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 0x421aa5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42abf8
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.00404398
xor eax, eax
push ebp
push 0x42ad26
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42acf9
xor eax, eax
push ebp
push 0x42acf2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041a8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42acc7
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 0x42acb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041a8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004043a8
mov edx, ebx
pop ecx
call fcn.00402940
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 0x42acbd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x465ff0]
mov dl, 1
mov eax, dword [0x4070cc]
call fcn.0040b878
call fcn.00403924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ad2d
lea eax, [ebp - 4]
call fcn.00403ee8
ret
Function at 0x42ad34
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 0x42aee5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404598
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42aefc
call fcn.004041f4
mov eax, ebx
call fcn.0041d484
mov edi, eax
dec edi
test edi, edi
jl 0x42adec
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041d458
mov edx, dword [0x432738]
call fcn.00403324
test al, al
je 0x42ade8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041d458
lea edx, [ebp - 0x14]
call fcn.0043b03c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404598
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404268
inc esi
dec edi
jne 0x42ad9a
mov al, byte [0x42af00]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42af0c
mov eax, dword [ebp - 0xc]
call fcn.0040cc14
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00403f80
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.0043b03c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42aefc
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.0043b03c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42aefc
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, 0x42aefc
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, 0x42af18
call fcn.00408efc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aeec
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403f0c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403f0c
lea eax, [ebp - 0x14]
call fcn.00403ee8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403f0c
ret

Function at 0x43571c
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 0x435668
call sub.user32.dll_EnumWindows
ret
Function at 0x43583c
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 0x4358b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043529c
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 0x435861
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00434e9c
cmp dword [ebp - 4], 0
je 0x4358a3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004043a8
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 0x4358c0
lea eax, [ebp - 4]
call fcn.00403ee8
ret

Function at 0x438b8c
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 [0x467b84], 0
je 0x438cdb
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x466248]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x438cdb
mov eax, dword [0x467b88]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x467b84]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x438caa
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x467b84]
call fcn.004174a8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x438ca2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x438ca2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x438ca2
mov eax, dword [ebp - 0x14]
call fcn.0044185c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x438ca2
push ebp
call fcn.00438b48
pop ecx
test al, al
jne 0x438ca2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x438c5e
mov eax, dword [ebp - 0x14]
call fcn.00440354
dec eax
jle 0x438ca2
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.00403394
cmp byte [ebp - 1], 0
je 0x438ca2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x438ca2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x467b88]
call fcn.00438314
inc edi
dec ebx
jne 0x438bf1
mov eax, dword [0x467b88]
cmp dword [eax + 8], 0
jle 0x438cc2
mov eax, dword [0x467b88]
call fcn.004383a4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x438cdb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004389b0
pop ecx
test al, al
jne 0x438cdb
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 0x43c2bc
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 0x43c308
mov eax, esi
call fcn.00452048
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43c308
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43c308
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 0x43c447
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43c348
cmp eax, 0x108
ja 0x43c348
mov eax, esi
call fcn.00452048
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43c43e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43c447
jmp 0x43c43e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43c427
cmp eax, 0x20a
ja 0x43c427
test byte [esi + 0x50], 0x80
jne 0x43c37a
sub eax, 0x203
je 0x43c377
sub eax, 3
je 0x43c377
sub eax, 3
jne 0x43c37a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43c38e
dec eax
je 0x43c3a3
dec eax
je 0x43c3c0
dec eax
je 0x43c3a3
jmp 0x43c3c7
mov ecx, ebx
mov eax, dword [0x466248]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b7f4
jmp 0x43c43e
cmp byte [esi + 0x5d], 1
jne 0x43c3b9
mov eax, esi
mov si, 0xffed
call fcn.00403394
jmp 0x43c447
or word [esi + 0x54], 1
jmp 0x43c43e
and word [esi + 0x54], 0xfffe
jmp 0x43c43e
mov eax, dword [0x467b40]
cmp byte [eax + 0x20], 0
je 0x43c43e
mov eax, dword [0x467b40]
cmp dword [eax + 0x1c], 0
je 0x43c43e
mov eax, dword [ebx]
mov edx, dword [0x467b40]
cmp eax, dword [edx + 0x1c]
jne 0x43c43e
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.00451f8c
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.00403394
jmp 0x43c447
cmp eax, 0xb00b
jne 0x43c43e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043abdc
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