Function at 0x65c610
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 0x748791
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x857060]
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 - 0xb4], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], eax
mov esi, dword [edx]
mov edi, dword [edx + 4]
mov edx, ecx
lea ecx, [ebp - 0xcc]
call fcn.0065c470
mov byte [ebp - 4], 1
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x65c6a6
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0044a2e0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0
call fcn.00426ce0
cmp esi, edi
je 0x65c785
nop dword [eax]
push 1
push 0x78f250
lea ecx, [ebp - 0x48]
call fcn.0044a2e0
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x65c6e9
mov edx, dword [esi]
xor eax, eax
mov dword [ebp - 0xbc], 0
mov word [ebp - 0xcc], ax
mov eax, edx
mov dword [ebp - 0xb8], 7
lea ecx, [eax + 2]
mov dword [ebp - 0xb0], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x65c711
sub eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xcc]
sar eax, 1
push eax
push edx
call fcn.00426d40
lea edx, [ebp - 0xcc]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.0065c470
mov byte [ebp - 4], 3
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x65c754
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0044a2e0
lea ecx, [ebp - 0xe4]
call fcn.00426ce0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0
call fcn.00426ce0
add esi, 0x18
cmp esi, edi
jne 0x65c6d0
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
cmp ecx, eax
je 0x65c7c0
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x65c7b4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00426d40
lea ecx, [ebp - 0x30]
call fcn.00651ab0
test al, al
jne 0x65c7e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0xa8]
mov byte [ebp - 0xa1], 0
mov dword [edi], eax
jmp 0x65c94d
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0xa0]
push edx
lea edx, [ebp - 0x90]
mov dword [ebp - 0x90], 0x44
push edx
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
push eax
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x48]
push 0
movlpd qword [ebp - 0x8c], xmm0
push dword [eax]
movlpd qword [ebp - 0x84], xmm0
push 0
push 0
push 0
push ecx
push 0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movups xmmword [ebp - 0xa0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x65c8db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0xa8]
mov edx, eax
mov eax, dword [0x87d0dc]
mov dword [edi], edx
test eax, eax
je 0x65c8ad
push edx
push str.CreateProcess_failed__Error:__u
push 0x799430
push 0x799430
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
mov byte [ebp - 0xa1], 0
jmp 0x65c94d
mov ecx, dword [0x87d0e0]
test ecx, ecx
je 0x65c8d2
mov eax, dword [ecx]
push edx
push str.CreateProcess_failed__Error:__u
push str.ProcessUtils
push 0x799430
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov byte [ebp - 0xa1], 0
jmp 0x65c94d
cmp byte [ebx + 0xc], 0
jne 0x65c8fb
mov edi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xac]
mov dword [edi], 0
mov dword [ecx], 0
jmp 0x65c92a
push 0xffffffffffffffff
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0xa8]
mov dword [ecx], eax
push dword [ebp - 0xa0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x9c]
call esi
mov dword [edi], 0
mov byte [ebp - 0xa1], 1
lea ecx, [ebp - 0x30]
call fcn.00426ce0
lea ecx, [ebp - 0x48]
call fcn.00426ce0
mov al, byte [ebp - 0xa1]
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.006d0965
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret