joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40f452
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f459
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f448
mov eax, 1
add ebx, ebx
jne 0x40f46b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f460
jne 0x40f47c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f460
xor ecx, ecx
sub eax, 3
jb 0x40f490
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f502
mov ebp, eax
add ebx, ebx
jne 0x40f49b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f4a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f4cc
inc ecx
add ebx, ebx
jne 0x40f4b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f4ad
jne 0x40f4c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f4ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f4ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f4dd
jmp 0x40f44e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f4ec
add edi, ecx
jmp 0x40f44e
pop esi
mov edi, esi
mov ecx, 0x1fd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f50a
cmp byte [edi], 0
jne 0x40f50a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40f50f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f57e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf6cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf76c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f53c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf770]
or eax, eax
je 0x40f578
mov dword [ebx], eax
add ebx, 4
jmp 0x40f559
call dword [esi + 0xf778]
mov ebp, dword [esi + 0xf774]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40f5b2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x845058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8451a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x84507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x84506a
add dl, dl
jne 0x845089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8450dc
xor eax, eax
add dl, dl
jne 0x845096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x84517d
add dl, dl
jne 0x8450a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8450d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x845075
mov eax, 1
add dl, dl
jne 0x8450ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8450e1
sub eax, ebx
mov ebx, 1
jne 0x845128
mov ecx, 1
add dl, dl
jne 0x84510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x845119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x845105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x84513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x84514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x845136
cmp eax, 0x7d00
jae 0x84516d
cmp eax, 0x500
jb 0x845168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
cmp eax, 0x7f
ja 0x845170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x84519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x845075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40ed59
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x40eae0
call fcn.0040ed75
add ecx, ecx
add esi, esi
xor dword [eax], edx
add eax, 1
inc ecx
cmp eax, edi
jne fcn.0040ed59
ret
Function at 0x44bad0
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
mov esi, 0x190
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push 0x80000001
mov edi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44bba5
lea ecx, [esp + 0x20]
push ebp
mov eax, 4
push ecx
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.Browse_For_Folder_Width
push edx
call ebp
test eax, eax
jne 0x44bb52
mov edi, dword [esp + 0x1c]
xor esi, esi
test ebx, ebx
je 0x44bb67
mov eax, dword [0x794dfc]
push 0x794b18
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Browse_For_Folder_Height
push ecx
call ebp
test eax, eax
pop ebp
jne 0x44bb9a
or esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x574800
Capabilities:
Encode data using xor

Disassembly:
insd dword es:[edi], dx
aas
call 0xd889503d
pop ds
add eax, 0x2d1bf850
nop
clc
int1
adc bl, bh
add dword [eax - 0x621f51ce], edx
test byte [ebp + 0x2eb50570], cl
and byte [ebp - 0x18a2f678], 0xba
cmp eax, 0xc8595b8a
nop
mov bl, byte [ebx + 0x59]
enter 0xfffffffffffff090, 0xffffffffffffff82
lock and byte [ebx], 0x85
xbegin 0xcbf040fb
lock and byte [ebx], 0x85
xbegin 0xcbf040fb
xchg esi, eax
in eax, 0x20
push ds
jecxz 0x574831
mul dh
mov edi, 0x587b1c60
xor bh, byte [edi + 0x1b]
add esp, dword [edi - 0x307c8d48]
push 0xed054078
enter 0xffffffffffffbc9a, 0x26
dec edx
aad 0x98
cmp dword [ebp - 0x63a944e8], 0xffffff91
push esi
pushfd
xchg ecx, eax
lcall 0x147d, 0x2bc37874
inc ecx
and dword [esi + 0x3e], edx
imul eax
xchg ebx, eax
js 0x5747d4
sti
in eax, dx
clc
push cs
jb 0x5747db
inc edx
or bh, byte [ebx - 0x632d2c21]
sbb byte [ebp*8 - 0x7dbd0000], 0xc8
outsd dx, dword [esi]
lcall 0x1560, 0x46cb2834
loope 0x5747fc
adc eax, 0x7ed399e1
push eax
sar dword [esi + 0x50], cl
js 0x5748bb
dec esi
adc bl, dh
fmul qword [ecx + 6]
imul esp, ecx, 0x29
cmp byte [edx], ah
cmp al, al
mov ah, 0x50
push 0x207d7b4c
xor esi, dword [eax]
push ecx
js 0x574860
in al, 0xa5
call 0xed9b0f27
aam 0xf8
invalid
sbb dword [eax + 0x6e], ebx
inc ebp
outsb dx, byte [esi]
ret 0x10d0
Function at 0x5c4c80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
add byte [eax], al
add byte [eax + 0xd508d23], al
add byte [eax], al
xor eax, eax
nop dword [eax + eax]
mov edx, dword [ebp + eax*4 + 0xd54]
mov esi, edx
and esi, 0x7ffffffe
or esi, ecx
shr esi, 1
mov ecx, edx
and edx, 1
neg edx
and edx, 0x9908b0df
xor edx, dword [ebp + eax*4 + 4]
xor edx, esi
mov dword [ebp + eax*4 + 0x390], edx
and ecx, 0x80000000
inc eax
cmp eax, 0x18c
jne 0x5c4c94
mov eax, dword [ebp + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, ecx

Function at 0x5c4cdc
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
shr edx, 1
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ebp + 0x634]
xor eax, edx
mov dword [ebp + 0x9c0], eax
mov dword [ebp], 0
xor eax, eax
lea ecx, [eax + 1]
mov dword [ebp], ecx
mov eax, dword [ebp + eax*4 + 4]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [ebp + 0x1384]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
add eax, edi
xor eax, 0x80000000
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6008fc5f
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
mov cl, byte [edx]
test cl, cl
je 0x6008fc83
push esi
mov esi, eax
shr esi, 0x1c
shl eax, 4
xor esi, eax
movzx eax, cl
xor eax, esi
inc edx
mov cl, byte [edx]
test cl, cl
jne 0x6008fc6c
pop esi
ret
Function at 0x6009e52f
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
mov cl, byte [edx]
test cl, cl
je 0x6009e553
push esi
mov esi, eax
shr esi, 0x1c
shl eax, 4
xor esi, eax
movzx eax, cl
xor eax, esi
inc edx
mov cl, byte [edx]
test cl, cl
jne 0x6009e53c
pop esi
ret
Function at 0x600c8371
Capabilities:
Encode data using xor

