Function at 0x401a40
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423845
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x433050]
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 - 0xc4], ecx
push 0x44
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 3
push 0
push eax
call fcn.00408d40
add esp, 0xc
lea ecx, [ebp - 0xc0]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
xorps xmm0, xmm0
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push eax
movups xmmword [ebp - 0xc0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401c65
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00401f80
mov ecx, dword [ebp - 0xb8]
call fcn.00401720
mov ecx, dword [ebp - 0xb8]
lea esi, [ebp - 0x12]
add esp, 0x18
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x401af2
xor eax, eax
mov dword [ebp - 0x6c], edx
mov word [ebp - 0x6c], ax
mov edi, 7
lea eax, [ebp - 0x12]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edi
cmp esi, eax
je 0x401b3e
sub eax, esi
lea ecx, [ebp - 0x6c]
sar eax, 1
push eax
push esi
call fcn.004015c0
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0xc4]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [edx], 0
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0xc4], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401b70
sub ecx, dword [ebp - 0xc4]
push ecx
push esi
mov ecx, edx
call fcn.00402050
lea ecx, [ebp - 0x54]
call fcn.00406250
add esp, 0x18
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
cmp dword [ebp - 0x40], 8
mov edx, dword [ebp - 0xb8]
cmovae ecx, dword [ebp - 0x54]
call fcn.00401230
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0xc0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xbc]
call esi
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0xb8]
cmp edx, 8
jb 0x401c18
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401c0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401d8c
push edx
push ecx
call fcn.0040737a
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
cmp edi, 8
jb 0x401c67
mov ecx, dword [ebp - 0x6c]
lea edx, [edi*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401c59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401d8c
push edx
push ecx
call fcn.0040737a
add esp, 8
jmp 0x401c67
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x401ca1
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401c97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401d91
push edx
push ecx
call fcn.0040737a
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 0x10
jb 0x401ce9
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401cdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401d91
push edx
push ecx
call fcn.0040737a
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x401d2b
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401d21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401d91
push edx
push ecx
call fcn.0040737a
add esp, 8
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp edx, 0x10
jb 0x401d6d
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401d63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401d91
push edx
push ecx
call fcn.0040737a
add esp, 8
mov eax, esi
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.0040733c
mov esp, ebp
pop ebp
ret 0x60
call fcn.0040b6ff
call fcn.0040b6ff
int3