joyce8/EMBER2024-capa huggingface dataset:
Function at 0x71cef6d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x71d5a008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
push ecx
lea ecx, [ebp - 0x210]
call fcn.71cef450
mov edi, eax
add esp, 8
test edi, edi
js 0x71cef8a3
push 8
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x71d7aa9c], eax
test eax, eax
je 0x71cef88e
push str.AavmRpcScanFile2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7aa94], eax
test eax, eax
jne 0x71cef772
push str.AavmRpcScanFile
push dword [0x71d7aa9c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7aa98], eax
test eax, eax
jne 0x71cef772
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x71cef8a5
movzx eax, ax
or eax, 0x80070000
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
push str.AavmRpcBrowserUrlChange
push dword [0x71d7aa9c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AavmRpcCreateBinding
push dword [0x71d7aa9c]
mov dword [0x71d7aa80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7aa88], eax
test eax, eax
je 0x71cef74c
push str.AavmRpcDestroyBinding
push dword [0x71d7aa9c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7aa84], eax
test eax, eax
je 0x71cef74c
push str.AavmRpcGetObjectNamePrefix2
push dword [0x71d7aa9c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7aa8c], eax
test eax, eax
jne 0x71cef7f4
push str.AavmRpcGetObjectNamePrefix
push dword [0x71d7aa9c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7aa90], eax
test eax, eax
je 0x71cef74c
mov esi, dword [0x71d7aa88]
mov ecx, esi
push str.localhost
call dword [0x71d122ac]
call esi
add esp, 4
test eax, eax
jne 0x71cef825
mov eax, 0x80070005
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
push str.AavmRpcGetProviderFromName
push dword [0x71d7aa9c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x71cef853
push 0x71d7808c
push str.FileSystemShield
mov ecx, esi
call dword [0x71d122ac]
call esi
add esp, 8
mov ecx, dword [0x71d7aa9c]
mov edx, 0x71d7aa70
call fcn.71cee7d0
mov ecx, dword [0x71d7aa9c]
call fcn.71ceec90
test eax, eax
js 0x71cef8a3
mov dword [0x71d7aa9c], 0
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x71cef8a3
movzx edi, di
or edi, 0x80070000
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
Function at 0x71cf0da0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x71d5a008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x214], eax
mov ebx, edx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
dec eax
cmp eax, 0x102
ja 0x71cf0e8d
push esi
push edi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
mov eax, 0x1000
test edi, edi
cmove edi, eax
push edi
call fcn.71cfbe20
mov esi, eax
add esp, 4
test esi, esi
je 0x71cf0e77
push esi
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x71cf0e4b
mov eax, dword [ebp - 0x214]
mov dword [ebx], esi
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
push esi
call fcn.71cfbe30
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x71cf0e3a
pop edi
movzx eax, ax
pop esi
or eax, 0x80070000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x8007000e
xor ecx, ebp
pop ebx
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
Function at 0x71cf2b40
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71d1197d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x71d5a008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x6c], xmm0
movq qword [ebp - 0x5c], xmm0
mov dword [ebp - 4], 2
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov dword [ebp - 4], 3
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x6c]
call fcn.71cf25d0
add esp, 4
cmp eax, 1
jne 0x71cf2ccd
push ecx
push str.Scanner
lea ecx, [ebp - 0x6c]
call fcn.71cf5050
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x4c]
push 0
push 0
push eax
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x4c], 0
cmovae edx, dword [ebp - 0x6c]
mov ecx, str.HKEY_LOCAL_MACHINE
push 1
call fcn.71ce70c0
add esp, 0x10
test eax, eax
jne case.0x71cf2c8f.6
push 0x30
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.71cf7720
mov esi, dword [ebp - 0x4c]
add esp, 0xc
mov dword [ebp - 0x70], 0
test esi, esi
je 0x71cf2c6b
test edi, edi
je 0x71cf2c6b
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x30
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
jmp 0x71cf2c70
mov edi, 0x57
test esi, esi
je 0x71cf2c7b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne case.0x71cf2c8f.6
mov eax, dword [ebp - 0x70]
dec eax
cmp eax, 0xa
ja case.0x71cf2c8f.6
movzx eax, byte [eax + 0x71cf2d74]
jmp dword [eax*4 + 0x71cf2d60]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x4c], 0
jmp 0x71cf2cea
mov esi, dword [ebp - 0x44]
bswap esi
mov dword [ebp - 0x4c], 0
jmp 0x71cf2cea
mov esi, dword [ebp - 0x44]
jmp 0x71cf2cea
push 0xa
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.71cfde2e
add esp, 0xc
jmp 0x71cf2ce8
mov eax, dword [ebx + 8]
cdq
jmp 0x71cf2ce8
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push eax
push dword [ebx + 8]
push edi
push str.Scanner
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x71cf2d01
push eax
call fcn.71cf5a25
add esp, 4
mov dword [ebp - 4], 6
cmp dword [ebp - 0x58], 8
jb 0x71cf2d25
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x71cf2d25
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.71cf548b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x71cf3490
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x85c
mov eax, dword [0x71d5a008]
xor eax, esp
mov dword [esp + 0x858], eax
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
je 0x71cf35e9
mov eax, dword [0x71d78098]
test eax, eax
jns 0x71cf3551
cmp byte [0x71d7ab14], 0
jne 0x71cf353d
mov eax, dword [0x71d7ab10]
test eax, eax
je 0x71cf34ea
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x71d7ab14], 0
jne 0x71cf352d
cmp word [0x71d79810], si
lea eax, [esp + 0x844]
push ecx
push str.USNTracker
push 0x10
push eax
mov ecx, 0x71d5455c
mov eax, 0x71d79810
cmove eax, ecx
push eax
call fcn.71ce5940
add esp, 0xc
mov edx, eax
mov ecx, 0x71d7ab18
call fcn.71ce7410
add esp, 8
mov byte [0x71d7ab14], 1
mov eax, dword [0x71d7ab10]
test eax, eax
je 0x71cf353d
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x71d7ab18]
xor eax, eax
test ecx, ecx
setne al
mov dword [0x71d78098], eax
test eax, eax
jle 0x71cf35e9
lea eax, [esp + 0x1c]
xor esi, esi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
push 1
push edi
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x71cf35d5
cmp dword [esp + 0x1c], 0x800
mov edi, dword [esp + 0x18]
ja 0x71cf35c7
push 0x820
lea eax, [esp + 0x24]
push esi
push eax
call fcn.71cf7720
push dword [esp + 0x28]
lea eax, [esp + 0x30]
push edi
push eax
call fcn.71cf71a0
add esp, 0x18
mov dword [esp + 0x820], 0xc
lea eax, [esp + 0x20]
mov dword [esp + 0x824], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x71cf35dd
push edi
mov esi, 0x7a
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x71cf35dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x71cf366d
lea esi, [esp + 0x20]
cmp dword [ebx + 0x14], 8
jb 0x71cf35f1
mov ebx, dword [ebx]
mov eax, dword [0x71d7a964]
xor edi, edi
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
test eax, eax
je 0x71cf3619
push edi
mov ecx, eax
call dword [0x71d122ac]
call dword [esp + 0x18]
mov dword [esp + 0x10], eax
lea ecx, [esi + 0x800]
neg esi
sbb esi, esi
and esi, ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x71cf3639
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov esi, dword [0x71d7a964]
test esi, esi
je 0x71cf3651
push dword [esp + 0x10]
mov ecx, esi
call dword [0x71d122ac]
call esi
test edi, edi
jne 0x71cf3684
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x858]
xor ecx, esp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x858]
xor ecx, esp
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x864]
xor eax, eax
cmp edi, 0xb7
pop edi
pop esi
setne al
pop ebx
xor ecx, esp
dec eax
call fcn.71cf548b
mov esp, ebp
pop ebp
ret
Function at 0x71cf4d00
Capabilities:
Get common file path
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x71d5a008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x71d7ab08], esi
jne 0x71cf4d3d
sub esp, 8
lea ecx, [esi + 1]
call fcn.71cf4ad0
mov esi, eax
add esp, 8
test esi, esi
jne 0x71cf4e0f
or dword [0x71d7ab04], 2
mov eax, dword [0x71d7ab08]
test eax, eax
je 0x71cf4d4d
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x71d7ab00]
mov ecx, eax
inc eax
mov dword [0x71d7ab00], eax
test ecx, ecx
jne 0x71cf4dfd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.71cfde1c
add esp, 4
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push 0x104
push eax
push str._SystemRoot_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ax, word [ebp - 0x210]
xor ecx, ecx
cmp cx, ax
je 0x71cf4da9
mov ecx, 0x25
cmp cx, ax
jne 0x71cf4dcd
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x210]
push eax
push str.SystemRoot
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call fcn.71ce5cd0
mov esi, eax
test esi, esi
jne 0x71cf4df8
or dword [0x71d7ab04], 1
mov cl, 1
call fcn.71cf3300
mov esi, eax
test esi, esi
jne 0x71cf4df8
call fcn.71cf3e00
call fcn.71cf4980
jmp 0x71cf4dfd
call fcn.71cf4e20
mov eax, dword [0x71d7ab08]
test eax, eax
je 0x71cf4e0d
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.71cf548b
mov esp, ebp
pop ebp
ret

