joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b6232
Capabilities:
Encode data using xor

Disassembly:
jecxz 0x4b628a
mov byte [0x983ca04a], al
inc eax
in eax, 4
mov ch, 0xc
sbb edi, dword [eax + 0x55]
jmp 0x3cedbe87
push edi
pop esp
mov byte [0x6789b73c], al
sub ebx, dword [di + 0x49e1]
xor cl, byte [ecx + 0x12]
wait
fcomp qword [ebp - 0x59]
inc ebx
sub ebx, dword [di + 0x49e1]
xor cl, byte [ecx + 0x12]
wait
fcomp qword [ebp - 0x59]
inc ebx
add al, byte [ebp - 0x7a]
adc ah, byte [edx + 0x41]
js 0x4b621c
add dword [edi + 0x361ee8e], esi
mov ecx, 0xcad676e6
xchg edi, eax
adc eax, 0x866fec1c
jge 0x4b622c
test al, 0x8c
loopne 0x4b62b4
in al, dx
sbb esp, dword [bp + di]
mov ebp, eax
pop esi
loop 0x4b629a
daa
inc ecx
sub dword [edi], eax
mov esp, 0x71776dee
mov al, 0x2c
invalid
xor dword [edx + 0x4dcbb860], ebx
and ecx, 0xc461c46a
daa
push 0x1ce47fc0
in al, 0x1c
aaa
ret 0x56b3
and edx, dword [edx + 0x5d]
shl byte [ebx - 0x4321bd19], 1
invalid
out 0x42, eax
fidivr word [esp + ebx*8 - 0x1d1d7c2f]
and ah, 0xd2
outsd dx, dword ds:[esi]
movsx eax, word [eax + 0xc]
aam 0x11
pop edi
sub byte [ebx + 0x24ed7b9f], ah
cmpsb byte [esi], byte es:[edi]
cmc
mov esi, 0x66a903d6
cmp eax, 0x331a3962
loopne 0x4b62af
cmp cl, byte [edi + 0x2af1b7fa]
test eax, 0x72198034
push esi
jo 0x4b630d
fidivr dword [0xbf8630a8]
imul esi, dword [edx - 0x474c2e16], 0xffffffc3
jle 0x4b630e
rcl al, cl
and byte [edi + 0x10], bh
lodsd eax, dword [esi]
mov byte [ecx - 0x22addd42], ch
dec esp
bound ebx, qword [ebp + 0x3e8b6567]
mov edi, dword [esi]
xchg edx, eax
xchg edx, eax
cmpps xmm7, xmmword cs:[eax - 0x7729e5e5], 0x15
mov byte ds:[0xe5591f97], al
test dword [esp + edi + 0x52], ecx
xor eax, 0x11cbf5c1
xchg ebx, eax
adc al, 0xbd
mov byte [0x285c06f0], al
je 0x4b6302
cmc
retf
int1
out 0x53, al
inc edi
imul bl
cmp eax, 0x2009bc3
inc esi
and byte [edx], al
add dh, cl
xchg edx, eax
dec eax
or al, 0x4f
inc esp
inc ecx
sbb al, 0x57
cmp eax, 0x287d8b46
fdivr qword [ebx + edx*4 + 0x2191589c]
sub dh, byte [ebx - 0x775e1919]
salc
jecxz 0x4b638a
mov ebp, 0x16b770c6
aaa
pop es
out 0x34, al
inc eax
cmp byte [edx - 0xe27fbb4], al
mov byte [0x64f81352], al
in eax, 0xc8
mov edx, 0x83f70233
xchg dword [ebp + 0x63], edi
dec eax
sal dword [ecx + eax*2], 0xf2
jae 0x4b63cc
inc esp
xchg ecx, eax
xchg ecx, eax
mov al, 0x69
loope 0x4b6325
call 0x52e0e9a5
mov dl, byte [ebx - 0x4009fc8b]
les ecx, [ebp + 0x7ff2dfd7]
add eax, dword [esi]
xchg ebx, eax
mov esi, 0xca53bcdf
pop esp
cmpxchg byte [ebx + ebx*2 + 0x7b006334], cl
invalid
stosb byte es:[edi], al
add byte [ecx - 0x73e70a1], dh
pop edx
std
sub byte [ecx - 0x7e12b0ec], ch
pop esp
out dx, al
ljmp 0x6808
Function at 0x5d6cc2
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
pop ecx
arpl sp, si
xchg dl, bh
pop esi
cwde
or esi, dword [edi + 0x57]
mov bh, 0x5d
push 0x78
test al, 0xfb
aad 0xb6
xor al, dh
xchg ebp, eax
les edx, [esi - 6]
daa
aam 0x23
in eax, dx
push eax
fidiv word [ebx + ecx*4 - 0xb]
aaa
invalid

