Function at 0x418f70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d61e
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x42400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00409f80
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x30]
cmovae ecx, dword [ebp + 0x20]
add eax, ecx
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
push ecx
push eax
push ecx
lea ecx, [ebp - 0xf0]
call fcn.00409f80
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 3
mov ecx, 0x7ffffffe
mov eax, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x9c], eax
cmp ecx, 1
jb 0x41943e
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [eax + 1]
mov dword [ebp - 0xa8], 0
cmovae edx, dword [ebp - 0x28]
lea esi, [ebp - 0xb8]
mov edi, 7
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xa4], 0
xorps xmm0, xmm0
mov dword [ebp - 0xbc], ecx
movups xmmword [ebp - 0xb8], xmm0
cmp ecx, edi
jbe 0x4190ff
mov edi, ecx
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x419080
mov eax, closesocket
mov edi, 0x7ffffffe
add eax, eax
jmp 0x4190a1
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x419443
add eax, eax
cmp eax, 0x1000
jb 0x4190d4
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x419443
push ecx
call fcn.0041a7b1
add esp, 4
test eax, eax
je 0x41929e
mov ecx, dword [ebp - 0xbc]
lea esi, [eax + 0x23]
mov edx, dword [ebp - 0xc0]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4190f3
test eax, eax
je 0x4190f1
push eax
call fcn.0041a7b1
mov ecx, dword [ebp - 0xbc]
add esp, 4
mov edx, dword [ebp - 0xc0]
mov esi, eax
jmp 0x4190f3
xor esi, esi
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb8], esi
add eax, eax
mov dword [ebp - 0xa8], ecx
push eax
mov dword [ebp - 0xa4], edi
lea ecx, [esi + 2]
push edx
mov edi, 0x22
push ecx
mov word [esi], di
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
add esp, 0xc
mov word [esi + eax*2 + 2], cx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa4]
mov eax, edx
mov ecx, dword [ebp - 0xa8]
sub eax, ecx
cmp eax, 1
jb 0x41916d
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
mov dword [eax + ecx*2], edi
lea eax, [ebp - 0xb8]
jmp 0x41918a
push 1
push ecx
mov byte [ebp - 0x9c], 0
lea ecx, [ebp - 0xb8]
push dword [ebp - 0x9c]
push 1
call fcn.00419e50
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push dword [ebp - 0xa0]
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x40]
call fcn.00419fd0
mov ecx, dword [ebp - 0xc4]
cmp ecx, 8
jb 0x419213
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419209
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41929e
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov ecx, dword [ebp - 0xa4]
cmp ecx, 8
jb 0x41924f
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419245
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41929e
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov ecx, dword [ebp - 0xdc]
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp ecx, 8
jb 0x4192ae
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4192a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4192a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041aa32
add esp, 8
push 0x40
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push edx
cmovae eax, dword [ebp - 0x28]
lea edx, [ebp - 0x94]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x2c]
test eax, eax
setne byte [ebp - 0x95]
cmp ecx, 8
jb 0x419343
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419339
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41940d
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x419391
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419387
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41940d
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 0x10
jb 0x4193d5
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4193cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41940d
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x41941d
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419413
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x419413
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov al, byte [ebp - 0x95]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a4dc
mov esp, ebp
pop ebp
ret
call fcn.00401400
call fcn.00401360
int3