joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f630
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x1001d018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10022fc8]
lea eax, [ecx + ecx*4]
add eax, eax
add eax, eax
mov dword [eax + 0x1001ef88], edx
mov edx, dword [ebp + 8]
mov dword [eax + 0x1001ef8c], edi
mov dword [eax + 0x1001ef90], edx
mov edx, dword [ebp + 0xc]
inc ecx
cmp dword [0x10022ed4], 1
mov dword [eax + 0x1001ef80], esi
mov dword [eax + 0x1001ef84], edx
mov dword [0x10022fc8], ecx
jne 0x1000f6b9
push ebx
call fcn.10005d20
mov ebx, eax
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x104]
push 0x1001a3ec
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push ebx
lea edx, [ebp - 0x104]
push edx
push edi
push str.FITUR
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop ebx
cmp dword [0x10022ed8], 1
jne 0x1000f6d9
call fcn.10005d20
mov ecx, dword [esi]
push eax
push ecx
push edi
push str.FITUR
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001660c
mov esp, ebp
pop ebp
ret 8

Function at 0x10011f50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1001fb40]
test eax, eax
je 0x10011f62
mov ecx, dword [eax + 2]
jmp 0x10011f64
xor ecx, ecx
mov ecx, dword [ecx]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x1001fb34], ecx
mov dword [0x1001fb30], 0x10011f20
mov dword [0x1001eec4], 0x1001fb30
xor esi, esi
jmp 0x10011f95
mov eax, dword [0x1001fb40]
lea edx, [ebp - 4]
push edx
push 0x40
push 1
lea eax, [eax + esi + 2]
push eax
call edi
mov ecx, dword [0x1001fb40]
mov dl, byte [esi + 0x1001eec4]
lea eax, [ecx + esi + 2]
lea ecx, [ebp - 4]
push ecx
mov byte [eax], dl
mov edx, dword [ebp - 4]
push edx
push 1
push eax
call edi
inc esi
cmp esi, 3
jle 0x10011f90
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10012210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1001d018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.xxxxxxx____xxx_
push 0x1001ab30
push 0x128000
mov ecx, 0x42cc692a
lea eax, [ebp - 0x10]
call fcn.100156d0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call edi
push eax
call fcn.10002710
mov esi, eax
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
push str.xxxxxxxxx
lea eax, [esi + 6]
push 0x1001ab58
mov dword [0x10022748], eax
push 0x128000
mov ecx, 0x42cc692a
lea eax, [ebp - 0x1c]
call fcn.100156d0
push eax
call edi
push eax
call fcn.10002710
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x14], cl
add esp, 0x10
lea ecx, [eax + 6]
mov dword [0x10021210], ecx
test esi, esi
je 0x100122c1
mov ecx, 0x10011d20
mov edx, esi
call fcn.10006390
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001660c
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x100122e1
mov ecx, 0x10011d40
mov edx, eax
call fcn.10006390
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001660c
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0x100121f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001660c
mov esp, ebp
pop ebp
ret
Function at 0x10012310
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1001fd04]
cmp byte [eax], 0xe9
je 0x10012332
mov edi, edi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1001fd04]
cmp byte [eax], 0xe9
jne 0x10012320
mov ecx, dword [eax + 1]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
lea edx, [ebp - 4]
push edx
push 0x40
lea edi, [ecx + eax + 5]
push 2
push edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_memmove]
push 2
push 0x1001ab64
push edi
call ebx
mov ecx, dword [ebp - 4]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
push 2
push edi
call esi
mov eax, dword [0x1001fd08]
cmp byte [eax], 0xe9
je 0x10012389
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1001fd08]
cmp byte [eax], 0xe9
jne 0x10012377
mov edx, dword [eax + 1]
lea edi, [edx + eax + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push 2
push edi
call esi
push 2
push 0x1001ab64
push edi
call ebx
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 2
push edi
call esi
mov eax, dword [0x1001fd0c]
cmp byte [eax], 0xe9
je 0x100123d2
nop
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1001fd0c]
cmp byte [eax], 0xe9
jne 0x100123c0
mov ecx, dword [eax + 1]
lea edx, [ebp - 4]
push edx
push 0x40
lea edi, [ecx + eax + 5]
push 2
push edi
call esi
push 2
push 0x1001ab64
push edi
call ebx
mov ecx, dword [ebp - 4]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
push 2
push edi
call esi
mov eax, dword [0x1001fd14]
cmp byte [eax], 0xe9
je 0x1001241a
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1001fd14]
cmp byte [eax], 0xe9
jne 0x10012408
mov edx, dword [eax + 1]
lea edi, [edx + eax + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push 2
push edi
call esi
push 2
push 0x1001ab64
push edi
call ebx
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 2
push edi
call esi
mov eax, dword [0x1001fd1c]
cmp byte [eax], 0xe9
je 0x10012462
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1001fd1c]
cmp byte [eax], 0xe9
jne 0x10012450
mov ecx, dword [eax + 1]
lea edx, [ebp - 4]
push edx
push 0x40
lea edi, [ecx + eax + 5]
push 2
push edi
call esi
push 2
push 0x1001ab64
push edi
call ebx
mov ecx, dword [ebp - 4]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
push 2
push edi
call esi
mov eax, dword [0x1001fd10]
cmp byte [eax], 0xe9
je 0x100124aa
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1001fd10]
cmp byte [eax], 0xe9
jne 0x10012498
mov edx, dword [eax + 1]
lea edi, [edx + eax + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push 2
push edi
call esi
push 2
push 0x1001ab64
push edi
call ebx
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 2
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100124e0
Capabilities:
Allocate or change rwx memory
Encrypt data using rc4 prga
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1001d018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov ecx, 0xd5
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + 0x1001ab68]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x1001251d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x2d
jl 0x10012500
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov byte [ebp - 0xf], bl
mov dword [ebp - 0xc], 0x632e6263
mov word [ebp - 8], 0x6d62
mov byte [ebp - 6], bl
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e
mov edi, eax
xor eax, eax
lea edx, [ebp - 0x3c]
push ebx
push edx
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
mov byte [ebp - 6], al
call sub.MSVCR100.dll_memset
add esp, 0xc
push str.PointBlank.exe
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esi, [eax + 0x9aab20]
lea eax, [ebp - 0x40]
push eax
push 0x40
push 3
push edi
call ebx
push 3
push 0x1001a438
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [ebp - 0x40]
add esp, 0xc
lea ecx, [ebp - 0x40]
push ecx
push edx
push 3
push edi
call ebx
lea eax, [ebp - 0x40]
push eax
push 0x40
push 1
push esi
call ebx
push 1
push 0x1001a53c
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [ebp - 0x40]
add esp, 0xc
lea ecx, [ebp - 0x40]
push ecx
push edx
push 1
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001660c
mov esp, ebp
pop ebp
ret

