Function at 0x405ec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x405edc
mov eax, dword [edi]
jmp 0x405ede
mov eax, edi
mov esi, dword [edi + 0x10]
add esi, eax
cmp ecx, 0x10
jb 0x405eea
mov edi, dword [edi]
xor eax, eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov eax, esi
sub eax, edi
mov dword [ebp - 0x58], 0
cmp eax, 7
je 0x405f2d
push 1
push eax
lea ecx, [ebp - 0x68]
call fcn.00407c10
test al, al
je 0x405f2d
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
mov dword [ebp - 0x58], 0
cmovae eax, dword [ebp - 0x68]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x68]
push esi
push edi
call fcn.00408fb0
mov ecx, dword [ebx + 0x14]
cmp ecx, 0x10
jb 0x405f46
mov eax, dword [ebx]
jmp 0x405f48
mov eax, ebx
mov esi, dword [ebx + 0x10]
add esi, eax
cmp ecx, 0x10
jb 0x405f54
mov ebx, dword [ebx]
xor eax, eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, esi
sub eax, ebx
mov dword [ebp - 0x40], 0
cmp eax, 7
je 0x405f97
push 1
push eax
lea ecx, [ebp - 0x50]
call fcn.00407c10
test al, al
je 0x405f97
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
mov dword [ebp - 0x40], 0
cmovae eax, dword [ebp - 0x50]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x50]
push esi
push ebx
call fcn.00408fb0
push 0x44
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.00415790
xorps xmm0, xmm0
mov dword [ebp - 0xf8], 0x44
mov al, 0x73
mov dword [ebp - 0x34], 0x60001
add esp, 0xc
mov byte [ebp - 0x36], al
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x30], 0x17001d
xor ecx, ecx
mov dword [ebp - 0x2c], 0x1f001f
mov dword [ebp - 0x28], 0x410040
mov dword [ebp - 0x24], 0x16005d
mov dword [ebp - 0x20], 0x16000b
mov dword [ebp - 0x1c], 0x53
cbw
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
cmp ecx, 0xd
jae 0x406015
mov al, byte [ebp - 0x36]
jmp 0x406003
xor eax, eax
lea edx, [ebp - 0x34]
mov word [ebp - 0x1a], ax
lea ecx, [ebp - 0xac]
lea eax, [ebp - 0x68]
push 0x43b570
push eax
call fcn.004085f0
add esp, 4
lea ecx, [ebp - 0x84]
mov edx, eax
call fcn.00408750
add esp, 4
lea ecx, [ebp - 0x50]
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00408a90
mov esi, eax
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [esi + 0x14], 8
jae 0x40608a
mov eax, dword [esi + 0x10]
add eax, 1
je 0x406095
add eax, eax
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00413700
add esp, 0xc
jmp 0x406095
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4060b7
mov esi, dword [esi]
lea ecx, [ebp - 0x94]
xor eax, eax
push ecx
lea ecx, [ebp - 0xf8]
mov word [esi], ax
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push ecx
cmovae eax, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 4]
mov esi, eax
cmp ecx, 8
jb 0x406101
inc ecx
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.00407bb0
xor eax, eax
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], 0
cmp eax, 8
jb 0x406130
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00407bb0
xor eax, eax
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x74], 0
cmp eax, 8
jb 0x406165
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.00407bb0
test esi, esi
je 0x406183
push dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x90]
call esi
xor esi, esi
jmp 0x406188
mov esi, 1
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x40619d
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00407bb0
mov ecx, dword [ebp - 0x54]
cmp ecx, 8
jb 0x4061b2
inc ecx
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x68]
call fcn.00407bb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret