joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4a90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4a4aea
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004a4a80
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00494010
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00493c10
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4af1
lea eax, [ebp - 4]
call fcn.00404638
ret

Function at 0x4a8328
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ae8
xor eax, eax
push ebp
push 0x4a845b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a5194]
call fcn.004a567c
mov ebx, eax
mov dl, 1
mov eax, ebx
call fcn.004a6cd4
mov al, byte [0x4a846c]
mov byte [ebx + 0x111], al
mov byte [ebx + 0x104], 1
mov eax, ebx
call fcn.004a7440
add eax, 0x24
mov edx, 0x4a8478
call fcn.0040468c
mov eax, ebx
call fcn.004a7440
add eax, 4
mov edx, 0x4a84a4
call fcn.0040468c
mov eax, ebx
call fcn.004a7440
add eax, 0x70
mov edx, 0x4a84b8
call fcn.0040468c
mov eax, ebx
call fcn.004a7440
add eax, 0x50
mov edx, 0x4a8528
call fcn.0040468c
mov eax, ebx
call fcn.004a7440
add eax, 0x58
mov edx, 0x4a8578
call fcn.0040468c
mov eax, ebx
call fcn.004a7440
add eax, 0x54
mov edx, 0x4a85a0
call fcn.0040468c
mov eax, ebx
call fcn.004a7440
add eax, 0xc
mov edx, 0x4a85d4
call fcn.0040468c
xor eax, eax
push ebp
push 0x4a842e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov ecx, esi
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004a5b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a8445
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8462
lea eax, [ebp - 4]
call fcn.00404638
ret
Function at 0x4a8768
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4a8886
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x4a889c
call fcn.004046d0
mov ecx, dword [0x4b1fdc]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4a5194]
call fcn.004a567c
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4a8859
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x110], 1
mov eax, dword [ebp - 4]
call fcn.004a7440
add eax, 0x70
mov edx, 0x4a88dc
call fcn.0040468c
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a5bc8
mov edx, dword [ebp - 0xc]
mov eax, 0x4a88f0
call fcn.00404c3c
mov ebx, eax
test ebx, ebx
jle 0x4a884f
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048f8
mov ecx, eax
sub ecx, ebx
lea edx, [ebx + 1]
mov eax, dword [ebp - 0xc]
call fcn.00404b58
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00408bac
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004046d0
lea eax, [ebp - 0x18]
call fcn.004a88f4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00404a44
je 0x4a884f
mov cl, 1
mov dl, 1
mov eax, dword [0x4a82b8]
call fcn.0041f0a0
call fcn.0041f408
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a8863
lea eax, [ebp - 4]
call fcn.0040e144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a888d
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.0040465c
ret
Function at 0x4a88f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a8a38
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402b18
mov eax, dword [ebp - 0x1c]
call fcn.00404af8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4a8959
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edx, 0x4a8a50
call fcn.0040468c
mov eax, ebx
call fcn.004027f0
mov esi, eax
push esi
push ebx
push 0
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00402b18
mov eax, dword [ebp - 0x20]
call fcn.00404af8
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4a8a58
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 8]
shr edi, 0x10
mov dx, word [eax + 8]
and dx, 0xffff
mov word [ebp - 0x12], dx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 0x14], dx
mov ax, word [eax + 0xc]
and ax, 0xffff
mov word [ebp - 0x16], ax
lea edx, [ebp - 0x24]
movzx eax, di
call fcn.00408e14
push dword [ebp - 0x24]
push 0x4a8a64
lea edx, [ebp - 0x28]
movzx eax, word [ebp - 0x12]
call fcn.00408e14
push dword [ebp - 0x28]
push 0x4a8a64
lea edx, [ebp - 0x2c]
movzx eax, word [ebp - 0x14]
call fcn.00408e14
push dword [ebp - 0x2c]
push 0x4a8a64
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0x16]
call fcn.00408e14
push dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov edx, 7
call fcn.004049b8
mov edx, ebx
mov eax, esi
call fcn.00402810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8a3f
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.0040465c
ret
Function at 0x40290c
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402949
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402969
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404618
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402b30
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.00404398
test esi, esi
jne 0x402b66
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.00404488
jmp 0x402b84
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029e4
mov edi, eax
test esi, esi
je 0x402b84
cmp dword [ebx], 0
je 0x402b84
dec esi
jmp 0x402b6d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402e78
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4ab008], 0x8088405
inc edx
mov dword [ebx + 0x4ab008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4033b8
Capabilities:
Query or enumerate registry value

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

Function at 0x404178
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4af04c], 0
je 0x4041d9
cmp word [0x4af220], 0xd7b2
jne 0x4041a1
cmp dword [0x4af228], 0
jbe 0x4041a1
mov eax, 0x4af21c
call dword [0x4af238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ab070
push 0xfffffffffffffff5
call fcn.00401258
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404200
push 0xfffffffffffffff5
call fcn.00401258
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ab034], 0
jne 0x4041f5
push 0
push 0x4ab068
push 0x4ab070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40434c
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.00402750
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4af04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404314
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405d84
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 0x405fb4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405e07
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fb4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405e07
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fd0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405e90
xor eax, eax
push ebp
push 0x405e89
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405bcc
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 0x405e6e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405ff0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e6e
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 0x405e90
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 0x405faa
cmp byte [ebp - 0xd], 0
jne 0x405ed7
cmp byte [ebp - 0x12], 0
je 0x405faa
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405ef0
dec ebx
cmp byte [ebx], 0x2e
je 0x405eff
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405eef
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405faa
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405f3c
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 0x405faa
cmp byte [ebp - 0xd], 0
je 0x405faa
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 0x405faa
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 0x40667c
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 0x4066e2
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.00404618
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f00
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066cc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066e9
lea eax, [ebp - 0x10]
call fcn.00404398
ret

Function at 0x4099a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x4099d1
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4099d8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x409a09
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x409d00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404868
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x40a134
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404868
push eax
call sub.kernel32.dll_RemoveDirectoryA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x40d56c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x40d5b4
mov ecx, dword [ebp - 0x10]
dec ecx
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
call fcn.00404488
jmp 0x40d5bf
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004043ec
mov esp, ebp
pop ebp
ret 4
Function at 0x40d5c8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40d5f6
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xa], al
jmp 0x40d5fc
mov al, byte [ebp - 9]
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret

Function at 0x40dd84
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x400
lea ecx, [ebp - 0x44c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040dbcc
mov eax, dword [0x4ae5b0]
cmp byte [eax], 0
je 0x40de12
mov eax, dword [0x4ae360]
call fcn.00402ca8
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x44c]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44c]
call fcn.0040a15c
push eax
lea eax, [ebp - 0x44c]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40de54
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40de48
push 0x40
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x4ae2f4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4af668]
call fcn.00405b90
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov esp, ebp
pop ebp
ret

Function at 0x40e870
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40e94e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404430
lea eax, [ebp - 0xc]
call fcn.004048b8
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404868
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40e938
mov eax, dword [ebp - 0x10]
call fcn.00402750
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x40e931
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404868
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e91b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x40e95c
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e91b
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e938
mov eax, dword [ebp - 0x18]
call fcn.00402770
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e955
lea eax, [ebp - 0xc]
call fcn.00404398
ret
Function at 0x40f068
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40f0d2
push dword fs:[eax]
mov dword fs:[eax], esp
push 7
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.00404618
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409620
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f0d9
lea eax, [ebp - 0x14]
call fcn.00404398
ret

Function at 0x425388
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4af88c
cmp dword [edi], 0
jne 0x425404
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4af888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ab634
mov ecx, 2
call fcn.004029a4
mov edx, 0x425360
lea eax, [esi + 5]
call fcn.00425380
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425380
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 0x4253d9
mov dword [0x4af888], 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 0x426ba4
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 0x426baa
ret

Function at 0x42916c
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 0x4291bd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4291a4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x429194
jmp 0x4291bd
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 0x4291a5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ec34
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 0x44eb80
call sub.user32.dll_EnumWindows
ret

Function at 0x44ed54
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 0x44edd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044e7b4
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x44ed79
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0044e3b4
cmp dword [ebp - 4], 0
je 0x44edbb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404868
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 0x44edd8
lea eax, [ebp - 4]
call fcn.00404398
ret
Function at 0x452840
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
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 [0x4afbd8], 0
je 0x45299b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ae538]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45299b
mov eax, dword [0x4afbdc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4afbd8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x45296a
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x4afbd8]
call fcn.0041b7d4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45295e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x45295e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45295e
mov eax, dword [ebp - 0x14]
call fcn.0045dfe4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45295e
push ebp
call fcn.004527f4
pop ecx
test al, al
jne 0x45295e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45291a
mov eax, dword [ebp - 0x14]
call fcn.0045c3a4
dec eax
jle 0x45295e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403744
cmp byte [ebp - 1], 0
je 0x45295e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x45295e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4afbdc]
call fcn.00451cbc
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x4528ac
mov eax, dword [0x4afbdc]
cmp dword [eax + 8], 0
jle 0x452982
mov eax, dword [0x4afbdc]
call fcn.00451d68
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45299b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00452630
pop ecx
test al, al
jne 0x45299b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret