joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ca0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x268
mov eax, dword [0x4170a0]
xor eax, esp
mov dword [esp + 0x264], eax
test edi, edi
mov eax, dword [esp + 0x26c]
mov dword [esp + 4], eax
mov dword [esp], 0
jne 0x404ce2
or eax, 0xffffffff
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.004069e3
add esp, 0x268
ret
push esi
push 0x44
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.004077e0
push 0x208
lea edx, [esp + 0x70]
push 0
push edx
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x60], 1
mov word [esp + 0x64], 1
call fcn.004077e0
add esp, 0x18
push 0x414a30
lea esi, [esp + 0x64]
call fcn.00401c30
push edi
call fcn.00401c30
push 0x414a30
call fcn.00401c30
test ebx, ebx
je 0x404d44
push ebx
call fcn.00401c30
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x80]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x404d8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.004069e3
add esp, 0x268
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
push eax
call esi
cmp eax, 0x102
jne 0x404dc4
mov eax, dword [esp + 8]
test eax, eax
je 0x404db1
call eax
test eax, eax
je 0x404dc4
mov ecx, dword [esp + 0xc]
push 0x1f4
push ecx
call esi
cmp eax, 0x102
je 0x404da3
mov eax, dword [esp + 0xc]
lea edx, [esp + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x268]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004069e3
add esp, 0x268
ret

Function at 0x404df0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x264
mov eax, dword [0x4170a0]
xor eax, esp
mov dword [esp + 0x260], eax
push esi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.004077e0
push 0x208
mov eax, 1
lea ecx, [esp + 0x6c]
push 0
push ecx
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x5c], eax
mov word [esp + 0x60], ax
call fcn.004077e0
add esp, 0x18
push 0x414a34
lea esi, [esp + 0x60]
call fcn.00401c30
push 0x414a30
call fcn.00401c30
push edi
call fcn.00401c30
push 0x414a30
call fcn.00401c30
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x404ea8
pop esi
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004069e3
add esp, 0x264
ret
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
push edx
call esi
cmp eax, 0x102
jne 0x404ede
test ebx, ebx
je 0x404ecb
call ebx
test eax, eax
je 0x404ede
mov eax, dword [esp + 8]
push 0x1f4
push eax
call esi
cmp eax, 0x102
je 0x404ec1
mov edx, dword [esp + 8]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x264]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004069e3
add esp, 0x264
ret
Function at 0x404f10
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
lea eax, [esp + 0xc]
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x404fa1
push ebx
push edi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
push edi
push esi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x404f91
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x414058
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x404f91
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov edi, dword [esp + 0x24]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 0xc]
push ecx
push edx
push str._d._d._d._d
mov eax, 0x104
call fcn.00404fb0
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0xc
ret

Function at 0x4050b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_LiveMessenger
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405157
mov eax, dword [esp]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
push esi
neg ecx
or ecx, eax
push ecx
call fcn.0040681b
mov ecx, dword [esp + 0xc]
add esp, 4
mov esi, eax
lea eax, [esp + 4]
push eax
push esi
push 0
push 0
push str.InstallationDirectory
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x405125
push esi
call fcn.004074f0
add esp, 4
xor al, al
pop esi
add esp, 8
ret
mov edx, dword [esp + 4]
cmp edx, 0x7fffffff
ja 0x40513c
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.00401c80
push esi
call fcn.004074f0
mov edx, dword [esp + 0xc]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 8
ret
xor al, al
add esp, 8
ret
Function at 0x4054c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4116b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4170a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x4196b8]
cmp word [eax + 0xc], 0
lea ebx, [eax + 0xc]
mov edi, eax
je 0x4017e6
cmp word [eax + 0x214], 0
lea ebp, [eax + 0x214]
je 0x4017e6
cmp dword [eax + 0x41c], 0
lea esi, [eax + 0x41c]
jne 0x401795
push 0x150
call fcn.00406a0b
add esp, 4
test eax, eax
je 0x401791
call fcn.00405f90
jmp 0x401793
xor eax, eax
mov dword [esi], eax
mov esi, dword [esi]
test esi, esi
je 0x4017e6
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
mov dword [esp + 0x18], esi
call ecx
mov dword [esp + 0x20], 0
call fcn.00405d50
push ebx
mov eax, ebp
mov ecx, esi
call fcn.00406040
mov dword [esp + 0x20], 0xffffffff
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 8]
push esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, 0x80004005
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push esi
push edi
push 0x4194b0
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, 0x4194b0
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4054e0
mov ecx, 6
mov esi, str.runonce.html
rep movsd dword es:[edi], dword [esi]
push 0x420
movsw word es:[edi], word [esi]
call fcn.00406a0b
mov esi, eax
add esp, 4
test esi, esi
je 0x40554c
push 0x208
lea eax, [esi + 0xc]
push 0
push eax
mov dword [esi], vtable.CDownloadPageTask.0
mov dword [esi + 8], 0
mov dword [esi + 0x41c], 0
call fcn.004077e0
push 0x208
lea ecx, [esi + 0x214]
push 0
push ecx
call fcn.004077e0
add esp, 0x18
jmp 0x40554e
xor esi, esi
pop edi
mov dword [0x4196b8], esi
test esi, esi
pop esi
je 0x405564
call fcn.00405440
jmp 0x401720
ret
Function at 0x405570
Capabilities:
Delete file

