Function at 0x4fc680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5190b0
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x55306c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x44]
mov edi, dword [ebp + 0x40]
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 1
cmp byte [ebp + 0x3c], 0
je 0x4fc6e7
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.004befd0
mov ecx, eax
call fcn.004befa0
test al, al
jne 0x4fc6e7
mov byte [ebp - 0x59], al
jmp 0x4fc8af
cmp dword [ebp + 0x30], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0xb4], 0x44
mov dword [ebp - 0x88], 0x80
je 0x4fc7ae
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
cmp word [eax], 0x20
je 0x4fc7ae
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x40]
push 0x530e58
push eax
call fcn.0040c700
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp + 0x20]
cmp eax, esi
je 0x4fc7a2
mov ecx, eax
call fcn.00406a30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp + 0x20], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp + 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004067a0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push 0x52e630
push eax
call fcn.0040c700
mov byte [ebp - 4], 3
push 0x52e630
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00419ae0
add esp, 0x18
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.004067a0
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00419a30
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xb4]
push ecx
push 0
push 0
push 0x4000020
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4fc831
mov byte [ebp - 0x59], al
jmp 0x4fc897
test edi, edi
je 0x4fc83a
mov eax, dword [ebp - 0x64]
mov dword [edi], eax
cmp byte [ebp + 0x38], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x6c]
je 0x4fc871
test eax, eax
je 0x4fc871
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4fc867
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x6c]
call esi
xor eax, eax
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x4fc885
push ecx
call esi
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], 0
test eax, eax
je 0x4fc893
push eax
call esi
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x59], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.004067a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004067a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004067a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004067a0
mov al, byte [ebp - 0x59]
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.004c1e08
mov esp, ebp
pop ebp
ret