joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
xchg ebp, eax
mov ebp, esp
and dword [ebx], 0x78
push esi
mov esi, dword [ebp + 0xc]
push esi
invalid

Function at 0x408bd0
Capabilities:
Packed with generic packer

Disassembly:
jle 0x408bd6
rol dword [eax], 1
pop eax
xlatb
ret 0xc
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
js 0x408bc3
or byte [eax - 0x16], bh
cld
sbb ebp, dword [eax + 0x7e]
add al, 0x80
push ecx
jo 0x408c28
cld
add byte [eax], al
add byte [eax], al
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
sbb dword [ebp + 0x781e75e0], 0xffffffb7
xor eax, 0x50c316
call esi
test eax, eax
jne 0x408c05
pop esi
mov esp, ebp
pop ebp
ret
call esi
add eax, 0xafc80
fisttp qword [ebx + 0x33c35de5]
ror byte [ebx - 0x6f3ca248], 0x90
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x6b]
inc ebp
xchg ebp, eax
push eax
push 0x8004667e
push ecx
xor al, 0x45
cld
add dword [eax], eax
add byte [eax], al
call dword [0x40c159]
cmp eax, 0xffffffff
jne 0x408c85
push esi
mov esi, edi
fadd st(1)
inc eax
scasd eax, dword es:[edi]
call esi
test eax, eax
jne 0x408c55
pop esi
mov esp, ebp
pop ebp
ret
movsb byte es:[edi], byte [esi]
or al, byte [0xc5e13d80]
pop esi
jae 0x408c44
pop ebp
loope 0x408c95
shl bh, 0xe5
pop ebp
pushal
nop
nop
and edx, dword [eax - 0x6f6f6f70]
lds edx, [ebp - 0x75]
in al, dx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp - 0x4d]
or dword [ebx - 0x3c74ef83], ecx
fcmovnb st(0), st(7)
jne 0x408cae
dec ecx
dec esi
and byte [ebx - 0x37f4dbba], cl
je 0x408daf
mov edx, dword [esi + 0x72]
push edx
jb 0x408ce9
xor dword [edi + edi*8 - 0x3b0832a5], eax
add al, 0x85
ror byte [edi], 0x84
test byte [eax], 0x95
pop es
inc ecx
pop esi
pop ebp
ret 0xc
sub eax, 0xee8c0fca
add byte [eax], al
pop esp
push ebp
mov ebp, esp
cmp byte [ebx - 0x36c7efbb], cl
test eax, eax
setne cl
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
pop ecx
stc
aas
jle 0x408dd8
invalid
ja 0x94ca90de
xor edx, edx
mov dl, byte [ecx + 0x5d40ba10]
jmp dword [edx*4 + 0xdecf8]

Function at 0x40ae50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
sal dword [ebp + 0x10], 0x57
cmp dword [esi], 0x1c
ja 0x40ae72
invalid
mov ebx, dword [ebp + 8]
mov eax, dword [ebx - 0x70]
test ah, 2
and dword [ebp - 0x75], 0x40850c43
jne 0x40aee2
mov eax, dword [ebx]
push 0x14
push eax
xor edi, edi
call fcn.00404a6d
mov ecx, eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax - 0x30], edi
push edi
push edi
push edi
cmp byte [eax + 0x10], 0xc7
popfd
dec ebx
or al, 0xff
xchg ecx, eax
mov al, byte [0x8b0040c0]
push ebx
or al, 0x89
inc edx
adc byte [ebx + 0x48690c22], cl
adc byte [ebp + 0x74257515], al
xor eax, 0x40c043
call esi
test dword [esi + 0x31], edi
or dword [edi + 0x5e], ebx
pop ebx
mov esp, ebp
pop ebp
into
or al, 0
call esi
pop edi
pop esi
rol byte [eax + 0x5b000afc], 0x9a
in eax, 0x95
mov ebx, 0x438b000c
xor byte [ebx - 0x38c400ca], al
mov eax, dword [ebx + 0x30]
xor dword [esi], 0xffffffff
cmp eax, edi
mov eax, dword [ebp + 0x3b]
Function at 0x441caa
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00441848

Function at 0x402010
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x40a028]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x228
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x22c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4020fd
push ebx
mov ebx, dword [ebp + 0xc]
nop dword [eax + eax]
cmp ebx, dword [ebp - 0x228]
lea eax, [ebp - 0x230]
push eax
cmove esi, dword [ebp - 0x218]
push edi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32NextW
test esi, esi
jne 0x4020a0
test eax, eax
jne 0x402070
test esi, esi
je 0x4020fc
mov eax, dword [ebp - 0x234]
mov dword [eax], esi
mov ecx, dword [0x40a328]
test ecx, ecx
je 0x4020fc
mov edi, dword [ecx]
mov eax, edi
mov edx, dword [ecx + 4]
or eax, edx
je 0x4020fc
test byte [ecx + 8], 2
je 0x4020fc
cmp byte [ecx + 0xf], 9
jb 0x4020fc
push 0
push 4
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], esi
push eax
push 4
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], ebx
push eax
push 0xc
push 0x40739c
push 0x2b
push edx
push edi
call fcn.00403fb0
add esp, 0x28
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040424b
mov esp, ebp
pop ebp
ret 0xc

