joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451e08
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x450f84]
call fcn.0045ae5c
xor eax, eax
push ebp
push 0x451f4f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x473c88], 0
jne 0x451e5b
mov ecx, dword [0x479364]
mov dl, 1
mov eax, dword [0x453848]
call fcn.00455980
call fcn.0045a2ec
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004598d0
mov eax, ebx
call fcn.0045ad60
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x451f60
lea edi, [ebp - 0x30]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0045c218
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0045ad70
test eax, eax
jle 0x451ef6
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x451eef
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0045a86c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0045a854
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004544d0
test eax, eax
jne 0x451eef
mov ebx, 0x15
jmp 0x451efb
mov ebx, 0x10
jmp 0x451efb
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x473c88]
call fcn.00451d60
mov eax, dword [ebp - 8]
call fcn.00451d60
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0045c230
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451f56
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0045a648
lea eax, [ebp - 0x10]
mov edx, dword [0x450f84]
call fcn.0045af28
ret

Function at 0x455124
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x45515d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0045a70c
jmp 0x455166
mov eax, ebx
mov edx, esi
call fcn.0045a678
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x455170
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
test eax, eax
jle 0x455191
mov al, byte [esp]
jmp 0x455193
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x459a28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x473ee4]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x459ac0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x459aa0
xor eax, eax
push ebp
push 0x459a99
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 0x459adc
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 0x459aa0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x473ee4]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x473ee4], ax
mov esp, ebp
pop ebp
ret
Function at 0x45be58
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 0xf003f
push 0
push 0x45c014
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x45beb9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x45c030
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x45bf2b
xor eax, eax
push ebp
push 0x45bf24
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.0045bcb0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x45bf0d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x45c050
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bf2b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpy
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 0x45c00c
cmp byte [ebp - 0xd], 0
jne 0x45bf6d
cmp byte [ebp - 0x12], 0
je 0x45c00c
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlen
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x45bf86
dec ebx
cmp byte [ebx], 0x2e
je 0x45bf95
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x45bf85
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x45c00c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x45bfc2
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpy
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x45c00c
cmp byte [ebp - 0xd], 0
je 0x45c00c
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpy
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x45c00c
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpy
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 0x45c42c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x45c514
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x47a384], 1
jae 0x45c506
xor eax, eax
mov dword [0x479f90], eax
xor eax, eax
mov dword [0x479f98], eax
xor eax, eax
mov dword [0x479f9c], eax
mov byte [0x479fa2], 2
mov byte [0x479fa3], 2
mov byte [0x479fa4], 3
mov word [0x47a34c], 0
mov word [0x47a35c], 1
mov word [0x47a36c], 0xa
mov dword [0x47a374], 0x80020004
mov dword [0x47a340], 0x45b3c0
mov dword [fcn.0047a344], fcn.0045b3b8
mov dword [0x47a348], 0x45b3c0
call fcn.004599f8
test al, al
je 0x45c4c5
call fcn.00459a28
call fcn.00459aec
mov eax, 0x479fa8
mov edx, 0x45c520
call fcn.004572be
mov eax, 0x47a174
mov edx, 0x45c520
call fcn.004572be
call sub.kernel32.dll_GetCommandLineA
mov dword [0x479f88], eax
call fcn.00458274
mov dword [0x479f84], eax
call sub.kernel32.dll_GetCurrentThreadId
mov dword [0x479f7c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c51b
ret

Function at 0x460168
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x460184
call fcn.004617b4
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x4601a0
test bl, 1
je 0x4601a0
call fcn.004651fc
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x460384
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00461350
test byte [ebp + 0xd], 0xc0
jne 0x4603a8
mov eax, dword [0x47648c]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x4603b5
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x4603e2
je 0x4603f4
sub ecx, 0x100
je 0x460402
sub ecx, 0x100
je 0x460409
sub ecx, 0x100
je 0x4603fb
jmp 0x460410
sub ecx, 0x600
je 0x460409
sub ecx, 0x100
je 0x4603f4
jmp 0x460410
mov edi, 1
jmp 0x460415
mov edi, 2
jmp 0x460415
mov edi, 4
jmp 0x460415
mov edi, 5
jmp 0x460415
mov edi, 3
test byte [ebp + 0xd], 1
je 0x46043c
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x475f04]
test al, 0x80
je 0x460435
mov ebx, pe_nt_image_headers32
jmp 0x46044e
mov ebx, 1
jmp 0x46044e
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x46044e
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x460460
je 0x460469
dec eax
je 0x460472
jmp 0x46047b
mov dword [ebp - 4], 0x80000000
jmp 0x46048a
mov dword [ebp - 4], 0x40000000
jmp 0x46048a
mov dword [ebp - 4], 0xc0000000
jmp 0x46048a
push 1
call fcn.00461748
pop ecx
mov ebx, eax
jmp 0x460576
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x4604a6
sub eax, 0x10
je 0x4604ad
sub eax, 0x10
je 0x4604b6
sub eax, 0x10
je 0x4604bf
jmp 0x4604bf
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x4604c6
mov dword [ebp - 8], 1
jmp 0x4604c6
mov dword [ebp - 8], 2
jmp 0x4604c6
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x46052f
call sub.kernel32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x460524
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x460524
add ebx, 0xffffffb2
push ebx
call fcn.00461748
pop ecx
mov ebx, eax
jmp 0x460576
mov edi, esi
push edi
call fcn.004602e8
pop ecx
test eax, eax
je 0x460543
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x46054f
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00461470
add esp, 8
mov ebx, eax
inc eax
jne 0x460576
push 4
call fcn.00461748
pop ecx
push esi
call sub.kernel32.dll_CloseHandle
call fcn.00461384
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465194
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
test eax, eax
je 0x4651f6
call fcn.00465144
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0045f064
pop ecx
push eax
push esi
push ebx
call sub.kernel32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0045f064
pop ecx
push eax
push edi
push ebx
call sub.kernel32.dll_WriteFile
push ebx
call sub.kernel32.dll_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x465274
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x477424], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x46534e
cmp dword [0x477420], 0
jne 0x46534e
cmp dword [0x477518], 0
je 0x465308
push pe_nt_image_headers32
lea eax, [ebp - 0x84]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00465044
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4652ee
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00465044
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4652ee
lea ebx, [ebp - 0x84]
jmp 0x4652ef
inc ebx
call fcn.00465230
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x465389
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x477428
push ebx
call sub.kernel32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0045f064
pop ecx
push eax
push esi
push ebx
call sub.kernel32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x47742b
push ebx
call sub.kernel32.dll_WriteFile
jmp 0x465389
cmp dword [0x477420], 0
je 0x465368
cmp dword [0x477420], 0xffffffff
je 0x465389
push esi
call dword [0x477420]
pop ecx
mov eax, dword [0x477424]
test eax, eax
je 0x465389
cmp dword [0x477424], 0xffffffff
je 0x465389
cmp byte [eax], 0
je 0x465389
push esi
push eax
call fcn.00465194
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465de4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 1
mov dword [ebp - 4], esi
cmp edi, 1
jne 0x465e6a
mov eax, dword [0x47acf8]
inc dword [0x47acf8]
test eax, eax
jne 0x465e6a
call sub.kernel32.dll_GetEnvironmentStrings
mov dword [0x47acc4], eax
mov edx, dword [ebp + 0x10]
mov dword [0x46b347], edx
mov ecx, dword [esi + 0x44]
push ecx
call fcn.00460cfc
pop ecx
cmp dword [0x477460], 0
je 0x465e55
call fcn.00465c68
mov ebx, eax
test eax, eax
je 0x465e55
mov edx, dword [ebx]
cmp dword [ebx + edx*4 + 4], 0xffffffff
je 0x465e55
mov ecx, dword [ebx]
inc dword [ebx]
mov dword [ebx + ecx*4 + 4], esi
jmp 0x465e6a
xor eax, eax
lea edx, [ebp - 8]
push 0
push edx
mov dword [0x477460], eax
call fcn.00465c70
add esp, 8
mov ecx, dword [ebp + 0x18]
push ecx
push edi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [esi + 0x18]
push edx
call fcn.00465f78
mov ebx, eax
test edi, edi
jne 0x465ed9
test edi, edi
jne 0x465eaa
dec dword [0x47acf8]
jne 0x465eaa
cmp dword [0x47acc4], 0
je 0x465eaa
mov eax, dword [0x47acc4]
push eax
call sub.kernel32.dll_FreeEnvironmentStringsA
xor edx, edx
mov dword [0x47acc4], edx
cmp dword [0x47acf8], 0
jne 0x465ed9
cmp dword [0x477460], 0
jne 0x465ed9
cmp dword [0x477450], 0
je 0x465ecb
call dword [0x477450]
push 1
lea ecx, [ebp - 8]
push ecx
call fcn.00465c70
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x402f00
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404ef4
test esi, esi
jne 0x402f37
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.00404fe4
jmp 0x402f58
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d9c
mov dword [esp], eax
test esi, esi
je 0x402f58
cmp dword [ebx], 0
je 0x402f58
dec esi
jmp 0x402f3f
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x403ef0
Capabilities:
Query or enumerate registry value

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