Disassembly:
sub esp, 0xa14
mov eax, dword [0x4170a0]
xor eax, esp
mov dword [esp + 0xa10], eax
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push edi
push str.dialogHeight:458px_dialogWidth:559px_scroll:no
call esi
mov edi, eax
mov eax, dword [0x4196b8]
test eax, eax
je 0x4055da
cmp dword [eax + 8], 0
je 0x4055da
push 0x400
lea eax, [esp + 0x21c]
push eax
push 0x81
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x4055d3
lea ecx, [esp + 0x218]
push ecx
jmp 0x40560d
push 0x414a78
jmp 0x40560d
push 0xbb
push 0x17
push str.bg1.jpg
lea eax, [esp + 0x1c]
call fcn.00404ba0
push 0xb7
push 0x17
push str.runonce.html
mov eax, 0x4194b0
call fcn.00404ba0
add esp, 0x18
push 0x4194b0
call esi
lea edx, [esp + 8]
push edx
mov esi, eax
push esi
push 0
call sub.urlmon.dll_CreateURLMoniker
test eax, eax
jl 0x405691
lea eax, [esp + 0xc]
push eax
push 0x4123cc
push 3
push 0
push 0x4123bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x405665
mov edx, dword [esp + 8]
mov ecx, dword [eax]
push 0
push 0
push edi
push 0
push edx
push 0
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push edi
call esi
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4194b0
call esi
lea eax, [esp + 0x10]
push eax
call esi
mov ecx, dword [esp + 0xa18]
pop edi
pop esi
xor ecx, esp
call fcn.004069e3
add esp, 0xa14
ret

Function at 0x405810
Capabilities:
Inspect load icon resource

