joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101b96bb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1029f280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.101ad374
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.101ad374
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x101b9732
cmp word [ecx], dx
je 0x101b9732
mov eax, dword [0x1025b41c]
push edi
dec eax
push eax
push 0x1025b308
call fcn.101b965a
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x101b97a5
cmp word [eax], dx
je 0x101b97a5
mov eax, dword [edi]
test eax, eax
je 0x101b9756
cmp word [eax], dx
je 0x101b9756
lea eax, [ebp - 0x10]
push eax
call fcn.101b903d
jmp 0x101b975f
lea eax, [ebp - 0x10]
push eax
call fcn.101b90d8
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x101b97cf
mov eax, dword [0x1025b304]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1025aff8
call fcn.101b965a
add esp, 0xc
test al, al
je 0x101b97cf
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x101b979a
cmp word [eax], di
je 0x101b979a
lea eax, [ebp - 0x10]
push eax
call fcn.101b903d
pop ecx
jmp 0x101b97d1
lea eax, [ebp - 0x10]
push eax
call fcn.101b90d8
jmp 0x101b9797
mov eax, dword [edi]
test eax, eax
je 0x101b97bc
cmp word [eax], dx
je 0x101b97bc
lea eax, [ebp - 0x10]
push eax
call fcn.101b8ff2
pop ecx
jmp 0x101b97cf
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x101b989a
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.101b94df
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x101b989a
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x101b989a
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x101b989a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x101b9827
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.101add32
test ebx, ebx
je 0x101b9895
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.101add32
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101b989a
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101b989a
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.101be276
add esp, 0x10
xor eax, eax
inc eax
jmp 0x101b989c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10193ea5
leave
ret
Function at 0x101bdd40
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1029f280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x101bdd83
call fcn.1019ec4c
mov dword [eax], 0xf
call fcn.1019ec5f
mov dword [eax], 0xd
call fcn.1019f0eb
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10193ea5
leave
ret
test eax, eax
jne 0x101bdd8a
inc eax
jmp 0x101bdd77
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x101bdd75
xor eax, eax
cmp ecx, 1
setne al
jmp 0x101bdd77
Function at 0x101beb35
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.101beab1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101beca4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101beca4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101bec59
jg 0x101beb91
test eax, eax
je 0x101bec4f
push 1
push 0x1000
call fcn.101acf25
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x101bebb4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101bec46
push 0x8000
push ebx
call fcn.101a8a16
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x101bebdd
jg 0x101bebd8
cmp ecx, 0x1000
jb 0x101bebdd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101b23a8
add esp, 0x10
cmp eax, 0xffffffff
je 0x101bec22
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x101bebd8
jl 0x101bec09
test ecx, ecx
jne 0x101bebca
push dword [ebp - 0xc]
push ebx
call fcn.101a8a16
push esi
call fcn.101acf82
add esp, 0xc
xor ebx, ebx
jmp 0x101becb2
cmp byte [edi + 0x24], 0
je 0x101bec39
cmp dword [edi + 0x20], 5
jne 0x101bec39
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x101bec44
mov ebx, dword [edi + 0x18]
jmp 0x101bec46
xor ebx, ebx
push esi
call fcn.101acf82
pop ecx
jmp 0x101becb2
test ecx, ecx
jg 0x101bec1b
jl 0x101bec59
test eax, eax
jae 0x101bec1b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101b424c
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101bec79
cmp byte [edi + 0x1c], 0
je 0x101bec1b
jmp 0x101becaa
push ebx
call fcn.1019f9fd
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x101bec1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101becb2
cmp byte [edi + 0x1c], 0
je 0x101becaf
mov ebx, dword [edi + 0x18]
jmp 0x101becb2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.101b424c
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x101bf7a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101bf7cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101bf7cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x727f7729
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..rsrc_1
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xbf23ed7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4cb990
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x4cb9a9
mov esi, edi
mov edi, eax
jmp 0x4cb9ab
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x4cb9bb
mov eax, ebx
jmp 0x4cb9c5
push eax
push ebx
call fcn.0048b0a0
add esp, 8
test eax, eax
jne 0x4cb9cd
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x4cb9e9
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4cb9d4
cmp eax, dword [esi + 4]
jge 0x4cba00
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x4cb9f0
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x4cba21
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x4cba1e
dec eax
test eax, eax
jg 0x4cba10
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x1d637910
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x50ed6296
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4027f3
Capabilities:
Copy file
Extract resource via kernel32 functions
Get common file path
Get file size
Move file
Read file on windows
Terminate process
Write file on windows