Function at 0x404ab0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404aef
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404aef
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404aef
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404aef
cmp dword [ecx + 0x74], 0xe
jbe 0x404aef
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x403410
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, 0x143c
call fcn.00410420
mov eax, dword [0x70461c]
mov ecx, dword [0x701524]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403583
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov ebp, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x70461c], 0x959
jne 0x403569
push 0
push 0
call edi
lea eax, [esp + 0x28]
push eax
call ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x4c]
push edx
push 0
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x84c]
push ecx
push 0
push 0x402de0
push 0x402e00
push 0x402e20
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0
push 0
lea eax, [esp + 0xc50]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
lea ecx, [esp + 0x44c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
call esi
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0x402e30
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push 0
push 0x402e34
push 0x402e40
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
push 0
push 0
push 0
call esi
mov edx, dword [esp + 0x14]
push edx
call fcn.00403230
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x403454
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x143c
ret
Function at 0x4052cd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4431d8]
jne 0x4052d7
repz ret
jmp fcn.0040ca1c

Function at 0x40e03e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040998b
and dword [ebp - 4], 0
cmp dword [0x446870], 0
mov ebx, eax
jne 0x40e0ef
push 0x40247c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e1a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402470
push edi
call esi
test eax, eax
je 0x40e1a0
push eax
call fcn.00409919
mov dword [esp], 0x402460
push edi
mov dword [0x446870], eax
call esi
push eax
call fcn.00409919
mov dword [esp], 0x40244c
push edi
mov dword [0x446874], eax
call esi
push eax
call fcn.00409919
mov dword [esp], 0x402430
push edi
mov dword [0x446878], eax
call esi
push eax
call fcn.00409919
pop ecx
mov dword [0x446880], eax
test eax, eax
je 0x40e0ef
push 0x402418
push edi
call esi
push eax
call fcn.00409919
pop ecx
mov dword [0x44687c], eax
mov eax, dword [0x44687c]
cmp eax, ebx
je 0x40e147
cmp dword [0x446880], ebx
je 0x40e147
push eax
call fcn.00409994
push dword [0x446880]
mov esi, eax
call fcn.00409994
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e147
test edi, edi
je 0x40e147
call esi
test eax, eax
je 0x40e13e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e13e
test byte [ebp - 0xc], 1
jne 0x40e147
or dword [ebp + 0x10], 0x200000
jmp 0x40e180
mov eax, dword [0x446874]
cmp eax, ebx
je 0x40e180
push eax
call fcn.00409994
pop ecx
test eax, eax
je 0x40e180
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e180
mov eax, dword [0x446878]
cmp eax, ebx
je 0x40e180
push eax
call fcn.00409994
pop ecx
test eax, eax
je 0x40e180
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x446870]
call fcn.00409994
pop ecx
test eax, eax
je 0x40e1a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e1a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4029e4
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.00403f80
test esi, esi
jne 0x402a1a
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.00404070
jmp 0x402a38
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004028f8
mov edi, eax
test esi, esi
je 0x402a38
cmp dword [ebx], 0
je 0x402a38
dec esi
jmp 0x402a21
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030c0
Capabilities:
Query or enumerate registry value

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

Function at 0x403e04
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x453048], 0
je 0x403e65
cmp word [0x45321c], 0xd7b2
jne 0x403e2d
cmp dword [0x453224], 0
jbe 0x403e2d
mov eax, 0x453218
call dword [0x453234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45106c
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 0x403e8c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x451030], 0
jne 0x403e81
push 0
push 0x451064
push 0x45106c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4051e0
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 0x405410
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405263
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405410
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405263
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40542c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4052ec
xor eax, eax
push ebp
push 0x4052e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405028
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 0x4052ca
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40544c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4052ca
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 0x4052ec
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 0x405406
cmp byte [ebp - 0xd], 0
jne 0x405333
cmp byte [ebp - 0x12], 0
je 0x405406
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40534c
dec ebx
cmp byte [ebx], 0x2e
je 0x40535b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40534b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405406
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405398
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 0x405406
cmp byte [ebp - 0xd], 0
je 0x405406
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 0x405406
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 0x405ad8
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 0x405b3e
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.004041f0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c84
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b28
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b45
lea eax, [ebp - 0x10]
call fcn.00403f80
ret

Function at 0x4081f8
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404440
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x40820c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404440
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40822e
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40ab28
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 0x40ab61
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404070
jmp 0x40ab6a
mov eax, ebx
mov edx, esi
call fcn.00403fd4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b21c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b094
mov eax, dword [0x452078]
cmp byte [eax], 0
je 0x40b298
mov eax, dword [0x451ea0]
call fcn.00402af0
call fcn.00402824
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.0040839c
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 0x40b2e0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b2ce
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451e48]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453664]
call fcn.00404fec
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 0x40bb34
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 0x40bc0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404018
lea eax, [ebp - 8]
call fcn.00404490
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404440
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bbf4
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bbed
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.00404440
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bbd7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bc1c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bbd7
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 0x40bbf4
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc11
lea eax, [ebp - 8]
call fcn.00403f80
ret

Function at 0x40c088
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 0x40c0ec
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.004041f0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e78
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0f3
lea eax, [ebp - 0xc]
call fcn.00403f80
ret

Function at 0x41a28c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x453884
cmp dword [edi], 0
jne 0x41a308
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x453880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4513ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a264
lea eax, [esi + 5]
call fcn.0041a284
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a284
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 0x41a2dd
mov dword [0x453880], 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 0x41b534
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 0x41b53a
ret
Function at 0x41d97c
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 0x41d9cd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d9b4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d9a4
jmp 0x41d9cd
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 0x41d9b5
pop ebx
mov esp, ebp
pop ebp
ret