Function at 0x4bf5a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501e20
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x53a098]
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 0x4bf607
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.004bd4f0
mov ecx, eax
call fcn.004bd4c0
test al, al
jne 0x4bf607
mov byte [ebp - 0x59], al
jmp 0x4bf7cf
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 0x4bf6ce
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
cmp word [eax], 0x20
je 0x4bf6ce
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x40]
push 0x50fad4
push eax
call fcn.0040ce10
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp + 0x20]
cmp eax, esi
je 0x4bf6c2
mov ecx, eax
call fcn.00404fe0
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.004049a0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push 0x516288
push eax
call fcn.0040ce10
mov byte [ebp - 4], 3
push 0x516288
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040cec0
add esp, 0x18
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.004049a0
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040afd0
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 0x4bf751
mov byte [ebp - 0x59], al
jmp 0x4bf7b7
test edi, edi
je 0x4bf75a
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 0x4bf791
test eax, eax
je 0x4bf791
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4bf787
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 0x4bf7a5
push ecx
call esi
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], 0
test eax, eax
je 0x4bf7b3
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.004049a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004049a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004049a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004049a0
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.004c2d85
mov esp, ebp
pop ebp
ret