Function at 0x408940
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 0x5c6f4b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x6540c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 1
cmp dword [ebx + 0x18], 0
je 0x408d97
cmp dword [ebx + 0x1c], 7
lea edx, [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmova edx, dword [ebx + 8]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4089c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402780
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.00499f3c
add esp, 8
test eax, eax
je 0x4089fc
mov byte [ebp - 0x75], 1
cmp eax, 0xd
jne 0x408a00
mov byte [ebp - 0x75], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x408a3a
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408a30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e40
push ecx
push edx
call fcn.00439938
add esp, 8
cmp byte [ebp - 0x75], 0
jne 0x408d97
cmp dword [ebx + 0x1c], 7
lea ecx, [ebx + 8]
cmova ecx, dword [ebx + 8]
call fcn.00408e60
test eax, eax
je 0x408d97
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x44], ax
push 0x40
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0xe8], 0x44
call fcn.00490360
mov ecx, dword [ebx + 0x18]
mov eax, 1
mov word [ebp - 0xb8], ax
add esp, 0xc
mov eax, bind
mov dword [ebp - 0xbc], 1
sub eax, ecx
cmp eax, 1
jb 0x408e45
cmp dword [ebx + 0x1c], 7
lea eax, [ebx + 8]
push ecx
cmova eax, dword [ebx + 8]
push eax
push 1
push 0x646704
push ecx
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x74]
call fcn.004028b0
push 1
push 0x646704
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.0040a240
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x646b84
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0040a240
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
lea eax, [ebx + 0x20]
cmp dword [ebx + 0x34], 7
lea ecx, [ebp - 0x5c]
push dword [ebx + 0x30]
cmova eax, dword [ebx + 0x20]
push eax
call fcn.0040a240
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x30]
movq qword [ebp - 0x80], xmm1
movups xmmword [ebp - 0xa0], xmm0
cmp ecx, 7
jbe 0x408c00
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408bea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e4a
push ecx
push edx
call fcn.00439938
movups xmm0, xmmword [ebp - 0xa0]
add esp, 8
movq xmm1, qword [ebp - 0x80]
mov ecx, dword [ebp - 0x48]
movq qword [ebp - 0x34], xmm1
movups xmmword [ebp - 0x44], xmm0
cmp ecx, 7
jbe 0x408c43
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408c39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e4a
push ecx
push edx
call fcn.00439938
add esp, 8
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 7
jbe 0x408c91
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408c87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e4a
push ecx
push edx
call fcn.00439938
add esp, 8
mov ecx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x408cdf
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408cd5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e4a
push ecx
push edx
call fcn.00439938
add esp, 8
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0xe8]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x408d1f
mov byte [ebp - 0x75], al
jmp 0x408d47
test edi, edi
je 0x408d32
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x90]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push dword [ebp - 0x8c]
call esi
mov byte [ebp - 0x75], 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x408d81
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408d77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e4f
push ecx
push edx
call fcn.00439938
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
jmp 0x408d9b
mov byte [ebp - 0x75], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 7
jbe 0x408dd5
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408dcb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e4f
push ecx
push edx
call fcn.00439938
add esp, 8
mov ecx, dword [ebx + 0x34]
xor eax, eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov word [ebx + 8], ax
cmp ecx, 7
jbe 0x408e1f
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408e15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e4f
push ecx
push edx
call fcn.00439938
add esp, 8
mov al, byte [ebp - 0x75]
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.004398fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00494baa
call fcn.004012e0
call fcn.00494baa
call fcn.00494baa
int3