Function at 0x71d038c0
Capabilities:
Print debug messages

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

Function at 0x71d04d7b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x71d158b8
push 0x71d158b0
push str.FlsAlloc
push 0x1e
call fcn.71d04bc5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x71d04daf
push dword [ebp + 8]
mov ecx, esi
call dword [0x71d122ac]
call esi
jmp 0x71d04db5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x71d04df9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x71d158c8
push 0x71d158c0
push str.FlsGetValue
push 0x20
call fcn.71d04bc5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x71d04e30
push dword [ebp + 8]
mov ecx, esi
call dword [0x71d122ac]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x71d09837
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x71d098d4
push ebx
push esi
call fcn.71d09800
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.71d09749
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x71d09881
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x71d098d3
push edi
push eax
call fcn.71d014a2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x71d098a1
call fcn.71d01468
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x71d098d2
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.71d09749
add esp, 0x20
test eax, eax
jne 0x71d098c0
push edi
call fcn.71d01468
jmp 0x71d098c8
push ebx
call fcn.71d01468
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x71d0faf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x71d0fb1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x71d0fb1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402e54
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004045f0
test esi, esi
jne 0x402e8b
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.004046e0
jmp 0x402eac
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402cf0
mov dword [esp], eax
test esi, esi
je 0x402eac
cmp dword [ebx], 0
je 0x402eac
dec esi
jmp 0x402e93
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x40360c
Capabilities:
Query or enumerate registry value

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