Function at 0x5e1b52
Capabilities:
Encode data using xor

Disassembly:
aam 0x3d
cmpsd dword [esi], dword es:[edi]
sub eax, 0x11e1460f
xor dl, ch
out dx, eax
outsb dx, byte [esi]
dec eax
sbb al, byte [ebx]
add esi, dword [ebx + 0x6e891c15]
aaa
dec ebp
imul edi, dword [ebx - 0x7ca67f2c], 0x17
xchg esi, eax
push ss
cli
movsb byte es:[edi], byte [esi]
mov eax, 0xc2ffaf54
scasd eax, dword es:[edi]
scasd eax, dword es:[edi]
sbb al, 0x20
pop ebp
sub byte [edx + eax*8], dl
pop edx
xor ebx, ebp
sbb byte [edi + 0x59], bl
cmp ecx, edx
dec ecx
dec edx
adc al, 0xab
test byte [edx], dh
pop edi
sub eax, 0xfba66aab
mov ecx, ecx
imul ebp, dword [esi*8 - 0x52fefc5c], 0x3048058a
mov dl, 0x4e
das
push edx
jbe 0x5e1b34
dec ebx
push esp
mov al, byte [0x7bb8fcd7]
mov ebx, 0x4cceb5f5
lahf
jl 0x5e1bb4
mov dword [0x1794b90f], eax
fdiv dword [eax - 0x1a]
inc esi
pop es
cmp ebp, dword [esi]
cmp ah, dl
push ss
cmp al, 0x78
adc dl, 0xe0
pop edx
mov di, dx
sar ebx, 0xc6
aas
mov al, byte [0xe93234f7]
out 0x9e, eax
and al, 0xb3
push ecx
jge 0x42709503
xchg edi, eax
and dword [ecx], ebp
cmp dword [edi - 0x31b78096], edi
cmp dword [eax + 0x76], eax
sub ebp, 6
mov esi, 0xd3d9fdcc
adc al, 0x48
sti
mov al, byte [edx]
int1
invalid
Function at 0x659a76
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662930
cmp edx, dword [eax]
je 0x659a98
add eax, 8
inc ecx
cmp eax, 0x6629c0
jl 0x659a89
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662930]
jne 0x659bc6
mov eax, dword [0xa65d18]
cmp eax, 1
je 0x659ba0
test eax, eax
jne 0x659ac9
cmp dword [0x6602e4], 1
je 0x659ba0
cmp edx, 0xfc
je 0x659bc6
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659b00
lea eax, [ebp - 0x1a4]
push 0x65d858
push eax
call fcn.00656af0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00656c70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659b43
lea eax, [ebp - 0x1a4]
push eax
call fcn.00656c70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65d854
push edi
call fcn.00656e00
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65d838
push eax
call fcn.00656af0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00656b00
lea eax, [ebp - 0xa0]
push 0x65d834
push eax
call fcn.00656b00
push dword [esi + 0x662934]
lea eax, [ebp - 0xa0]
push eax
call fcn.00656b00
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65d80c
push eax
call fcn.0065b41c
add esp, 0x2c
pop edi
jmp 0x659bc6
lea eax, [ebp + 8]
lea esi, [esi + 0x662934]
push 0
push eax
push dword [esi]
call fcn.00656c70
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 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x788161fe
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xe1a56c1
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
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
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x408f6c
nop
mov ecx, 0xf9229ab
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x3b91757b
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x33923821
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x3de40166
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402d40
Capabilities:
Query or enumerate registry value

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

