joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4683b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
sub esp, 0x88
mov ebx, ecx
mov edx, dword [0xa95e48]
mov byte [esp + 2], 0xe5
mov dword [ebx + 0x1212c], edx
xor ecx, ecx
mov dword [esp + 4], ecx
mov byte [esp + 3], cl
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, 0x88
mov word [esp], ax
push 0xffff
call 0x6c1bcc
mov eax, dword [eax + 0x364]
mov dword [esp + 0x14], eax
push 0xffff
call 0x6c1bcc
add esp, 8
add eax, 0x370
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x60]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x64]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0x68]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
movzx edx, word [esp]
lea ecx, [esp]
push edx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
push dword [ebx + 0x1212c]
call 0x6c1a80
add esp, 0x8c
pop ebx
ret
Function at 0x48aa80
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x320]
movsx edx, word [ecx + 2]
movsx edi, word [ecx + 4]
mov eax, edx
cmp edx, edi
jle 0x48aa9c
mov edx, edi
jmp 0x48aaa4
cmp edi, edx
mov eax, edi
jg 0x48aaa4
mov eax, edx
movsx edi, word [ecx + 6]
cmp edx, edi
jle 0x48aab0
mov edx, edi
jmp 0x48aab6
cmp edi, eax
jle 0x48aab6
mov eax, edi
movsx edi, word [ecx + 8]
cmp edx, edi
jle 0x48aac2
mov edx, edi
jmp 0x48aac8
cmp edi, eax
jle 0x48aac8
mov eax, edi
movsx edi, word [ecx + 0xa]
cmp edx, edi
jle 0x48aad4
mov edx, edi
jmp 0x48aada
cmp edi, eax
jle 0x48aada
mov eax, edi
mov word [ebx + 0x3be], dx
mov word [ebx + 0x3bc], ax
movzx eax, word [ecx]
mov word [ebx + 0x39c], ax
movzx edx, word [ecx + 2]
mov word [ebx + 0x39e], dx
movzx edi, word [ecx + 4]
mov word [ebx + 0x3a0], di
movzx eax, word [ecx + 6]
mov word [ebx + 0x3a2], ax
movzx eax, word [ecx + 8]
mov word [ebx + 0x3a4], ax
movzx eax, word [ecx + 0xa]
mov word [ebx + 0x3a6], ax
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x3a8], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x3ac], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x3b0], eax
mov eax, dword [ecx + 0x18]
mov dword [ebx + 0x3b4], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebx + 0x3b8], eax
lea eax, [ebx + 0x39c]
mov dword [ebx + 0x320], eax
mov ecx, ebx
call fcn.0048a7e8
pop ebx
pop edi
ret
Function at 0x49eb84
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x320]
movsx edx, word [ecx + 2]
movsx edi, word [ecx + 4]
mov eax, edx
cmp edx, edi
jle 0x49eba0
mov edx, edi
jmp 0x49eba8
cmp edi, edx
mov eax, edi
jg 0x49eba8
mov eax, edx
movsx edi, word [ecx + 6]
cmp edx, edi
jle 0x49ebb4
mov edx, edi
jmp 0x49ebba
cmp edi, eax
jle 0x49ebba
mov eax, edi
movsx edi, word [ecx + 8]
cmp edx, edi
jle 0x49ebc6
mov edx, edi
jmp 0x49ebcc
cmp edi, eax
jle 0x49ebcc
mov eax, edi
movsx edi, word [ecx + 0xa]
cmp edx, edi
jle 0x49ebd8
mov edx, edi
jmp 0x49ebde
cmp edi, eax
jle 0x49ebde
mov eax, edi
mov word [ebx + 0x46e], dx
mov word [ebx + 0x46c], ax
movzx eax, word [ecx]
mov word [ebx + 0x44c], ax
movzx edx, word [ecx + 2]
mov word [ebx + 0x44e], dx
movzx edi, word [ecx + 4]
mov word [ebx + 0x450], di
movzx eax, word [ecx + 6]
mov word [ebx + 0x452], ax
movzx eax, word [ecx + 8]
mov word [ebx + 0x454], ax
movzx eax, word [ecx + 0xa]
mov word [ebx + 0x456], ax
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x458], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x45c], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x460], eax
mov eax, dword [ecx + 0x18]
mov dword [ebx + 0x464], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebx + 0x468], eax
lea eax, [ebx + 0x44c]
mov dword [ebx + 0x320], eax
mov ecx, ebx
call fcn.0049e874
pop ebx
pop edi
ret
Function at 0x4aabd8
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8d07b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
call 0x8193cc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
mov dword [eax], 0xafa280
mov edx, dword [0x9a81ac]
push 0x40
mov dword [eax + 4], edx
mov ecx, dword [esi]
mov dword [eax + 0x120], ecx
mov ebx, dword [esi + 4]
mov dword [eax + 0x124], ebx
mov edi, dword [esi + 8]
mov dword [eax + 0x128], edi
xor edx, edx
mov dword [eax + 0x12c], edx
mov dword [eax + 0x124], 0x40000000
mov dword [eax + 0x1c], edx
add eax, 0x120
mov edx, dword [0xa476f4]
push dword [edx + 0xc]
push eax
call 0x50b7a4
mov edx, dword [ebp - 0x24]
mov eax, dword [0xa476f4]
push 0x40
add edx, 0x120
push dword [eax + 8]
push edx
call 0x50b7a4
add esp, 0x18
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
xor edx, edx
mov dword [eax + 0x20], edx
mov dword [eax + 0xa0], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0x28], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0xac], edx
mov dword [eax + 0x30], edx
mov dword [eax + 0xb0], edx
mov dword [eax + 0x34], edx
mov dword [eax + 0xb4], edx
mov dword [eax + 0x38], edx
mov dword [eax + 0xb8], edx
mov dword [eax + 0x3c], edx
mov dword [eax + 0xbc], edx
mov dword [eax + 0x40], edx
mov dword [eax + 0xc0], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0xc4], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0xc8], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0xcc], edx
mov dword [eax + 0x50], edx
mov dword [eax + 0xd0], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0xd4], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0xd8], edx
mov dword [eax + 0x5c], edx
mov dword [eax + 0xdc], edx
mov dword [eax + 0x60], edx
mov dword [eax + 0xe0], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0xe4], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0xe8], edx
mov dword [eax + 0x6c], edx
mov dword [eax + 0xec], edx
mov dword [eax + 0x70], edx
mov dword [eax + 0xf0], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0xf4], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0xf8], edx
mov dword [eax + 0x7c], edx
mov dword [eax + 0xfc], edx
mov dword [eax + 0x80], edx
mov dword [eax + 0x100], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x104], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x108], edx
mov dword [eax + 0x8c], edx
mov dword [eax + 0x10c], edx
mov dword [eax + 0x90], edx
mov dword [eax + 0x110], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x114], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x118], edx
mov dword [eax + 0x9c], edx
mov dword [eax + 0x11c], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4bd260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8d106c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x14], eax
call 0x8193cc
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x44]
mov dword [edx], 0xafb250
mov eax, dword [0x9abce8]
mov dword [edx + 0x34], 0x3727c5ac
mov dword [edx + 4], eax
mov dword [edx + 0x28], 0
call 0x8587a5
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x30], 0
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x40]
fdiv dword [0x907360]
fmul dword [0x907364]
fnstcw word [ebp - 0x38]
movzx eax, word [ebp - 0x38]
or eax, 0xc00
mov dword [ebp - 0x30], eax
fldcw word [ebp - 0x30]
fistp dword [edx + 0x2c]
fldcw word [ebp - 0x38]
call 0x8587a5
mov ecx, dword [ebp - 0x44]
fld dword [0x90735c]
mov edx, dword [ebp - 0x14]
fadd dword [edx]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fdiv dword [0x907360]
fmul dword [0x907358]
faddp st(1)
fstp dword [ecx + 0x1c]
mov eax, dword [edx + 4]
mov dword [ecx + 0x20], eax
call 0x8587a5
mov edx, dword [ebp - 0x44]
fld dword [0x90735c]
mov esi, dword [ebp - 0x14]
fadd dword [esi + 8]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fdiv dword [0x907360]
fmul dword [0x907358]
push 0x212
faddp st(1)
fstp dword [edx + 0x24]
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
mov edi, dword [esi + 8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], edi
lea eax, [ebp - 0x50]
push eax
call 0x509590
add esp, 8
mov ebx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [ebx + 0x40], eax
xor edx, edx
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x58], edx
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x60], edx
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x70], edx
mov ecx, dword [0xa47f34]
mov dword [ebx + 0x78], ecx
mov eax, ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x44ff4898
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x75127926
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402dfc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404408
test esi, esi
jne 0x402e33
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004044f8
jmp 0x402e54
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c98
mov dword [esp], eax
test esi, esi
je 0x402e54
cmp dword [ebx], 0
je 0x402e54
dec esi
jmp 0x402e3b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4034e8
Capabilities:
Query or enumerate registry value

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

