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

Disassembly:
insb byte es:[edi], dx
popal
cmp eax, 0x8bce8a3e
mov bl, dl
out dx, al
shr esi, cl
mov ebx, 0xcccf8ed7
sti
std
mov dword [0x180d1bb3], eax
adc ch, byte [edi]
cmp al, 0x3d
pop edi
adc byte [edx], ch
jns 0x48e215
push 0x9c6e7133
mov edi, eax
loop 0x48e1b4
clc
cmp ebx, esi
movzx eax, byte [edx - 0xd]
sub edi, eax
je 0x48e1f7
xor ecx, ecx
test edi, edi
setg cl
lea ecx, [ecx*2 - 1]
test ecx, ecx
jne 0x48db0f
movzx edi, byte [esi - 0xc]
movzx eax, byte [edx - 0xc]
sub edi, eax
je 0x48e219
xor ecx, ecx
test edi, edi
setg cl
lea ecx, [ecx*2 - 1]
test ecx, ecx
jne 0x48db0f
idiv al
invalid
movzx ecx, byte [esi - 0xb]
movzx eax, byte [edx - 0xb]
sub ecx, eax
je 0x48e237
xor eax, eax
test ecx, ecx
setg al
lea ecx, [eax*2 - 1]
jmp 0x48e237
test ecx, ecx
jne 0x48db0f

Function at 0x4af4aa
Capabilities:
Encode data using xor

