joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4528b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4528cf
add esp, 0xfffffff0
call fcn.004035f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a938
mov eax, dword [0x46e908]
cmp word [eax + 2], 0
jne 0x4528f7
mov eax, dword [0x46e908]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453fa8
mov eax, dword [0x46e9bc]
cmp word [eax + 2], 0
jne 0x452911
mov eax, dword [0x46e9bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004541a0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4126b4]
call fcn.004032a0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4126b4]
call fcn.004032a0
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41ce84]
call fcn.00424520
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452a98
mov eax, dword [0x46e81c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004248f0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454750
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46e81c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c664
test eax, eax
je 0x452a06
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004088a0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c68c
test eax, eax
je 0x452a1a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404330
mov eax, dword [0x46e704]
cmp byte [eax], 0
jne 0x452a4e
mov eax, ebx
call fcn.00452bc0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045492c
mov eax, ebx
call fcn.004552f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452a8e
call fcn.0040364c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452e40
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fbbc]
cmp dword [eax + 0x30], 0
je 0x452eea
cmp dword [ebx + 0x94], 0
jne 0x452ee4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452dd0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452ee4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x452eaa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452ee4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414a78
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452eb9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453a4c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x453a81
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004041b0
jmp 0x453a8e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404114
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454b08
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454b49
mov eax, esi
call fcn.0043b2a8
test al, al
je 0x454b49
mov eax, dword [ebx + 0x84]
call fcn.0043afa4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454b49
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043afa4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x455474
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
jbe 0x455535
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x78]
add eax, ebx
mov dword [ebp - 0x14], eax
xor esi, esi
xor edi, edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
add eax, ebx
mov edx, esi
shl edx, 2
add eax, edx
mov eax, dword [eax]
add eax, ebx
mov dword [ebp - 8], eax
mov eax, esi
add eax, eax
mov edx, dword [ebp - 0x14]
add eax, dword [edx + 0x24]
add eax, ebx
movzx eax, word [eax]
mov dword [ebp - 0xc], eax
test dword [ebp + 0xc], 0xffff0000
je 0x4554fd
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
call fcn.00455434
test eax, eax
jne 0x45551d
mov eax, dword [ebp - 0xc]
and eax, 0xffff
shl eax, 2
mov edx, dword [ebp - 0x14]
add eax, dword [edx + 0x1c]
add eax, ebx
mov edi, dword [eax]
add edi, ebx
jmp 0x45551d
mov eax, dword [ebp - 0xc]
inc eax
cmp eax, dword [ebp + 0xc]
jne 0x45551d
mov eax, dword [ebp - 0xc]
and eax, 0xffff
shl eax, 2
mov edx, dword [ebp - 0x14]
add eax, dword [edx + 0x1c]
add eax, ebx
mov edi, dword [eax]
add edi, ebx
inc esi
test edi, edi
jne 0x45552e
mov eax, dword [ebp - 0x14]
cmp esi, dword [eax + 0x18]
jne 0x4554a4
test edi, edi
je 0x455535
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x459fa0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x459fce
mov eax, ebx
call fcn.0045aa54
cmp dword [ebx + 0x40], 0
je 0x459fc7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45a03f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45a031
cmp dword [ebx + 8], 0
je 0x459ff0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45a002
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45a031
cmp dword [ebx + 8], 0
je 0x459fe3
cmp eax, 3
je 0x45a015
dec eax
jne 0x459fe3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x459fe3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x459fe3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45a05d
cmp dword [ebx + 0x14], 0xcc
je 0x45a05d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045a068
pop ebx
ret
Function at 0x46a684
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404570
mov eax, dword [ebp - 8]
call fcn.00404570
xor eax, eax
push ebp
push 0x46a7f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebx], eax
lea eax, [ebp - 0x1c]
call fcn.004040c0
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046a900
test al, al
je 0x46a7d3
call fcn.0046a58c
test al, al
je 0x46a714
lea eax, [ebp - 0x14]
push eax
push 0xf013f
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00404580
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46a7d3
jmp 0x46a739
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00404580
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46a7d3
xor eax, eax
push ebp
push 0x46a7cc
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404580
mov edi, eax
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46a76f
call fcn.00403b08
jmp 0x46a7d3
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x20]
je 0x46a77e
call fcn.00403b08
jmp 0x46a7d3
mov eax, dword [ebx]
call fcn.004026dc
mov dword [esi], eax
push ebx
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46a7b1
mov eax, dword [esi]
call fcn.004026fc
xor eax, eax
mov dword [ebx], eax
call fcn.00403b08
jmp 0x46a7d3
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a7d3
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a7fd
lea eax, [ebp - 0x1c]
call fcn.004040c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004040e4
ret
Function at 0x46b5d8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x46b693
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov eax, edi
mov edx, 0x46b6ac
call fcn.00404114
mov ebx, 0x41
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004042a8
lea eax, [ebp - 4]
mov edx, 0x46b6b8
call fcn.00404388
mov eax, dword [ebp - 4]
call fcn.00404580
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x46b672
inc esi
cmp esi, 2
jne 0x46b656
test bl, bl
je 0x46b656
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042a8
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, 0x46b6b8
call fcn.004043cc
jmp 0x46b678
lea edx, [ebp - 0xc]
mov eax, 0x46b6c4
call fcn.0040d358
mov edx, dword [ebp - 0xc]
mov eax, edi
mov ecx, 0x46b6d8
call fcn.004043cc
inc ebx
cmp ebx, 0x5b
jne 0x46b607
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b69a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004040e4
ret
Function at 0x46b8d4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46ba47
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402ce4
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], si
lea eax, [ebp - 0x60]
mov edx, ebx
call fcn.004042b8
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.004086c4
cmp dword [ebp - 0x5c], 0
je 0x46b9c6
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x68]
mov edx, ebx
call fcn.004042b8
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.004086c4
mov eax, dword [ebp - 0x64]
call fcn.00404580
push eax
push 0
push 0x30
push 0
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x46b985
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x46ba2c
cmp edi, 0xffffffff
jne 0x46b9ad
push 0x64
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
mov eax, dword [0x46e9a0]
mov eax, dword [eax]
call fcn.00453cfc
cmp ebx, 0x102
je 0x46b98a
jmp 0x46b9b7
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
jmp 0x46ba2c
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x46b9ed
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x46ba2c
cmp edi, 0xffffffff
jne 0x46ba15
push 0x64
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
mov eax, dword [0x46e9a0]
mov eax, dword [eax]
call fcn.00453cfc
cmp ebx, 0x102
je 0x46b9f2
jmp 0x46ba1f
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ba4e
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.004040e4
ret
Function at 0x402a1c
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.00404434
test esi, esi
jne 0x402a52
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.00404524
jmp 0x402a70
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402930
mov edi, eax
test esi, esi
je 0x402a70
cmp dword [ebx], 0
je 0x402a70
dec esi
jmp 0x402a59
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4034bc
Capabilities:
Query or enumerate registry value

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