Function at 0x404284
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48504c], 0
je 0x4042e5
cmp word [0x485220], 0xd7b2
jne 0x4042ad
cmp dword [0x485228], 0
jbe 0x4042ad
mov eax, 0x48521c
call dword [0x485238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48306c
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 0x40430c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x483030], 0
jne 0x404301
push 0
push 0x483064
push 0x48306c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406300
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 0x406366
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.00404678
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004030ac
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406350
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40636d
lea eax, [ebp - 0x10]
call fcn.00404408
ret

Function at 0x40b610
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 0x40b649
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044f8
jmp 0x40b652
mov eax, ebx
mov edx, esi
call fcn.0040445c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bd14
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb7c
mov eax, dword [0x484b7c]
cmp byte [eax], 0
je 0x40bd90
mov eax, dword [0x48496c]
call fcn.00402f18
call fcn.00402bc4
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.00408d7c
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 0x40bdd8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bdc6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x484914]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x485668]
call fcn.0040576c
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 0x40c67c
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 0x40c752
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004044a0
lea eax, [ebp - 8]
call fcn.00404918
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004048c8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c73c
mov eax, ebx
call fcn.00402a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c735
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.004048c8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c71f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c764
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c71f
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 0x40c73c
mov eax, dword [ebp - 0x10]
call fcn.00402a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c759
lea eax, [ebp - 8]
call fcn.00404408
ret

Function at 0x40cd38
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 0x40cd9c
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.00404678
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040885c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cda3
lea eax, [ebp - 0xc]
call fcn.00404408
ret

Function at 0x41eb58
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x485888
cmp dword [edi], 0
jne 0x41ebd4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x485884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4833fc
mov ecx, 2
call fcn.00402c58
mov edx, 0x41eb30
lea eax, [esi + 5]
call fcn.0041eb50
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041eb50
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 0x41eba9
mov dword [0x485884], 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 0x420168
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 0x42016e
ret
Function at 0x422760
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 0x4227b1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422798
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422788
jmp 0x4227b1
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 0x422799
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c82c
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.004048b8
xor eax, eax
push ebp
push 0x42c95a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42c92d
xor eax, eax
push ebp
push 0x42c926
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004046c8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42c8fb
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 0x42c8ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004046c8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004048c8
mov edx, ebx
pop ecx
call fcn.00402c58
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 0x42c8f1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4848a8]
mov dl, 1
mov eax, dword [0x4076a8]
call fcn.0040be98
call fcn.00403e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c961
lea eax, [ebp - 4]
call fcn.00404408
ret
Function at 0x42c968
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 0x42cb19
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404ab8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42cb30
call fcn.00404714
mov eax, ebx
call fcn.0041e0ec
mov edi, eax
dec edi
test edi, edi
jl 0x42ca20
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041e0c0
mov edx, dword [0x435958]
call fcn.00403814
test al, al
je 0x42ca1c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041e0c0
lea edx, [ebp - 0x14]
call fcn.00440bd8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404ab8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404788
inc esi
dec edi
jne 0x42c9ce
mov al, byte [0x42cb34]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42cb40
mov eax, dword [ebp - 0xc]
call fcn.0040d314
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004044a0
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.00440bd8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42cb30
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.00440bd8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42cb30
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, 0x42cb30
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, 0x42cb4c
call fcn.0040949c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cb20
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040442c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040442c
lea eax, [ebp - 0x14]
call fcn.00404408
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040442c
ret