Disassembly:
dec ebx
test al, 0x6c
iretd
mov dword [0xb2237082], eax
test eax, 0x3cc37cd1
or al, 0x7a
and byte [ecx - 0x64336b31], ah
int 0xa7
push ecx
mov ch, 0x48
and dl, ah
jns 0x4af440
mov dword [0xa3b94bf9], eax
cdq
adc cl, ah
mov byte [0x704586c9], al
invalid
xor dword [edx], 0x5ec5c956
fstp qword [edx]
sbb ch, byte [edx]
xchg dword [ecx - 0x60], esp
stc
daa
cmp esi, dword [ebx + 0x37]
adc al, 0x99
sal dword [edi], 0x5d
cmp al, 0xec
jns 0x4af472
mov ch, 0xcb
jg 0x4af4fa
xor dword [ebp - 0x4e57d7a5], ebp
fstp xword [edx - 0x4c]
lodsb al, byte [esi]
movsd dword es:[edi], dword [esi]
pop ebx
sub byte [eax - 0x4b85244f], ch
push ecx
mov ecx, 0x629230aa
sbb dword [ecx - 0x2cfe9867], ebp
out dx, al
mov al, 0xc5
stosb byte es:[edi], al
mov eax, dword [0x48d2c3aa]
xor eax, 0x725b1e44
popal
sal dword [eax], 1
xor ebp, dword [esi - 0x6f]
sub ebp, edi
xor ebx, dword [ecx - 0x1a]
inc ecx
aad 0x2a
stosd dword es:[edi], eax
leave
adc bh, byte [edx]
sub ah, byte [0x3fa1dc32]
adc dword [ecx - 0x14], 0xa5db2380
insd dword es:[edi], dx
add esp, dword [edi]
std
push 0xbedeb9aa
shr cl, cl
cmp ecx, 0xdb5618f9
loope 0x4af4c8
nop
jno 0x4af55e
inc eax
aaa
mov gs, word [eax - 0x70]
xchg esp, eax
cwde
adc eax, 0xf0e3200
xor cl, cl
xor byte [ecx - 0x10bc47af], bh
mov eax, 0x7187c7f1
in eax, dx
sal dword [edx + 0x3bc66812], 0xe7
popfd
lds eax, [edi]
jo 0x4af582
rol ah, 1
mov dword [0x8c58961d], eax
mov eax, dword [esp - 0x1d799b4b]
invalid
ror al, 0xcd
inc ebp
inc esi
inc byte [ebx + edx + 0xc]
fmul dword [esi]
xlatb
invalid
movsd dword es:[edi], dword [esi]
cmpsd dword [esi], dword es:[edi]
insd dword es:[edi], dx
les eax, [esi]
inc esp
and eax, 0x64f30119
cmp dword [esi], 0xfffffff5
dec edi
push ss
invalid
Function at 0x4bf53e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c72f0
cmp edx, dword [eax]
je 0x4bf560
add eax, 8
inc ecx
cmp eax, 0x4c7380
jl 0x4bf551
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c72f0]
jne 0x4bf68e
mov eax, dword [0x4cb9dc]
cmp eax, 1
je 0x4bf668
test eax, eax
jne 0x4bf591
cmp dword [0x4c7234], 1
je 0x4bf668
cmp edx, 0xfc
je 0x4bf68e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bf5c8
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bfc50
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bfe80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bf60b
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bfe80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c3b70
push edi
call fcn.004c1650
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bfc50
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bfc60
lea eax, [ebp - 0xa0]
push 0x4c3b50
push eax
call fcn.004bfc60
push dword [esi + 0x4c72f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bfc60
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c15c4
add esp, 0x2c
pop edi
jmp 0x4bf68e
lea eax, [ebp + 8]
lea esi, [esi + 0x4c72f4]
push 0
push eax
push dword [esi]
call fcn.004bfe80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x15f7608
Capabilities:
Encode data using xor

Disassembly:
inc edx
cmp ax, sp
test si, di
xor ebx, edx
clc
add esi, edx
jmp 0x1e98476
lea edi, [edi + 4]
xor edx, ebx
cmc
clc
stc
lea edx, [edx - 0x2d6d6cad]
neg edx
jmp 0x1e90e0f
pushfd
mov ecx, 0x6a831eb1
xor ecx, 0x6561296
mov edx, ecx
lea ecx, [edx + 0x4c5720c2]
mov ecx, dword [esp + 8]
lea edx, [edx + edx*2 + 0x66eb57e6]
and edx, 0x54843db1
mov esi, edx
jle 0x15f7609
test edx, 0x1d6e0592
not esi
call fcn.013c27ce
movzx ax, byte [ebp]
ror cl, 0x3e
mov cl, byte [ebp + 2]
setnp dh
cmovs dx, ax
lea ebp, [ebp - 2]
shr al, cl
not dl
movzx edx, bx
mov word [ebp + 4], ax
jmp 0x1ea1fa1
dec edx
test esp, 0x3e2e263f
cmp di, dx
clc
bswap edx
test bh, bh
neg edx
clc
rol edx, 1
jmp 0x13d0e62
jmp fcn.01592216
pushfd
cmp bx, 0x23d6
pop dword [ebp]
or dx, bp
mov edx, dword [edi]
test ah, 0xca
jmp 0x13d132d
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x782d69
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xf6f38e8
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x3cd13783
nop
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x51751e39
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x138a5265
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x47d7435c
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x404548
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406804
test esi, esi
jne 0x404580
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406940
jmp 0x40459e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040448c
mov edi, eax
test esi, esi
je 0x40459e
cmp dword [ebx], 0
je 0x40459e
dec esi
jmp 0x404587
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405dc8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b0050], 0
je 0x405e29
cmp word [0x4b032c], 0xd7b2
jne 0x405df1
cmp dword [0x4b0334], 0
jbe 0x405df1
mov eax, 0x4b0328
call dword [0x4b0344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x405e54
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ad030], 0
jne 0x405e45
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405fb4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4ad034], 0
je 0x405fda
mov edx, esi
mov eax, ebx
call dword [0x4ad034]
jmp 0x405fe9
mov eax, 8
call fcn.004041d4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4b0051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405f7c
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4085cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408733
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406804
cmp si, word [0x4ad7dc]
jb 0x408666
cmp si, word [0x4ad9dc]
ja 0x408666
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x408666
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4ad7dc]
jae 0x408640
mov edi, ebx
dec edi
jmp 0x408661
cmp si, word [ebx*8 + 0x4ad7dc]
jbe 0x408650
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x408661
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4ad7e0]
call fcn.004084dc
jmp 0x408666
cmp edi, dword [ebp - 0xc]
jae 0x40862a
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408715
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408715
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004069ec
push dword [ebp - 0x164]
push 0x408750
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.004069ec
push dword [ebp - 0x168]
push 0x408760
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004069ec
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00406da4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40873a
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.004067fc
ret
Function at 0x4088ec
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4089f1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b2b58
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4b2b70]
jne 0x408938
mov eax, esi
mov edx, 0x4b2b74
mov ecx, 0x55
call fcn.004069ec
push 0x4b2b58
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4089db
push 0x4b2b58
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00406804
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4089a9
cmp byte [0x4b2b54], 0
je 0x40896e
mov edx, esi
mov eax, ebx
call fcn.004087cc
jmp 0x4089a9
mov edx, esi
mov eax, ebx
call fcn.004085cc
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4089a9
cmp dword [esi], 0
je 0x408992
mov eax, esi
mov edx, 0x408a0c
call fcn.00406c00
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004085cc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406c00
push 0x4b2b58
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4b2b70], bx
push 0xaa
mov eax, dword [esi]
call fcn.00406890
push eax
push 0x4b2b74
call sub.kernel32.dll_lstrcpynW
push 0x4b2b58
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4089f8
lea eax, [ebp - 4]
call fcn.004067f4
ret
Function at 0x4090e0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.004067ec
mov eax, dword [ebp - 0x21c]
call fcn.004067ec
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x40927f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406804
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00406890
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x409180
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x409192
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x40917d
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x40924b
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x4091bb
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.00408c30
cmp dword [ebp - 0x220], 0
je 0x4091f3
push ebp
mov eax, dword [ebp - 0x220]
call fcn.00408fd4
pop ecx
mov ebx, eax
jmp 0x40924b
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.004088ec
mov eax, dword [ebp - 0x224]
call fcn.00408fd4
pop ecx
mov ebx, eax
test bl, bl
jne 0x40923e
cmp byte [0x4b2b54], 0
jne 0x40923e
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.004088ec
mov eax, dword [ebp - 0x228]
call fcn.00408fd4
pop ecx
mov ebx, eax
test bl, bl
jne 0x40924b
push ebp
call fcn.00409084
pop ecx
mov ebx, eax
test bl, bl
je 0x409261
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004069ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409286
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.004067fc
ret

Function at 0x4099f8
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x40c8f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4b2c4c
push 0xa
push 0x40c984
mov eax, dword [0x4b2c3c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40c914
call fcn.00417348
push ebx
mov eax, dword [0x4b2c3c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40c92b
call fcn.00417348
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40c93d
call fcn.00417348
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4b2c50], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4b2c54], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4b2c58], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4b2c5c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4b2c60], ecx
add edx, dword [eax + 0x14]
mov dword [0x4b2c64], edx
pop esi
pop ebx
ret

Function at 0x410234
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4102dd
test eax, edx
je 0x4102e0
push 0
push 0
cmp word [eax - 0xa], 2
je 0x41025d
push edx
mov edx, eax
mov eax, esp
call fcn.00406a08
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x410273
push eax
lea eax, [esp + 8]
call fcn.00406a08
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x410282
movzx eax, word [eax]
sub eax, ecx
jmp 0x4102a9
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4102c3
add ecx, 4
js 0x41029a
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x4102c0
push eax
mov eax, ecx
mov edx, 2
call fcn.00406054
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4102a7
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4102a9
xor eax, eax
ret
test eax, eax
je 0x4102f0
test edx, edx
jne 0x410244
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x414818
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x414851
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406940
jmp 0x41485a
mov eax, ebx
mov edx, esi
call fcn.00406804
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x414864
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x414886
movzx eax, word [esp]
jmp 0x414888
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x415018
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x41513d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00414e28
mov esi, eax
mov eax, dword [0x4af210]
cmp byte [eax], 0
je 0x4150e5
mov eax, dword [0x4aefd8]
call fcn.0040467c
call fcn.0040433c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x414ff0]
call fcn.00407fc8
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x415158
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x415121
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4aef74]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b2c3c]
call fcn.004080bc
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415144
lea eax, [ebp - 4]
mov edx, dword [0x414ff0]
call fcn.00407fd4
ret

Function at 0x4162f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4163ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406858
lea eax, [ebp - 4]
call fcn.004071f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406890
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4163b4
mov eax, ebx
call fcn.004041d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4163ad
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 - 4]
call fcn.00406890
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x416397
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4163dc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x416397
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4163b4
mov eax, dword [ebp - 0x10]
call fcn.004041f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4163d1
lea eax, [ebp - 4]
call fcn.004067f4
ret