Disassembly:
stc
jmp 0x4027c4
pushal
clc
jmp 0x4027db
call 0x4027f3
adc byte [0x160e0ead], al
pushfd
push ds
xchg esp, ebp
mov fs, word [0x62347e1b]
pop ss
scasd eax, dword es:[edi]
jo 0x402852
jmp 0x402800
add esi, 0xffffff88
jmp 0x40282d
cmp dword [esi], 0
clc
jmp 0x40283b
je 0x402a08
stc
jmp 0x402865
outsd dx, dword [esi]
push cs
pop ds
imul byte [edi - 0x1336c20b]
pop esi
out 0x5e, eax
mov bl, 0xb5
pop ds
mov esp, 0x72fe8be3
adc eax, 0xd0a9c96b
stc
mov edi, esi
jb 0x40287e
imul ecx, ecx, 0xffffffa9
sar cl, 1
aam 0xb0
or bh, 0xd2
js 0x402899
xor al, byte [ecx + 0x20742527]
add eax, 0x4c6838b
add esi, 4
jmp 0x40289f
loopne 0x40290f
push esp
nop
bound ecx, qword ss:[ebx - 0x52dd14ea]
daa
call dword [ecx]
mov edx, 0x6bf3413
imul ecx, ebp, 0xcf7fe16b
rcr dword [ecx - 0x56a9f33f], cl
push cs
hlt
mov edx, dword [esi]
jmp 0x4028c5
add edx, esi
clc
jae 0x4028ea
jb 0x402941
wait
invalid
mov eax, dword [esi + 4]
jmp 0x4028f2
sub dword [edx], 0x8c86caf4
jmp 0x402909
retf 0x8c86
add edx, 4
jmp 0x40293d
and al, 0xd9
pop edx
imul edi, dword [edi + ebp*4], 0x85c5c4bf
xor dl, cl
scasd eax, dword es:[edi]
aam 0x55
jbe 0x4028f5
jecxz 0x402976
call 0xa9426d94
cld
pop esi
popfd
pop esp
cwde
lodsd eax, dword [esi]
cmp dword [ecx + 0x25], 0xaa45296
clc
inc eax
fisttp word [edi - 0x770077fb]
sub eax, 1
stc
jmp 0x40294e
jne 0x4028ed
jb 0x40297c
jp 0x402965
hlt
dec ecx
dec eax
push edi
cmc
ficomp dword [edx]
jnp 0x402997
pop ds
jmp 0x4029dc
cli
dec eax
push cs
fnstsw word [ecx + 0x38]
add esi, 8
jmp 0x402987
sub dword [edi], 1
stc
jb 0x4029b3
sub al, 0x5d
not dword [edx]
mov bh, 0xd6
sbb bh, 0x58
and byte [ecx + 0x3e], ah
jbe 0x4029ec
popal
jbe 0x4029ec
imul ecx, dword [ebx - 0x38c7c46e], 0x35
nop
mov edi, 0x254a26df
xor ecx, esp
dec ecx
xlatb
dec esp
inc ebp
aad 0xf7
invalid
jne 0x402881
clc
jae 0x4029d0
fidivr word [eax + 8]
in eax, dx
insd dword es:[edi], dx
nop
mov ah, 0x53
inc edx
inc ebx
inc ebp
invalid
mov ebx, esi
jmp 0x402a03
shr byte [ebp + 0x5d], 1
test eax, 0xfebf9b1f
in al, dx
movsd dword es:[edi], dword [esi]
std
sbb dword [edi + 0x6a], eax
push 0xffffffffffffffde
sbb eax, ebx
mov ch, 0x7e
idiv dword [edi]
rcr edi, 0x85
ret
ficomp word [ecx]
fdiv dword [ebp - 0x3ec00882]
fild word [ebp - 0x6980163d]
cli
inc ebp
stosd dword es:[edi], eax
xchg esp, eax
mov bh, 0x29
and esp, dword [eax]
call fcn.00402a62
jmp 0x402a31
popal
stc
jmp 0x402a5d
jmp fcn.00401000

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 0x4016b9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e938]
jne 0x4016c3
repz ret
jmp fcn.00404351

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x401fb5
call fcn.00401f58
mov dword [eax], esi
call fcn.00401f45
push 0x16
pop esi
mov dword [eax], esi
call fcn.004019f2
mov eax, esi
jmp 0x40200a
test dword [ebp + 0xc], 0xfffffff9
jne 0x401f9b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401fe2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401f6b
pop ecx
call fcn.00401f45
mov eax, dword [eax]
jmp 0x40200a
test al, 0x10
jne 0x402008
test al, 1
je 0x402008
test byte [ebp + 0xc], 2
je 0x402008
call fcn.00401f58
mov dword [eax], 5
call fcn.00401f45
mov dword [eax], 0xd
jmp 0x401fd9
xor eax, eax
pop esi
pop ebp
ret
Function at 0x407ecf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404f5d
and dword [ebp - 0x14], 0
cmp dword [0x410480], 0
mov dword [ebp - 0x18], eax
jne 0x407f82
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40802a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40802a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x410480], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x410484], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x410488], eax
call edi
push eax
call esi
mov dword [0x410490], eax
test eax, eax
je 0x407f82
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41048c], eax
mov eax, dword [0x41048c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407fdb
cmp dword [0x410490], ecx
je 0x407fdb
push eax
call esi
push dword [0x410490]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407fdb
test ebx, ebx
je 0x407fdb
call edi
test eax, eax
je 0x407fd2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407fd2
test byte [ebp - 8], 1
jne 0x407fdb
or dword [ebp + 0x10], 0x200000
jmp 0x40800e
mov eax, dword [0x410484]
cmp eax, dword [ebp - 0x18]
je 0x40800e
push eax
call esi
test eax, eax
je 0x40800e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40800e
mov eax, dword [0x410488]
cmp eax, dword [ebp - 0x18]
je 0x40800e
push eax
call esi
test eax, eax
je 0x40800e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x410480]
call esi
test eax, eax
je 0x40802a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40802c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004016b9
leave
ret
Function at 0x40ca08
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 0x40ca6c
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.00404654
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408554
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca73
lea eax, [ebp - 0xc]
call fcn.004043e4
ret

