Function at 0x406800
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46c343
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.00411bb0
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.00403a60
mov byte [esp + 0xc8], 1
mov byte [esp + 0xc8], 0
call fcn.00404f60
add esp, 0x18
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0xa0], 8
jb 0x4068f0
push dword [esp + 0x8c]
call fcn.0044b7dc
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.00411ca0
push 0x44
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [esp + 0x28], xmm0
call fcn.00451ce0
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 0x406a30
xor ecx, ecx
add eax, 0x208
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447966
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
add eax, 0x208
push 0x47c378
push eax
push edi
call fcn.0044c5e3
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4069ca
mov esi, dword [esi]
push esi
mov esi, dword [esp + 0x18]
add esi, 0x208
push esi
push edi
call fcn.0044cb7d
add esp, 0xc
push 0x47c3e8
push esi
push edi
call fcn.0044cb7d
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4069fa
mov eax, dword [eax]
push eax
push esi
push edi
call fcn.0044cb7d
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 0x406a61
cmp dword [esp + 0x88], 8
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
cmp dword [esi + 0x14], 8
jb 0x406a49
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 0x406a74
mov byte [esp + 0x1b], al
jmp 0x406b1e
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x406a8d
push eax
call esi
mov dword [esp + 0x20], 0
cmp dword [esp + 0x1c], 0
je 0x406b0c
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 0x406b19
push edi
call fcn.0044c079
add esp, 4
mov byte [esp + 0x1b], 1
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x406b3f
push dword [esp + 0x74]
call fcn.0044b7dc
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.0044b7e1
add esp, 0xa8
ret