Function at 0x404ccc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x69a04c], 0
je 0x404d2d
cmp word [0x69a220], 0xd7b2
jne 0x404cf5
cmp dword [0x69a228], 0
jbe 0x404cf5
mov eax, 0x69a21c
call dword [0x69a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x668094
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 0x404d54
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x668034], 0
jne 0x404d49
push 0
push 0x66808c
push 0x668094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404ea8
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.00402b30
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x69a04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404e70
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40733c
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 0x4073a2
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.00405164
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004038e0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40738c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4073a9
lea eax, [ebp - 0x10]
call fcn.00404ef4
ret

Function at 0x40db3c
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 0x40db75
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404fe4
jmp 0x40db7e
mov eax, ebx
mov edx, esi
call fcn.00404f48
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ed0c
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 0x40ede2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404f8c
lea eax, [ebp - 8]
call fcn.00405404
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004053b4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40edcc
mov eax, ebx
call fcn.00402b30
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40edc5
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.004053b4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40edaf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40edf4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40edaf
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 0x40edcc
mov eax, dword [ebp - 0x10]
call fcn.00402b60
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ede9
lea eax, [ebp - 8]
call fcn.00404ef4
ret
Function at 0x40f364
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 0x40f3c8
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.00405164
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409fa0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f3cf
lea eax, [ebp - 0xc]
call fcn.00404ef4
ret

Function at 0x4251a8
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.00424f90
dec esi
jne 0x4251ca
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x42639c
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, 0x69a88c
cmp dword [esi], 0
jne 0x426442
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 [0x69a888]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x668568
mov ecx, 2
call fcn.00402d5c
mov edx, 0x426374
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00426394
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.00426394
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 0x426409
mov eax, dword [ebp - 8]
mov dword [0x69a888], 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 0x427b58
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 0x427b5e
ret
Function at 0x42a37c
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 0x42a3cd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42a3b4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42a3a4
jmp 0x42a3cd
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 0x42a3b5
pop ebx
mov esp, ebp
pop ebp
ret