Function at 0x10013310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10013358
mov edx, dword [ebp + 8]
push esi
mov dword [0x1001fb20], edx
call fcn.100065d0
mov esi, edx
call fcn.10006640
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10010470
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100126a0
push 0
push 0
call esi
pop esi
mov eax, 1
pop ebp
ret 0xc
Function at 0x10014640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100173c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1001d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x1001474d
cmp byte [edi + 0x49], 0
je 0x1001474d
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x10014741
lea esi, [ebp - 0x2c]
call fcn.10014070
mov dword [ebp - 4], 0
lea ebx, [edi + 0x4c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
lea ebx, [ebx]
mov ecx, eax
cmp edx, 0x10
jae 0x100146bc
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x100146e1
dec eax
je 0x100146e5
sub eax, 2
lea esi, [ebp - 0x2c]
jne 0x1001473c
jmp 0x10014748
mov byte [edi + 0x49], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x100146f5
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x1001471f
cmp edx, 0x10
jae 0x10014704
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x10014739
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x10014745
test esi, esi
jne 0x100146b0
push esi
push 8
lea esi, [ebp - 0x2c]
call fcn.10014140
jmp 0x100146a4
lea esi, [ebp - 0x2c]
call fcn.10013370
xor al, al
jmp 0x1001474f
lea esi, [ebp - 0x2c]
call fcn.10013370
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001660c
mov esp, ebp
pop ebp
ret

Function at 0x10015440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xcf
xor ecx, ecx
jmp 0x10015450
mov al, byte [edi + ecx + 0x2555e244]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001546d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x10015450
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x100164b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10017478
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1001d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x10016512
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.10016270
mov ecx, esi
call fcn.10016320
mov eax, esi
push eax
mov ecx, edi
call fcn.10016400
cmp dword [ebp + 0x1c], 0x10
jb 0x10016542
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001660c
mov esp, ebp
pop ebp
ret

Function at 0x1001660c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001d018]
jne 0x10016616
repz ret
jmp fcn.10016b23
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x402f84
Capabilities:
Query or enumerate registry value

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

Function at 0x403ce0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x462048], 0
je 0x403d41
cmp word [0x46221c], 0xd7b2
jne 0x403d09
cmp dword [0x462224], 0
jbe 0x403d09
mov eax, 0x462218
call dword [0x462234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46006c
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 0x403d68
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x460030], 0
jne 0x403d5d
push 0
push 0x460064
push 0x46006c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403e94
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.004026cc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x462049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403e5c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405170
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4053a0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4051f3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4053a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4051f3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4053bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40527c
xor eax, eax
push ebp
push 0x405275
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404fb8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40525a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4053dc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40525a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40527c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405396
cmp byte [ebp - 0xd], 0
jne 0x4052c3
cmp byte [ebp - 0x12], 0
je 0x405396
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4052dc
dec ebx
cmp byte [ebx], 0x2e
je 0x4052eb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4052db
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405396
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405328
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405396
cmp byte [ebp - 0xd], 0
je 0x405396
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405396
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405a68
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 0x405ace
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.00404150
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b48
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ab8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ad5
lea eax, [ebp - 0x10]
call fcn.00403ee0
ret

Function at 0x40ab44
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 0x40ab7d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fd0
jmp 0x40ab86
mov eax, ebx
mov edx, esi
call fcn.00403f34
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b238
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b0b0
mov eax, dword [0x46115c]
cmp byte [eax], 0
je 0x40b2b4
mov eax, dword [0x460f74]
call fcn.004029b4
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.004083b8
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 0x40b2fc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b2ea
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x460f24]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x462664]
call fcn.00404f7c
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 0x40bb50
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 0x40bc26
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f78
lea eax, [ebp - 8]
call fcn.004043f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bc10
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bc09
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.004043a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bbf3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bc38
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bbf3
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 0x40bc10
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc2d
lea eax, [ebp - 8]
call fcn.00403ee0
ret

Function at 0x40c130
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 0x40c194
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.00404150
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407f00
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c19b
lea eax, [ebp - 0xc]
call fcn.00403ee0
ret

Function at 0x4196ac
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.004194d8
dec esi
jne 0x4196ce
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret