Function at 0x65cc90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x695d46
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x6ade70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x6a4858
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], 0x6a48b8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00660810
push 0x6a4858
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x6a48b8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.00660810
lea eax, [ebp - 0x38]
push eax
push edi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00660000
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x65cd49
push eax
call fcn.00684583
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x65cd59
push eax
call fcn.00684583
add esp, 4
cmp dword [esi + 0xc], 0
je 0x65ce0f
push 0x6a9280
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0x6a48b8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00660810
push esi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x70]
call fcn.0065ff40
mov edi, dword [ebp - 0x50]
mov esi, eax
mov dword [ebp - 0x48], esi
mov edx, dword [esi + 0xc]
test edx, edx
je 0x65cde3
lea ecx, [edi + 1]
add ecx, edx
cmp dword [ebp - 0x54], ecx
jae 0x65cdbe
push edx
lea ecx, [ebp - 0x5c]
call fcn.00660b60
mov edi, dword [ebp - 0x50]
mov ecx, dword [esi + 0xc]
mov esi, dword [ebp - 0x58]
inc ecx
push ecx
mov ecx, dword [ebp - 0x48]
lea eax, [esi + edi]
push dword [ecx + 4]
push eax
call fcn.00681610
mov eax, dword [ebp - 0x48]
add esp, 0xc
add edi, dword [eax + 0xc]
mov dword [ebp - 0x50], edi
jmp 0x65cde6
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], 0x6a48b8
test eax, eax
je 0x65cdfd
push eax
call fcn.00684583
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x65ce15
push eax
call fcn.00684583
add esp, 4
jmp 0x65ce15
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x60], 0
test esi, esi
je 0x65ce59
push 0
push 0
inc edi
push edi
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar_1]
mov esi, eax
lea eax, [esi + esi]
call fcn.0067f670
mov eax, esp
push esi
push eax
push edi
mov edi, dword [ebp - 0x58]
push edi
push 0
push 0xfde9
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar_1]
jmp 0x65ce5c
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x4c]
add esi, 0x18
je 0x65ce85
mov eax, dword [esi]
test eax, eax
je 0x65ce71
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
mov eax, dword [esi + 4]
test eax, eax
je 0x65ce7f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
test eax, eax
je 0x65cf1a
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.006726f0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x65ceed
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x65cece
inc eax
push eax
push dword [ebp - 0x28]
call fcn.0065f020
push dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0065edb0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x65cf02
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0065f020
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
or eax, 0x400
jmp 0x65cf1d
mov eax, dword [ebp + 0x14]
push 0x44
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.00681c40
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov dword [ebp - 0xb8], 0x44
push esi
mov dword [eax + 4], 0xffffffff
lea eax, [ebp - 0xb8]
push eax
push 0
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push 0
push 0
push 0
push dword [ebp - 0x60]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x65cf7d
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
mov ecx, eax
call fcn.00670980
mov esi, eax
jmp 0x65cf95
mov esi, dword [ebp - 0x4c]
push dword [ebp - 0x74]
lea ecx, [esi + 8]
call fcn.006608e0
lea ecx, [esi + 8]
call fcn.00670480
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x65cfaa
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0065f020
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test edi, edi
je 0x65cfcb
push edi
call fcn.00684583
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067efea
mov esp, ebp
pop ebp
ret 0x10