Function at 0x4043e8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4cf048], 0
je 0x404449
cmp word [0x4cf21c], 0xd7b2
jne 0x404411
cmp dword [0x4cf224], 0
jbe 0x404411
mov eax, 0x4cf218
call dword [0x4cf234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4cc070
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 0x404470
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4cc034], 0
jne 0x404465
push 0
push 0x4cc068
push 0x4cc070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4045a4
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.00402a90
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4cf049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40456c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406668
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 0x4066ce
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.00404860
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004031c4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066d5
lea eax, [ebp - 0x10]
call fcn.004045f0
ret

Function at 0x40c198
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 0x40c1d1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004046e0
jmp 0x40c1da
mov eax, ebx
mov edx, esi
call fcn.00404644
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c89c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c704
mov eax, dword [0x4cdfac]
cmp byte [eax], 0
je 0x40c918
mov eax, dword [0x4cdc0c]
call fcn.00402fd8
call fcn.00402c1c
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.00409764
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 0x40c960
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c94e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4cdb78]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4cf664]
call fcn.00405ad4
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 0x40d1bc
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 0x40d292
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404688
lea eax, [ebp - 8]
call fcn.00404b1c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404acc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d27c
mov eax, ebx
call fcn.00402a90
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d275
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.00404acc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d25f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d2a4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d25f
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 0x40d27c
mov eax, dword [ebp - 0x10]
call fcn.00402ac0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d299
lea eax, [ebp - 8]
call fcn.004045f0
ret

Function at 0x40d8b8
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 0x40d91c
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.00404860
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004090cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d923
lea eax, [ebp - 0xc]
call fcn.004045f0
ret

Function at 0x4228dc
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00422734
dec esi
jne 0x4228fe
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x423a40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4cf888
cmp dword [edi], 0
jne 0x423abc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4cf884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4cc518
mov ecx, 2
call fcn.00402cb0
mov edx, 0x423a18
lea eax, [esi + 5]
call fcn.00423a38
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423a38
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 0x423a91
mov dword [0x4cf884], 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 0x425080
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 0x425086
ret

Function at 0x4277a4
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 0x4277f5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4277dc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4277cc
jmp 0x4277f5
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 0x4277dd
pop ebx
mov esp, ebp
pop ebp
ret