Function at 0x4035d0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467ae5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x47d400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x10]
mov eax, closesocket
sub eax, edx
cmp eax, 1
jb 0x4037af
cmp dword [ecx + 0x14], 0xf
jbe 0x403613
mov ecx, dword [ecx]
push edx
push ecx
push 1
push 0x478360
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.00407d00
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov eax, edx
mov ecx, dword [ebp - 0x38]
sub eax, ecx
cmp eax, 1
jb 0x403659
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
cmova eax, dword [ebp - 0x48]
mov word [eax + ecx], 0x22
lea eax, [ebp - 0x48]
jmp 0x403671
push 1
push 0x478360
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x48]
push dword [ebp - 0x30]
push 1
call fcn.004078e0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x4036e2
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4036d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4036d8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046645c
add esp, 8
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.00407e00
add esp, 4
mov ecx, eax
push 0x407140
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
test eax, eax
jne 0x40373c
mov byte [ebp - 0x29], 1
jmp 0x40375d
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_start_executable.
push 0x407140
call fcn.00406f20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 0x29], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x403793
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403789
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403789
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046645c
add esp, 8
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046641e
mov esp, ebp
pop ebp
ret
call fcn.004011b0
int3