Function at 0x408650
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44007a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0x450008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], ecx
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0x44
push edx
lea ecx, [ebp - 0x174]
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0xb8], xmm0
call fcn.0040b440
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebx + 8]
lea edi, [ebp - 0x16]
mov dword [ebp - 4], 0
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x408701
lea eax, [ebp - 0x16]
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xc8], edx
xorps xmm0, xmm0
mov dword [ebp - 0xc4], edx
movups xmmword [ebp - 0xd8], xmm0
cmp edi, eax
jne 0x408762
xor eax, eax
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
jmp 0x408816
lea esi, [ebp - 0x16]
sub esi, edi
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x408c75
cmp esi, 8
jae 0x4087a9
mov dword [ebp - 0xc8], esi
lea eax, [ebp - 0xd8]
add esi, esi
mov dword [ebp - 0xc4], 7
push esi
push edi
push eax
call fcn.0041f730
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0xd8], ax
jmp 0x408816
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4087bc
mov eax, 0x7ffffffe
jmp 0x4087c6
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
xor ecx, ecx
mov dword [ebp - 0xc0], eax
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0xd8]
call fcn.00411c50
mov dword [ebp - 0xc8], esi
mov edi, eax
mov eax, dword [ebp - 0xc0]
add esi, esi
push esi
push dword [ebp - 0xdc]
mov dword [ebp - 0xd8], edi
push edi
mov dword [ebp - 0xc4], eax
call fcn.0041f730
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 1
call fcn.0040b440
push str.__m
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.0040eaf0
add esp, 4
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
push ecx
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x114]
call fcn.00411aa0
push 0x44a1c4
lea edx, [ebp - 0x114]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x12c]
call fcn.0040eaf0
add esp, 4
push dword [ebp - 0xe4]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xfc]
push eax
push dword [ebp - 0x44]
call fcn.00411aa0
push 0x44a1c0
lea edx, [ebp - 0xfc]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.0040eaf0
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xe8]
cmp ecx, 8
jb 0x4088f2
mov edx, dword [ebp - 0xfc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4088e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c7a
push ecx
push edx
call fcn.0041b85b
add esp, 8
xor eax, eax
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x118]
cmp ecx, 8
jb 0x408953
mov edx, dword [ebp - 0x12c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408949
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c7a
push ecx
push edx
call fcn.0041b85b
add esp, 8
xor eax, eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 7
mov word [ebp - 0x12c], ax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x100]
cmp ecx, 8
jb 0x4089b4
mov edx, dword [ebp - 0x114]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4089aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c7a
push ecx
push edx
call fcn.0041b85b
add esp, 8
xor eax, eax
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 7
mov word [ebp - 0x114], ax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x130]
cmp ecx, 8
jb 0x408a15
mov edx, dword [ebp - 0x144]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408a0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c7a
push ecx
push edx
call fcn.0041b85b
add esp, 8
xor eax, eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 7
mov word [ebp - 0x144], ax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x148]
cmp ecx, 8
jb 0x408a76
mov edx, dword [ebp - 0x15c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408a6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c7a
push ecx
push edx
call fcn.0041b85b
add esp, 8
xor eax, eax
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 7
mov word [ebp - 0x15c], ax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc4]
cmp ecx, 8
jb 0x408ad7
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408acd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c7a
push ecx
push edx
call fcn.0041b85b
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x160]
cmp ecx, 8
jb 0x408b1b
mov edx, dword [ebp - 0x174]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408b11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c7a
push ecx
push edx
call fcn.0041b85b
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x164], 0
push ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x160], 7
push ecx
push 0
push 0
push 0
xor eax, eax
cmp dword [ebp - 0x48], 8
push 0
mov word [ebp - 0x174], ax
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x408ba7
mov edx, str.CreateProcess_failed__
mov ecx, 0x451948
call fcn.0040e7b0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0040b070
mov edx, 0x44a1d8
mov ecx, eax
call fcn.0040e7b0
push eax
call fcn.0040ea50
add esp, 4
mov byte [ebp - 0xb9], 0
jmp 0x408c1b
push 0xffffffffffffffff
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x44]
mov byte [ebp - 0xb9], 0
push eax
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x408bfa
mov edx, str.GetExitCodeProcess___failure:
mov ecx, 0x451948
call fcn.0040e7b0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0040b070
push eax
call fcn.0040ea50
add esp, 4
jmp 0x408c05
cmp dword [ebp - 0x44], 0
sete byte [ebp - 0xb9]
push dword [ebp - 0xb8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xb4]
call esi
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x408c51
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408c47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c7f
push ecx
push edx
call fcn.0041b85b
add esp, 8
mov al, byte [ebp - 0xb9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041b61b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00405750
call fcn.0042af10
call fcn.0042af10
int3