Disassembly:
movzx eax, word [esi + 0x3bc]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push eax
push 0
call ebp
mov ebx, dword [sym.imp.USER32.dll_LoadIconW]
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x40585c
push 0xad
push eax
call ebp
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x40585c
push 0x7f00
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x40585c
pop edi
pop ebp
mov eax, 0x80004005
pop ebx
ret
push 0x3b8
push 0
push esi
call fcn.004077e0
mov ecx, dword [esi + 0x3b8]
lea eax, [esi + 0x18]
mov edx, str.Windows_Live_Messenger_2011
add esp, 0xc
mov dword [esi + 0x14], edi
mov dword [esi], 0x3b8
mov dword [esi + 4], ecx
mov dword [esi + 8], 0x3e8
mov dword [esi + 0xc], 6
mov dword [esi + 0x10], 0
mov edi, 0x7f
sub edx, eax
movzx ecx, word [edx + eax]
test cx, cx
je 0x4058b8
mov word [eax], cx
add eax, 2
sub edi, 1
jne 0x4058a2
jmp 0x4058bc
test edi, edi
jne 0x4058bf
sub eax, 2
push esi
push 0
mov word [eax], 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x405853
pop edi
pop ebp
mov dword [esi + 0x3c0], 1
xor eax, eax
pop ebx
ret
Function at 0x406769
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4170a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004066a8
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004077e0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4067b8
cmp dword [ebp - 0x1c], 5
jb 0x4067d0
jmp 0x4067cc
cmp dword [ebp - 0x10], 1
jne 0x4067d0
cmp dword [ebp - 0x1c], 4
ja 0x4067cc
jne 0x4067d0
cmp dword [ebp - 0x18], 0
jbe 0x4067d0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x412438
call fcn.00405030
test eax, eax
jge 0x4067f1
mov byte [0x4196d0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004069e3
add ebp, 0x78
leave
ret

Function at 0x4069e3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4170a0]
jne 0x4069ed
repz ret
jmp fcn.00408199
Function at 0x40e646
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00408728
xor ebx, ebx
cmp dword [0x418eb0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40e71b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40e686
xor eax, eax
jmp 0x40e7df
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40e67f
push eax
call fcn.004086c5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x418eb0], eax
call esi
push eax
call fcn.004086c5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x418eb4], eax
call esi
push eax
call fcn.004086c5
mov dword [0x418eb8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040af37
test eax, eax
pop ecx
pop ecx
je 0x40e6e9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407027
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40e71b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004086c5
cmp eax, ebx
pop ecx
mov dword [0x418ec0], eax
je 0x40e71b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004086c5
pop ecx
mov dword [0x418ebc], eax
mov eax, dword [0x418ebc]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40e794
cmp dword [0x418ec0], esi
je 0x40e794
push eax
call fcn.00408731
pop ecx
call eax
cmp eax, ebx
je 0x40e761
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x418ec0]
call fcn.00408731
pop ecx
call eax
test eax, eax
je 0x40e761
test byte [ebp - 0x18], 1
jne 0x40e794
lea eax, [ebp - 0xc]
push eax
call fcn.0040af6e
test eax, eax
pop ecx
je 0x40e77c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407027
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40e78b
or dword [ebp + 0x10], 0x200000
jmp 0x40e7c5
or dword [ebp + 0x10], 0x40000
jmp 0x40e7c5
mov eax, dword [0x418eb4]
cmp eax, esi
je 0x40e7c5
push eax
call fcn.00408731
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40e7c5
mov eax, dword [0x418eb8]
cmp eax, esi
je 0x40e7c5
push dword [ebp - 4]
push eax
call fcn.00408731
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x418eb0]
call fcn.00408731
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402b70
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x402fd4
Capabilities:
Query or enumerate registry value

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

Function at 0x403d30
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x464048], 0
je 0x403d91
cmp word [0x46421c], 0xd7b2
jne 0x403d59
cmp dword [0x464224], 0
jbe 0x403d59
mov eax, 0x464218
call dword [0x464234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x462070
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 0x403db8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x462034], 0
jne 0x403dad
push 0
push 0x462068
push 0x462070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405a34
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 0x405a9a
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.0040411c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b8c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a84
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405aa1
lea eax, [ebp - 0x10]
call fcn.00403eac
ret

Function at 0x40ac8c
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 0x40acc5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f9c
jmp 0x40acce
mov eax, ebx
mov edx, esi
call fcn.00403f00
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b380
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b1f8
mov eax, dword [0x463a94]
cmp byte [eax], 0
je 0x40b3fc
mov eax, dword [0x463800]
call fcn.004029dc
call fcn.00402834
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.00408500
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 0x40b444
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b432
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x463798]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x464664]
call fcn.00404f48
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 0x40bc98
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 0x40bd6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f44
lea eax, [ebp - 8]
call fcn.004043bc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040436c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bd58
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bd51
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.0040436c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bd3b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bd80
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bd3b
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 0x40bd58
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bd75
lea eax, [ebp - 8]
call fcn.00403eac
ret

Function at 0x40c2ec
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 0x40c350
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.0040411c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408048
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c357
lea eax, [ebp - 0xc]
call fcn.00403eac
ret

Function at 0x41a5ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x464884
cmp dword [edi], 0
jne 0x41a668
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x464880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4623f0
mov ecx, 2
call fcn.004028c8
mov edx, 0x41a5c4
lea eax, [esi + 5]
call fcn.0041a5e4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a5e4
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 0x41a63d
mov dword [0x464880], 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 0x41bbec
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 0x41bbf2
ret
Function at 0x41e1c4
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 0x41e215
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e1fc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e1ec
jmp 0x41e215
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 0x41e1fd
pop ebx
mov esp, ebp
pop ebp
ret