Disassembly:
push ecx
and dword [esp], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, 0x40000000
mov ebp, 0x80000000
mov eax, dword [esi]
mov ebx, 0x7fff
test edi, eax
je 0x600c83b9
mov ecx, dword [esi + 4]
test dword [ecx], edi
je 0x600c83a4
push esi
call fcn.600c466c
pop ecx
jmp 0x600c83bc
test ebp, eax
je 0x600c83ac
xor eax, eax
jmp 0x600c83b1
shr eax, 0xf
and eax, ebx
mov ecx, dword [ecx + 4]
lea eax, [ecx + eax*2]
jmp 0x600c83bc
mov eax, dword [esi + 4]
mov esi, dword [esi]
test edi, esi
mov ecx, esi
je 0x600c83d4
and ecx, ebp
neg ecx
sbb ecx, ecx
and ecx, 0x3fff8000
add ecx, ebx
and ecx, esi
test ecx, ecx
je 0x600c83f6
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
shr edx, 0x1c
shl esi, 4
xor edx, esi
movzx esi, word [eax]
xor edx, esi
inc eax
inc eax
dec ecx
mov dword [esp + 0x10], edx
jne 0x600c83d8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40297c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004043cc
test esi, esi
jne 0x4029b2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004044bc
jmp 0x4029d0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402830
mov edi, eax
test esi, esi
je 0x4029d0
cmp dword [ebx], 0
je 0x4029d0
dec esi
jmp 0x4029b9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40361c
Capabilities:
Query or enumerate registry value

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

Function at 0x404250
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x416044], 0
je 0x4042b1
cmp word [0x416218], 0xd7b2
jne 0x404279
cmp dword [0x416220], 0
jbe 0x404279
mov eax, 0x416214
call dword [0x416230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41506c
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 0x4042d8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41502c], 0
jne 0x4042cd
push 0
push 0x415064
push 0x41506c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e90
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 0x405ef6
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.0040463c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403078
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ee0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405efd
lea eax, [ebp - 0x10]
call fcn.004043cc
ret

Function at 0x40a1b0
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 0x40a1e9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044bc
jmp 0x40a1f2
mov eax, ebx
mov edx, esi
call fcn.00404420
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40a8a4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a71c
mov eax, dword [0x415514]
cmp byte [eax], 0
je 0x40a920
mov eax, dword [0x415430]
call fcn.00402d70
call fcn.0040275c
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.00407b64
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 0x40a968
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a956
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x415408]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x416660]
call fcn.004053b8
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 0x40b604
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 0x40b668
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.0040463c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004076dc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b66f
lea eax, [ebp - 0xc]
call fcn.004043cc
ret
Function at 0x40c7c8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x40c7d0
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x40c98e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004043cc
lea eax, [ebx + 4]
call fcn.004043cc
lea eax, [ebx + 8]
call fcn.004043cc
lea eax, [ebx + 0xc]
call fcn.004043cc
lea eax, [ebx + 0x10]
call fcn.004043cc
lea eax, [ebx + 0x14]
call fcn.004043cc
lea eax, [ebx + 0x18]
call fcn.004043cc
lea eax, [ebx + 0x1c]
call fcn.004043cc
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.00404868
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jbe 0x40c84f
push esi
call fcn.00405a5c
pop ecx
mov dword [ebp - 0xc], eax
jmp 0x40c854
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40c973
mov eax, dword [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
mov eax, edi
call fcn.00404868
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c969
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x40c99c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c969
push ebp
lea edx, [ebp - 0x18]
mov eax, 0x40c9c0
call fcn.0040c6c0
pop ecx
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00404420
push ebp
lea edx, [ebp - 0x1c]
mov eax, 0x40c9d4
call fcn.0040c6c0
pop ecx
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 4]
call fcn.00404420
push ebp
lea edx, [ebp - 0x20]
mov eax, 0x40c9ec
call fcn.0040c6c0
pop ecx
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 8]
call fcn.00404420
push ebp
lea edx, [ebp - 0x24]
mov eax, 0x40ca00
call fcn.0040c6c0
pop ecx
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0xc]
call fcn.00404420
push ebp
lea edx, [ebp - 0x28]
mov eax, 0x40ca18
call fcn.0040c6c0
pop ecx
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x10]
call fcn.00404420
push ebp
lea edx, [ebp - 0x2c]
mov eax, 0x40ca30
call fcn.0040c6c0
pop ecx
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x14]
call fcn.00404420
push ebp
lea edx, [ebp - 0x30]
mov eax, 0x40ca4c
call fcn.0040c6c0
pop ecx
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x18]
call fcn.00404420
push ebp
lea edx, [ebp - 0x34]
mov eax, 0x40ca60
call fcn.0040c6c0
pop ecx
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x1c]
call fcn.00404420
mov eax, dword [ebp - 0xc]
push eax
call fcn.00405a6c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c995
lea eax, [ebp - 0x34]
mov edx, 8
call fcn.004043f0
ret