joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x10017cbc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10017ce4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10017cea
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x10017d74
jg 0x10017d01
test esi, esi
je 0x10017d74
test ecx, ecx
jl 0x10017d57
jg 0x10017d0b
test eax, eax
je 0x10017d57
cmp edi, ecx
jg 0x10017d1f
jl 0x10017d15
cmp esi, eax
jae 0x10017d1f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x10017d74
jg 0x10017d5a
test esi, esi
je 0x10017d74
jmp 0x10017d5a
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10017d74
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10017d90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x10017dbc
jl 0x10017db0
test ecx, ecx
jne 0x10017dbc
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10017dd5
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x10017e1d
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x10017e23
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x10017e23
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x10017e96
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10017e4c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x10017e84
nop dword [eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10017e96
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x10017e60
test edi, edi
je 0x10017e96
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10018240
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1001827c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1001827c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10018353
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x100182a4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100182b0
movsx eax, bl
jmp 0x100182e8
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x10018312
sub eax, 1
je 0x10018312
sub eax, 2
jne 0x10018353
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10018330
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10018353
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10046167
mov esp, ebp
pop ebp
ret 4
Function at 0x10019900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100199bc
cmp byte [esi + 0x3d], 0
je 0x100199bc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100199aa
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10019971
sub eax, 1
je 0x10019975
sub eax, 2
jne 0x100199aa
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10019993
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100199aa
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10046167
mov esp, ebp
pop ebp
ret
Function at 0x1002a6c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0xffff
movzx eax, bx
mov dword [ebp - 0x34], eax
mov esi, ecx
cmp di, bx
jne 0x1002a6fd
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x1002a737
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x1002a737
dec dword [edx]
mov ax, bx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1002a807
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ecx], eax
jne 0x1002a764
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1002a797
push dword [esi + 0x4c]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
add esp, 8
movzx ecx, bx
cmp ax, di
cmove ecx, edi
pop edi
pop esi
mov ax, cx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret 4
movzx eax, bx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet___wchar_t_const___wchar_t_const___wchar_t_const____char___char___char___const]
sub eax, 0
je 0x1002a7d6
sub eax, 1
je 0x1002a7d6
sub eax, 2
jne 0x1002a807
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x1002a76f
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x1002a7f4
push dword [esi + 0x4c]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x1002a807
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x30], ecx
movzx eax, ax
mov byte [esi + 0x3e], 1
cmovne edi, eax
mov ecx, dword [ebp - 4]
mov ax, di
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10046167
mov esp, ebp
pop ebp
ret 4
Function at 0x1002b180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002b244
cmp byte [esi + 0x3e], 0
je 0x1002b244
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x1002b232
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1002b1f9
sub eax, 1
je 0x1002b1fd
sub eax, 2
jne 0x1002b232
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1002b21b
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1002b232
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10046167
mov esp, ebp
pop ebp
ret
Function at 0x1002c880
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10049b75
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1007c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov edi, edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
jbe 0x1002c8be
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x1002c8e4
mov edx, eax
nop dword [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1002c8d0
mov edx, dword [ebp - 0x1c]
push esi
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.1002ce30
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002c901
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x1002ca6d
cmp dword [0x10080458], 0x71c71c7
jne 0x1002c918
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x24], 0x10080454
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x20], 0
call fcn.100461a6
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x1c]
lea ecx, [edi + 8]
call fcn.10006bf0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov edx, dword [0x10080458]
lea eax, [edx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10072050]
mov eax, dword [0x1008046c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10072050]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10080450]
comiss xmm1, xmm0
jbe 0x1002ca1c
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10047580
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x1008046c]
cmp eax, ecx
jae 0x1002c9f8
cmp eax, 0x200
jae 0x1002c9f6
shl eax, 3
cmp eax, ecx
jae 0x1002c9f8
mov eax, ecx
push eax
call fcn.1002cbb0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002ce30
mov edx, dword [0x10080458]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x1002ca1f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
inc edx
mov dword [0x10080458], edx
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [eax], edi
mov dword [ecx + 4], edi
and esi, dword [0x10080468]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1008045c]
mov edx, dword [eax + esi*8]
cmp edx, dword [0x10080454]
jne 0x1002ca51
mov dword [eax + esi*8], edi
jmp 0x1002ca63
cmp edx, ecx
jne 0x1002ca5a
mov dword [eax + esi*8], edi
jmp 0x1002ca67
mov ecx, dword [ebp - 0x14]
cmp dword [eax + esi*8 + 4], ecx
jne 0x1002ca67
mov dword [eax + esi*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
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
Function at 0x1002d000
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10080474], 0
push ebx
push esi
push edi
jne 0x1002d1d0
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.GUIVerySmallDenFont
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x24], xmm0
call fcn.100045b0
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x24]
cmp dword [ebp - 0x10], 7
mov edx, 0x811c9dc5
mov edi, dword [ebp - 0x24]
cmova esi, edi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x1002d073
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1002d062
push edx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002ce30
mov ecx, dword [0x10080454]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp - 0x10]
mov esi, dword [ecx + 0x20]
cmp eax, 7
jbe 0x1002d0cb
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1002d0c1
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002d0c1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.10046175
add esp, 8
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x1002d1d0
mov eax, dword [0x10080470]
sub esp, 0x18
mov ecx, dword [ecx]
xorps xmm0, xmm0
mov dword [eax + 0x1e8], ecx
mov ecx, esp
push 0x16
push str.
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100045b0
call fcn.1002d240
mov edx, esp
mov ecx, str.SCCT_Versus_Reloaded_vI
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
lea esi, [ecx + 2]
mov dword [edx + 0x14], 0
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d130
sub ecx, esi
sar ecx, 1
push ecx
push str.SCCT_Versus_Reloaded_vI
mov ecx, edx
call fcn.100045b0
call fcn.1002d240
mov ecx, esp
xorps xmm0, xmm0
push 0x16
push str.
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100045b0
call fcn.1002d240
mov ecx, esp
xorps xmm0, xmm0
push 1
push 0x10069d2c
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100045b0
call fcn.1002d240
mov ecx, esp
xorps xmm0, xmm0
push 0x24
push str.Type_help_to_view_the_command_list
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100045b0
call fcn.1002d240
add esp, 0x18
mov byte [0x10080474], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10046167
mov esp, ebp
pop ebp
ret
Function at 0x1002d240
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10049bad
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1007c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [0x10080478], 0
je 0x1002d295
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pushal
push dword [ebp - 0x10]
mov ebx, dword [0x10080478]
call dword [0x1007c208]
popal
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x1002d2d1
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d2c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002d2c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10046175
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002ec80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10049e90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1007c040]
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 esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x1002eb50
sub eax, 0x10a66d8d
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push 0x10a66d88
call esi
mov edi, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
je 0x1002ed0c
mov eax, dword [ebp - 0x24]
mov byte [0x10a66d88], 0xe9
mov dword [0x10a66d89], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push 0x10a66d88
call esi
test eax, eax
je 0x1002ed0c
push 5
push 0x10a66d88
call ebx
push eax
call edi
mov edx, 0x1002ec60
mov ecx, 0x10c02858
call fcn.10004360
mov eax, 0x1002e9b0
sub eax, 0x10b0f63e
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push 0x10b0f639
call esi
test eax, eax
je 0x1002ed6a
mov eax, dword [ebp - 0x24]
mov byte [0x10b0f639], 0xe9
mov dword [0x10b0f63a], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 5
push 0x10b0f639
call esi
test eax, eax
je 0x1002ed6a
push 5
push 0x10b0f639
call ebx
push eax
call edi
mov eax, 0x1002d220
sub eax, 0x10b0f163
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 5
push 0x10b0f15e
call esi
test eax, eax
je 0x1002edb9
mov eax, dword [ebp - 0x24]
mov byte [0x10b0f15e], 0xe9
mov dword [0x10b0f15f], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push 5
push 0x10b0f15e
call esi
test eax, eax
je 0x1002edb9
push 5
push 0x10b0f15e
call ebx
push eax
call edi
mov eax, 0x1002d200
sub eax, 0x109ab590
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push 0x109ab58b
call esi
test eax, eax
je 0x1002ee08
mov eax, dword [ebp - 0x24]
mov byte [0x109ab58b], 0xe9
mov dword [0x109ab58c], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push 5
push 0x109ab58b
call esi
test eax, eax
je 0x1002ee08
push 5
push 0x109ab58b
call ebx
push eax
call edi
mov edx, 0x1002d1f0
mov ecx, 0x10c07768
call fcn.10004360
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.10046167
mov esp, ebp
pop ebp
ret
Function at 0x1003d2e0
Capabilities:
Initialize winsock library

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a8e6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1bc
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x100803d8
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
jne 0x1003d33f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
cmp dword [ebp - 0x18], 0
je 0x1003d410
mov dword [ebp - 0x1c8], 0x100803d8
mov dword [ebp - 0x1c4], 4
push 1
mov dword [ebp - 4], 0
call dword [sym.imp.cares.dll_ares_library_init]
add esp, 4
test eax, eax
je 0x1003d3f2
push 0x19
xorps xmm0, xmm0
mov dword [ebp - 0x1b0], 0
push str.ares_library_init_failed.
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1ac], 0
movups xmmword [ebp - 0x1c0], xmm0
call fcn.10009180
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 1
call fcn.1003c400
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 0xf
jbe 0x1003d3f2
mov edx, dword [ebp - 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d3e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003d3e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10046175
add esp, 8
push 0
push 0
push 0x100803d8
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x1003d4c3
lea eax, [ebp - 0x1a8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1003d4a4
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x1b0], 0
push str.WSAStartup_failed.
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1ac], 0
movups xmmword [ebp - 0x1c0], xmm0
call fcn.10009180
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 4], 2
call fcn.1003c400
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 0xf
jbe 0x1003d4a4
mov edx, dword [ebp - 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d49a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003d49a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10046175
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10046167
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3