Function at 0x403860
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x419044], 0
je 0x4038c1
cmp word [0x419218], 0xd7b2
jne 0x403889
cmp dword [0x419220], 0
jbe 0x403889
mov eax, 0x419214
call dword [0x419230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x418068
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 0x4038e8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41802c], 0
jne 0x4038dd
push 0
push 0x418060
push 0x418068
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404b1c
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 0x404d4c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404b9f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404d4c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404b9f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404d68
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404c28
xor eax, eax
push ebp
push 0x404c21
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404964
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 0x404c06
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404d88
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404c06
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 0x404c28
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 0x404d42
cmp byte [ebp - 0xd], 0
jne 0x404c6f
cmp byte [ebp - 0x12], 0
je 0x404d42
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404c88
dec ebx
cmp byte [ebx], 0x2e
je 0x404c97
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404c87
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404d42
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404cd4
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 0x404d42
cmp byte [ebp - 0xd], 0
je 0x404d42
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 0x404d42
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 0x404c28
Capabilities:
Get geographical location

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 0x404d4c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404b9f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404d4c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404b9f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404d68
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404c28
xor eax, eax
push ebp
push 0x404c21
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404964
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 0x404c06
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404d88
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404c06
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 0x404c28
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 0x404d42
cmp byte [ebp - 0xd], 0
jne 0x404c6f
cmp byte [ebp - 0x12], 0
je 0x404d42
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404c88
dec ebx
cmp byte [ebx], 0x2e
je 0x404c97
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404c87
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404d42
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404cd4
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 0x404d42
cmp byte [ebp - 0xd], 0
je 0x404d42
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 0x404d42
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 0x4053d8
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 0x40543e
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.00403c4c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402934
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405428
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405445
lea eax, [ebp - 0x10]
call fcn.004039dc
ret

Function at 0x4097d0
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 0x409809
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403acc
jmp 0x409812
mov eax, ebx
mov edx, esi
call fcn.00403a30
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x409ec4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409d3c
mov eax, dword [0x4185ec]
cmp byte [eax], 0
je 0x409f40
mov eax, dword [0x4184d4]
call fcn.00402894
call fcn.0040271c
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.0040715c
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 0x409f88
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409f76
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4184ac]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x419660]
call fcn.00404928
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 0x40ac24
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 0x40ac88
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.00403c4c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00406c70
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ac8f
lea eax, [ebp - 0xc]
call fcn.004039dc
ret

Function at 0x4128a8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov edi, edx
mov ebx, eax
call sub.kernel32.dll_GetCurrentProcess
push 0x1c
lea eax, [esp + 8]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery_1
lea eax, [esp + 0x18]
push eax
push 0x40
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
mov ecx, esi
mov edx, edi
mov eax, ebx
call fcn.00405968
push esp
mov eax, dword [esp + 0x1c]
push eax
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x4128f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov edi, eax
call sub.kernel32.dll_GetCurrentProcess
push 0x1c
lea eax, [esp + 8]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery_1
lea eax, [esp + 0x18]
push eax
push 0x40
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
mov ecx, esi
mov edx, edi
mov eax, ebx
call fcn.00405968
push esp
mov eax, dword [esp + 0x1c]
push eax
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x412940
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, edx
mov ebx, ecx
xor esi, esi
cmp edi, ebx
jb 0x412969
mov edx, esp
mov ecx, 4
mov eax, ebx
call fcn.004128f4
xor dword [esp], ebx
xor esi, dword [esp]
add ebx, 4
cmp edi, ebx
jae 0x41294e
mov eax, esi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x412d5c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov ebp, edx
mov esi, eax
call sub.kernel32.dll_GetCurrentProcess
mov ebx, eax
push esp
push 0x40
push edi
push esi
push ebx
call sub.kernel32.dll_VirtualProtectEx
test eax, eax
je 0x412d88
mov ecx, edi
mov edx, ebp
mov eax, esi
call fcn.00405968
push 0
mov eax, dword [esp + 4]
push eax
push edi
push esi
push ebx
call sub.kernel32.dll_VirtualProtectEx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret