joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d2d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ae15
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1008a5e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.1001caf0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1001d363
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0x15555555
je 0x1001d4b1
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100483d3
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004e360]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1004e360]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1001d453
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10048720
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1001d435
cmp ebx, 0x200
jae 0x1001d433
shl ebx, 3
cmp ebx, ecx
jae 0x1001d435
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.1001d810
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001caf0
mov edx, dword [eax]
jmp 0x1001d456
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x1001d481
mov dword [ecx + eax*8], esi
jmp 0x1001d490
cmp edi, edx
jne 0x1001d48a
mov dword [ecx + eax*8], esi
jmp 0x1001d494
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1001d494
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x1001d4c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x1001d4de
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x1001d504
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1001d4f0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1000f540
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x1001d524
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001dd00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004e360]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [ebx]
addss xmm0, dword [0x1004e350]
call fcn.10048720
mov ecx, dword [ebx + 8]
sub esp, 8
mov esi, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1004e360]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [ebx]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10048720
cmp eax, esi
cmovb eax, esi
cmp eax, dword [ebx + 0x1c]
jbe 0x1001dd97
push eax
mov ecx, ebx
call fcn.1001d810
mov edi, dword [edi + 0x24]
mov dword [ebp - 0x10], edi
mov esi, dword [edi]
cmp esi, edi
je 0x1001de6c
nop word [eax + eax]
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], edx
jb 0x1001ddc7
mov ecx, dword [edx]
mov dword [ebp - 4], ecx
xor ecx, ecx
mov ebx, 0x811c9dc5
test eax, eax
je 0x1001dde7
mov edi, dword [ebp - 4]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1001ddd5
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
and eax, ebx
mov ebx, dword [ecx + eax*8 + 4]
cmp ebx, dword [edi + 4]
je 0x1001de40
mov eax, dword [ecx + eax*8]
mov dword [ebp - 8], eax
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], ecx
jb 0x1001de15
mov eax, dword [eax]
cmp dword [edx + 0x14], 0x10
mov ecx, edx
jb 0x1001de1f
mov ecx, dword [edx]
push dword [ebp - 4]
push eax
push dword [edx + 0x10]
push ecx
call fcn.1000f6d0
add esp, 0x10
test al, al
jne 0x1001de42
cmp ebx, dword [ebp - 8]
je 0x1001de40
mov ebx, dword [ebx + 4]
mov edx, dword [ebp - 0xc]
jmp 0x1001de04
xor ebx, ebx
mov ecx, edi
test ebx, ebx
mov edi, dword [ebp - 0x10]
cmove ebx, dword [ecx + 4]
cmp ebx, dword [ecx + 4]
je 0x1001de62
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001d2d0
mov esi, dword [esi]
cmp esi, edi
jne 0x1001ddb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001de80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, byte [edx]
xor eax, 0x811c9dc5
push esi
lea esi, [ecx + 0x20]
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
push eax
push edx
lea eax, [ebp - 8]
push eax
call fcn.1001caf0
mov eax, dword [eax + 4]
test eax, eax
jne 0x1001ded6
mov eax, dword [esi + 4]
add eax, 0xc
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1001e030
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 0x10]
mov edi, ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
lea esi, [edi + 0x6c]
push esi
push eax
lea ecx, [edi + 0x20]
call fcn.1001cc00
push esi
lea eax, [ebp + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001d090
mov esi, dword [ebp - 0xc]
add esi, 0x10
mov eax, esi
mov dword [ebp + 0x10], eax
cmp dword [esi + 0x14], 0x10
jb 0x1001e076
mov eax, dword [esi]
mov dword [ebp + 0x10], eax
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov eax, dword [esi + 0x10]
mov edx, 0x811c9dc5
mov dword [ebp - 8], eax
test eax, eax
je 0x1001e0a5
mov edi, dword [ebp + 0x10]
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x10]
jb 0x1001e090
mov edi, dword [ebp - 4]
push edx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x40]
call fcn.1001cb60
lea ecx, [edi + 0x40]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1001e0c3
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 0x44]
jne 0x1001e109
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.1001ce80
cmp dword [esi + 0x14], 0x10
lea ecx, [edi + 0x60]
jb 0x1001e0dd
mov esi, dword [esi]
mov eax, dword [edi + 0x64]
mov dword [ebp + 0x10], esi
cmp eax, dword [edi + 0x68]
je 0x1001e0ff
mov dword [eax], esi
add dword [edi + 0x64], 4
mov eax, dword [edi + 0x6c]
lea ecx, [eax + 1]
mov dword [edi + 0x6c], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp + 0x10]
push edx
push eax
call fcn.10015c60
mov eax, dword [edi + 0x6c]
lea ecx, [eax + 1]
mov dword [edi + 0x6c], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10027210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b210
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1008a5e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi], 0
jne 0x1002732d
lea eax, [edi + 8]
push 0x10075efc
push eax
call fcn.100268e0
mov edx, dword [edi + 0x48]
xor eax, eax
mov dword [ebp - 0x2c], eax
xor ebx, ebx
mov dword [ebp - 0x18], eax
add esp, 8
mov eax, edx
mov dword [ebp - 0x28], ebx
and al, 0x22
mov dword [ebp - 0x14], 0xf
xorps xmm0, xmm0
movq qword [ebp - 0x38], xmm0
cmp al, 2
je 0x10027297
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
je 0x10027297
mov eax, dword [edi + 0x1c]
cmp ecx, dword [edi + 0x44]
cmovb ecx, dword [edi + 0x44]
mov edx, dword [eax]
sub ecx, edx
jmp 0x100272bb
test dl, 4
jne 0x100272b5
mov eax, dword [edi + 0x28]
mov esi, dword [eax]
test esi, esi
je 0x100272b5
mov eax, dword [edi + 0x18]
mov edx, dword [eax]
mov eax, dword [edi + 0x38]
mov ecx, dword [eax]
sub ecx, edx
add ecx, esi
jmp 0x100272bb
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x100272d2
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000eab0
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
push 2
cmovae esi, ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push dword [ebp - 0x2c]
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov ecx, dword [ebp - 0x14]
add esp, 0x14
mov byte [edi], 1
cmp ecx, 0x10
jb 0x1002732d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10027323
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10027323
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10048403
add esp, 8
mov eax, dword [edi + 8]
lea ecx, [edi + 0xc]
mov eax, dword [eax + 4]
mov dword [eax + edi + 8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [edi + 8]
mov edx, dword [eax + 4]
lea eax, [edx - 0x50]
mov dword [edx + edi + 4], eax
call fcn.10027160
lea ecx, [edi + 0x10]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [edi + 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10048062
mov esp, ebp
pop ebp
ret
Function at 0x10042330
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4

Function at 0x100425e0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004cabb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1008a5e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], vtable.re2::Regexp::Walker_struct_re2::Frag_.0
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.100483d3
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [edi + 0x18], 0
mov dword [edi], vtable.re2::Compiler.0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x48]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
push 0x18
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100483d3
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push dword [esi + 4]
mov byte [ebp - 4], 3
push 0x10
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.100104b0
mov eax, dword [0x10076ad0]
mov ecx, dword [0x10076ad4]
push 0x180
mov byte [ebp - 4], 4
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], ecx
mov byte [edi + 0x74], 0
call fcn.100483d3
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x10042715
mov ecx, eax
call fcn.1002cc70
jmp 0x10042717
xor eax, eax
push 1
mov ecx, edi
mov byte [ebp - 4], 4
mov dword [edi + 0x20], eax
mov byte [edi + 0x24], 0
mov dword [edi + 0x28], 1
mov byte [edi + 0x2c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 1
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
call fcn.100432c0
mov ecx, dword [edi + 0x34]
lea ecx, [ecx + eax*8]
call fcn.1002ee50
mov dword [edi + 0x3c], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
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
nop
mov ebx, 0x40de38
nop
mov ecx, 0x2df97e7d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x4500c9e
nop
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
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402f2c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0x14]
call sub.kernel32.dll_WriteFile
test eax, eax
setne al
movsx eax, al
push eax
call fcn.00402dcc
mov esi, eax
cmp dword [0x407f7c], 0xffffffff
je 0x402f8d
mov eax, dword [ebp + 0x14]
cmp eax, dword [0x407f78]
jne 0x402f8d
lea eax, [ebp - 0x1c]
push eax
push dword [0x407f78]
call sub.kernel32.dll_GetConsoleScreenBufferInfo
movsx eax, word [ebp - 0x18]
mov dword [0x407f84], eax
movsx eax, word [ebp - 0x16]
mov dword [0x407f88], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4030a4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
push esi
push edi
mov edi, 3
push 0x408abc
call fcn.004065ac
mov esi, dword [eax]
push 0x408abc
call fcn.004065ac
mov dword [eax], 0x40
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x38c]
push eax
push 0
call fcn.00405e14
call fcn.00405c90
lea eax, [ebp - 0x150]
push eax
push 1
call fcn.00405d1c
call fcn.00404530
test eax, eax
jne 0x4031e5
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 0x40
push 0
call fcn.00405df4
call fcn.00404530
test eax, eax
jne 0x40315b
cmp word [ebp - 0x190], 0x5a4d
jne 0x40315b
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.00405d38
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 2
push 0
call fcn.00405df4
jmp 0x403165
mov dword [ebp - 0x154], 0
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.00405d38
call fcn.00404530
test eax, eax
jne 0x4031c9
cmp word [ebp - 0x190], 0x4550
jne 0x4031c9
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x288]
push eax
push 0xf8
push 0
call fcn.00405df4
call fcn.00404530
test eax, eax
jne 0x4031c9
cmp dword [ebp - 0x288], 0x4550
jne 0x4031c9
cmp word [ebp - 0x22c], 3
jne 0x4031c9
mov edi, 2
lea eax, [ebp - 0x150]
push eax
call fcn.00405d68
push 0x408ab4
call fcn.004065ac
mov dword [eax], 0
push 0x408abc
call fcn.004065ac
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40323c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
call sub.kernel32.dll_CreateThread
mov esi, eax
push esi
call sub.kernel32.dll_CloseHandle
test esi, esi
setne al
movsx eax, al
push eax
call fcn.00402dcc
mov esi, eax
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4032e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
cmp dword [0x40801c], 0
je 0x403302
mov eax, dword [0x40801c]
mov dword [ebp - 4], eax
jmp 0x403397
push 0x104
call fcn.00404604
mov dword [ebp - 4], eax
push 0x104
push dword [ebp - 4]
push 0
call sub.kernel32.dll_GetModuleFileNameA
push dword [ebp - 4]
call fcn.004040cc
inc eax
mov ebx, eax
call sub.kernel32.dll_GetCommandLineA
mov esi, eax
mov al, byte [esi]
dec al
cmp al, 0x1f
jbe 0x403347
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.00403278
mov esi, eax
inc esi
push esi
call fcn.004040cc
inc eax
mov edi, eax
lea eax, [ebp - 4]
push eax
mov eax, ebx
add eax, edi
inc eax
push eax
call fcn.00404664
call sub.kernel32.dll_AreFileApisANSI
test eax, eax
jne 0x403378
push edi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push esi
call sub.user32.dll_CharToOemBuffA
jmp 0x403385
push esi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push edi
call fcn.00405124
mov eax, dword [ebp - 4]
add eax, ebx
add eax, edi
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov dword [0x40801c], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403474
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov dword [ebp - 0x24], 0x52414853
mov dword [ebp - 0x20], 0x454d4445
mov dword [ebp - 0x1c], 0x5356354d
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0xb
call fcn.00405098
xor eax, eax
mov bl, 0
cmp dword [0x407fc0], 0
jne 0x4034c2
push 0x407d10
push 1
call fcn.00402cd8
mov dword [0x407fc0], eax
cmp dword [0x407fc0], 0
jne 0x4034db
push 0x8000
call fcn.00404604
mov esi, eax
mov bl, 1
jmp 0x403515
lea eax, [ebp - 0x24]
push eax
push 0
push 6
call dword [0x407fc0]
test eax, eax
jne 0x403505
lea eax, [ebp - 0x24]
push eax
push 0x8000
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov bl, 1
push 0
push 0
push 0
push 6
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test bl, bl
je 0x40353e
push esi
push 0x8000
push 0xff
call fcn.00405180
push esi
push 0x24
push 0
call fcn.00405180
mov eax, esi
add eax, 0xc
push eax
call fcn.004046ec
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4038ec
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
call fcn.00403878
lea edx, [ebp - 0x400]
movzx ecx, word [ebp + 0x14]
dec ecx
xor esi, esi
jmp 0x403924
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov word [edx + 2], ax
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax]
mov word [edx], ax
inc dword [ebp + 0x18]
add edx, 4
inc esi
cmp ecx, esi
jge 0x40390a
mov ax, word [ebp + 0x14]
mov word [ebp - 0x404], ax
mov word [ebp - 0x402], 1
mov word [ebp - 0x408], 0
mov word [ebp - 0x406], 0
mov ax, word [ebp + 0x10]
mov word [ebp - 0x410], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40e], ax
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0x14]
add ecx, eax
dec ecx
mov word [ebp - 0x40c], cx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40a], ax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x408]
push dword [ebp - 0x404]
lea eax, [ebp - 0x400]
push eax
push dword [0x407f78]
call sub.kernel32.dll_WriteConsoleOutputA
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x403ccc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x403cec
mov al, byte [ebp - 4]
jmp 0x403cef
mov al, byte [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4060cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
or edi, 0xffffffff
or eax, 0xffffffff
mov dword [ebp - 0x24], 0
xor esi, esi
mov edx, dword [0x408370]
add edx, 0x24
mov esi, edx
cmp dword [edx], 0xffffffff
je 0x40610a
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x406105
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 8]
jbe 0x406105
mov esi, edx
add edx, 0x10
jmp 0x4060ee
mov edx, esi
cmp dword [edx], 0xffffffff
je 0x40621e
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x40621e
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x40621c
mov ecx, dword [edx + 8]
sub dword [ebp + 0x10], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0xc]
test edx, edx
je 0x40621c
mov cl, byte [edx]
sub cl, 0x3c
jne 0x406152
jmp 0x40621c
sub cl, 3
jne 0x40616c
inc edx
mov dword [ebp - 0xc], edx
movzx ecx, byte [edx]
inc ecx
add edx, ecx
mov byte [ebp - 0x25], 1
jmp 0x406217
inc cl
jne 0x406180
movzx ecx, word [edx + 1]
add edi, ecx
add edx, 3
jmp 0x406217
inc cl
jne 0x406194
movzx ecx, word [edx + 1]
add edi, ecx
mov ecx, dword [edx + 3]
add eax, ecx
add edx, 7
jmp 0x4061a7
movzx ecx, byte [edx]
shr ecx, 6
add edi, ecx
mov cl, byte [edx]
and cl, 0x3f
movzx ecx, cl
add eax, ecx
inc edx
cmp eax, dword [ebp + 0x10]
jne 0x4061b1
mov esi, eax
mov dword [ebp - 0x24], edi
cmp eax, dword [ebp + 0x10]
jl 0x40620e
sub eax, dword [ebp + 0x10]
cmp eax, 0xa
jle 0x4061c4
cmp byte [ebp - 0x25], 0
jne 0x40620c
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov eax, dword [ebp + 0xc]
mov byte [eax], cl
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp eax, dword [ebp - 0x14]
jle 0x4061fa
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + ecx]
xor dl, 0xaa
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [eax + ecx], dl
jmp 0x4061d5
movzx eax, word [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
add esi, dword [ebp - 0x18]
mov eax, esi
jmp 0x40621e
jmp 0x40621c
mov esi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x25], 0
jmp 0x406144
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4066f4
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
cld
push ecx
call fcn.004066d0
call fcn.00403474
mov dword [0x408370], eax
lea edx, [eax + 0x18]
mov dword [0x4083d0], edx
pop edx
call fcn.00406550
call sub.kernel32.dll_GetEnvironmentStrings
mov dword [0x40839c], eax
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x4083b0], eax
mov dword [0x4083d8], eax
call fcn.004030a4
cmp eax, 3
setb byte [0x408379]
call fcn.004040c4
lea eax, [esp]
xor edx, edx
mov ecx, dword fs:[edx]
mov dword fs:[edx], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x406980
mov dword [eax + 8], ebp
jmp dword [esp + 0x10]