Function at 0x4013d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412956
mov eax, dword fs:[0]
push eax
mov eax, 0x5078
call fcn.00404160
mov eax, dword [0x420014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0x5084], ecx
cmp eax, 1
jb 0x4017bf
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x5078], esi
jb 0x401430
mov eax, dword [esi]
mov dword [ebp - 0x5078], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x5060], 0
mov edi, 7
mov dword [ebp - 0x505c], 0
mov dword [ebp - 0x5080], eax
lea ecx, [ebp - 0x5070]
mov dword [ebp - 0x507c], ecx
cmp eax, edi
jbe 0x4014a3
mov edi, eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x401476
mov edi, 0x7ffffffe
jmp 0x401480
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x5070]
call fcn.00401800
mov ecx, eax
mov eax, dword [ebp - 0x5080]
mov dword [ebp - 0x507c], ecx
mov dword [ebp - 0x5070], ecx
mov dword [ebp - 0x505c], edi
mov edi, dword [ebp - 0x5084]
mov dword [ebp - 0x5060], eax
mov eax, 0x22
mov word [ecx], ax
add ecx, 2
lea eax, [edi + edi]
push eax
push dword [ebp - 0x5078]
push ecx
call fcn.00405490
mov eax, dword [ebp - 0x507c]
xor ecx, ecx
add esp, 0xc
mov word [eax + edi*2 + 2], cx
push 1
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x5070]
push 0x413234
call fcn.00401860
mov dword [ebp - 0x5048], 0
xor ecx, ecx
mov dword [ebp - 0x5044], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5058], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5048], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x413230
lea ecx, [ebp - 0x5058]
mov byte [ebp - 4], 1
call fcn.00401860
mov dword [ebp - 0x5030], 0
xor ecx, ecx
mov dword [ebp - 0x502c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5040], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5030], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
cmp dword [esi + 0x2c], 8
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
jb 0x401597
mov ecx, dword [esi + 0x18]
push dword [esi + 0x28]
push ecx
lea ecx, [ebp - 0x5040]
call fcn.00401860
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5028], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5018], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x502c]
cmp edx, 8
jb 0x401610
mov ecx, dword [ebp - 0x5040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401606
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4017c4
push edx
push ecx
call fcn.0040413d
add esp, 8
mov edx, dword [ebp - 0x5044]
xor eax, eax
mov dword [ebp - 0x5030], 0
mov dword [ebp - 0x502c], 7
mov word [ebp - 0x5040], ax
cmp edx, 8
jb 0x40166d
mov ecx, dword [ebp - 0x5058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401663
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4017c4
push edx
push ecx
call fcn.0040413d
add esp, 8
mov edx, dword [ebp - 0x505c]
xor eax, eax
mov dword [ebp - 0x5048], 0
mov dword [ebp - 0x5044], 7
mov word [ebp - 0x5058], ax
cmp edx, 8
jb 0x4016ca
mov ecx, dword [ebp - 0x5070]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4016c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4017c4
push edx
push ecx
call fcn.0040413d
add esp, 8
push 0x5000
lea eax, [ebp - 0x5010]
push 0
push eax
call fcn.00405f90
add esp, 0xc
cmp dword [ebp - 0x5018], 0x2800
jae 0x40171d
cmp dword [ebp - 0x5014], 8
lea eax, [ebp - 0x5028]
cmovae eax, dword [ebp - 0x5028]
push eax
lea eax, [ebp - 0x5010]
push 0x2800
push eax
call fcn.00407bfb
add esp, 0xc
lea ecx, [ebp - 0x5010]
jmp 0x401731
cmp dword [ebp - 0x5014], 8
lea ecx, [ebp - 0x5028]
cmovae ecx, dword [ebp - 0x5028]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x40173b
mov edx, dword [esi]
lea eax, [esi + 0x74]
push eax
lea eax, [esi + 0x30]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [ebp - 0x5014]
test eax, eax
setne al
mov byte [ebp - 0x5071], al
cmp edx, 8
jb 0x4017a4
mov ecx, dword [ebp - 0x5028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401794
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4017c9
push edx
push ecx
call fcn.0040413d
mov al, byte [ebp - 0x5071]
add esp, 8
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.0040414b
mov esp, ebp
pop ebp
ret
call fcn.004017f0
call fcn.00407baa
call fcn.00407baa
int3