Function at 0x406960
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46c1e3
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x98], eax
push esi
push edi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov dword [esp + 0x10], edx
mov esi, ecx
xor eax, eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
mov dword [esp + 0xb0], eax
lea edx, [esp + 0x8c]
call fcn.00411920
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0xac]
push eax
call fcn.00403ac0
mov byte [esp + 0xc8], 1
mov byte [esp + 0xc8], 0
call fcn.004050c0
add esp, 0x18
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0xa0], 8
jb 0x406a50
push dword [esp + 0x8c]
call fcn.0044b63d
add esp, 4
xor eax, eax
mov dword [esp + 0xa0], 7
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
mov dword [esp + 0xb0], 2
lea edx, [esp + 0x74]
mov ecx, esi
call fcn.00411a10
push 0x44
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [esp + 0x28], xmm0
call fcn.00451b50
mov eax, dword [esp + 0x1c]
add esp, 0xc
or dword [esp + 0x58], 0x80
xor edi, edi
mov dword [esp + 0x2c], 0x44
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x406b90
xor ecx, ecx
add eax, 0x208
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004477c6
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
add eax, 0x208
push 0x47c368
push eax
push edi
call fcn.0044c453
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x406b2a
mov esi, dword [esi]
push esi
mov esi, dword [esp + 0x18]
add esi, 0x208
push esi
push edi
call fcn.0044c9ed
add esp, 0xc
push 0x47c3d8
push esi
push edi
call fcn.0044c9ed
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x406b5a
mov eax, dword [eax]
push eax
push esi
push edi
call fcn.0044c9ed
add esp, 0xc
lea ecx, [esp + 0x1c]
cmp dword [esp + 0x88], 8
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
push ecx
lea ecx, [esp + 0x30]
push ecx
push eax
push 0
push 0
push 1
push 0
push 0
push edi
push 0
jmp 0x406bc1
cmp dword [esp + 0x88], 8
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
cmp dword [esi + 0x14], 8
jb 0x406ba9
mov esi, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
push ecx
push eax
push 0
push 0
push 1
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x406bd4
mov byte [esp + 0x1b], al
jmp 0x406c7e
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x406bed
push eax
call esi
mov dword [esp + 0x20], 0
cmp dword [esp + 0x1c], 0
je 0x406c6c
xor eax, eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
mov byte [esp + 0xb0], 3
push 0xffffffffffffffff
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esp + 0xb0], 2
xor eax, eax
push dword [esp + 0x1c]
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], ax
call esi
test edi, edi
je 0x406c79
push edi
call fcn.0044bee9
add esp, 4
mov byte [esp + 0x1b], 1
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x406c9f
push dword [esp + 0x74]
call fcn.0044b63d
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov word [esp + 0x74], ax
mov al, byte [esp + 0x1b]
mov dword [esp + 0x84], 0
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0044b642
add esp, 0xa8
ret