Function at 0x404234
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47f048], 0
je 0x404295
cmp word [0x47f21c], 0xd7b2
jne 0x40425d
cmp dword [0x47f224], 0
jbe 0x40425d
mov eax, 0x47f218
call dword [0x47f234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47d054
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 0x4042bc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47d01c], 0
jne 0x4042b1
push 0
push 0x47d074
push 0x47d054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4043e8
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.0040272c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x47f049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4043b0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40ad18
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 0x40ad51
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404524
jmp 0x40ad5a
mov eax, ebx
mov edx, esi
call fcn.00404488
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b40c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b284
mov eax, dword [0x47e9c0]
cmp byte [eax], 0
je 0x40b474
mov eax, dword [0x47e7dc]
call fcn.00402dd8
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408f34
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 0x40b4bc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b4aa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47e798]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47f714]
call fcn.00405cbc
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 0x40c240
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 0x40c2a4
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.0040469c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408998
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2ab
lea eax, [ebp - 0xc]
call fcn.00404434
ret
Function at 0x41e330
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47fa20
cmp dword [edi], 0
jne 0x41e3ac
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47fa1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47d4f8
mov ecx, 2
call fcn.004028f0
mov edx, 0x41e308
lea eax, [esi + 5]
call fcn.0041e328
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e328
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 0x41e381
mov dword [0x47fa1c], 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 0x41f8b0
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 0x41f8b6
ret

Function at 0x421d80
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 0x421dd1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421db8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421da8
jmp 0x421dd1
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 0x421db9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431f98
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 0x431ee4
call sub.user32.dll_EnumWindows
ret

Function at 0x4320bc
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 0x432139
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00431b08
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 0x4320e1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00431760
cmp dword [ebp - 4], 0
je 0x432123
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004048e4
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 0x432140
lea eax, [ebp - 4]
call fcn.00404434
ret

Function at 0x4351b4
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 [0x47fbb0], 0
je 0x435303
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x47e960]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x435303
mov eax, dword [0x47fbb4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x47fbb0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4352d2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x47fbb0]
call fcn.00415650
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4352ca
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4352ca
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4352ca
mov eax, dword [ebp - 0x14]
call fcn.0043ddd4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4352ca
push ebp
call fcn.00435170
pop ecx
test al, al
jne 0x4352ca
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x435286
mov eax, dword [ebp - 0x14]
call fcn.0043c968
dec eax
jle 0x4352ca
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.00403840
cmp byte [ebp - 1], 0
je 0x4352ca
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4352ca
mov edx, dword [ebp - 0x14]
mov eax, dword [0x47fbb4]
call fcn.00434938
inc edi
dec ebx
jne 0x435219
mov eax, dword [0x47fbb4]
cmp dword [eax + 8], 0
jle 0x4352ea
mov eax, dword [0x47fbb4]
call fcn.004349c8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x435303
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00434fd8
pop ecx
test al, al
jne 0x435303
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