Function at 0x413eac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x413ef4
lea eax, [ebp - 0x714]
push eax
call fcn.00411f21
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00411ed6
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x413ef4
jmp 0x4138b3
cmp dword [ebp - 0x37c], 0
je 0x413f02
jmp 0x413fb7
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x413f5b
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x413f60
jmp 0x4138b3
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x413fa7
lea eax, [ebp - 0x714]
push eax
call fcn.00411f21
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00411ed6
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0

Function at 0x41adfc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45b884
cmp dword [edi], 0
jne 0x41ae78
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45b880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45946c
mov ecx, 2
call fcn.00402c48
mov edx, 0x41add4
lea eax, [esi + 5]
call fcn.0041adf4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041adf4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41ae4d
mov dword [0x45b880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41c3f4
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 0x41c3fa
ret
Function at 0x41e8c0
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 0x41e911
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e8f8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e8e8
jmp 0x41e911
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 0x41e8f9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52c6f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xcf000]
mov dword [edi + 0xcf740], 0x58035550
push edi
jmp 0x52c71a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52c721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c710
mov eax, 1
add ebx, ebx
jne 0x52c733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52c744
jne 0x52c763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c763
dec eax
add ebx, ebx
jne 0x52c750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52c728
add ebx, ebx
jne 0x52c75f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52c7b5
xor ecx, ecx
sub eax, 3
jb 0x52c77b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52c7ea
sar eax, 1
mov ebp, eax
jmp 0x52c786
add ebx, ebx
jne 0x52c786
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c754
inc ecx
add ebx, ebx
jne 0x52c794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c754
add ebx, ebx
jne 0x52c7a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52c796
jne 0x52c7b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52c796
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52c7d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52c7c6
jmp 0x52c716
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52c7d4
add edi, ecx
jmp 0x52c716
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52c7f2
cmp byte [edi], 0x11
jne 0x52c7f2
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 0x52c7f7
lea edi, [esi + 0x125000]
mov eax, dword [edi]
or eax, eax
je 0x52c86f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x172ecc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x173048]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52c824
mov ecx, edi
jns 0x52c853
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x17304c]
or eax, eax
je 0x52c869
mov dword [ebx], eax
add ebx, 4
jmp 0x52c841
call dword [esi + 0x17305c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52c8a0
cmp al, 0xef
ja 0x52c893
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52c875
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52c882
mov ebp, dword [esi + 0x173050]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x52c8d4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x4805a9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x53566c]
cmp eax, 0xffffffff
jne 0x4806b5
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa41440
call sub.msvcrt.dll_memset
mov dword [0xa41440], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa41484
call sub.msvcrt.dll_memset
mov dword [esp + 0x24], 0xa41484
mov dword [esp + 0x20], 0xa41440
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.cmd.exe__c_ver
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
test eax, eax
setne al
test al, al
je 0x4806ab
mov eax, dword [0xa41484]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [0xa41484]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa41488]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0x53566c], 1
jmp 0x4806b5
mov dword [0x53566c], 0
mov eax, dword [0x53566c]
leave
ret