Function at 0x50bf90
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f137
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x58df2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5a8ff0]
and eax, 1
jne 0x50c014
mov ecx, dword [0x5a8ff0]
or ecx, 1
mov dword [0x5a8ff0], ecx
mov dword [ebp - 4], 0
push 0x5917b4
lea ecx, [ebp - 0x2c]
call fcn.004bc350
mov byte [ebp - 4], 1
push 1
push 0x5a9068
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x5a8fec
call fcn.0050dd40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004bc3e0
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x5a8fec
call fcn.0050dd70
movzx eax, al
test eax, eax
je 0x50c15e
lea ecx, [ebp - 0x3c]
call fcn.0050cf10
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
call fcn.00506f50
movzx ecx, al
test ecx, ecx
jne 0x50c0c4
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.005065d0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1f4]
push ecx
call fcn.0050f830
add esp, 8
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x58]
call fcn.004dccc0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x1fc]
push edx
lea ecx, [ebp - 0x58]
call fcn.004ddc30
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x200]
push ecx
call fcn.0050f850
add esp, 0x10
xor edx, edx
mov word [ebp - 0x202], dx
lea eax, [ebp - 0x202]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0050cff0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004d0de0
mov ecx, dword [ebp + 0xc]
call fcn.00506f50
movzx ecx, al
test ecx, ecx
je 0x50c0df
mov dword [ebp - 0x224], 0
jmp 0x50c0ef
push 0
lea ecx, [ebp - 0x3c]
call fcn.0050d160
mov dword [ebp - 0x224], eax
mov edx, dword [ebp + 0x2c]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
call fcn.00506960
push eax
mov ecx, dword [ebp + 0x20]
call fcn.00506af0
push eax
mov ecx, dword [ebp + 0x1c]
or ecx, 0x400
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x224]
push edx
mov ecx, dword [ebp + 8]
call fcn.00506960
push eax
mov ecx, 0x5a8fec
call fcn.0050dd90
mov dword [ebp - 0x208], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0050d100
mov eax, dword [ebp - 0x208]
jmp 0x50c2c6
lea ecx, [ebp - 0x1d4]
call fcn.0050cd80
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 0xc]
call fcn.00506f50
movzx eax, al
test eax, eax
jne 0x50c210
lea ecx, [ebp - 0x1f0]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00506440
mov byte [ebp - 4], 5
lea edx, [ebp - 0x1d4]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0050f8b0
add esp, 8
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x1f0]
call fcn.004d0c80
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x1f0]
call fcn.004d0c50
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.0050f8d0
add esp, 0x10
mov byte [ebp - 0x219], 0
lea ecx, [ebp - 0x219]
push ecx
lea ecx, [ebp - 0x1d4]
call fcn.0050cde0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f0]
call fcn.004bc3e0
mov edx, dword [ebp + 0x28]
push edx
lea ecx, [ebp - 0x1c4]
call fcn.005071d0
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0xc]
call fcn.00506f50
movzx eax, al
test eax, eax
je 0x50c23e
mov dword [ebp - 0x228], 0
jmp 0x50c251
push 0
lea ecx, [ebp - 0x1d4]
call fcn.004dab30
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp + 0x2c]
push ecx
lea edx, [ebp - 0x1c4]
push edx
mov ecx, dword [ebp + 0x24]
call fcn.005067f0
push eax
mov ecx, dword [ebp + 0x20]
call fcn.00506ad0
push eax
mov eax, dword [ebp + 0x1c]
and eax, 0xfffffbff
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
mov ecx, dword [ebp + 8]
call fcn.005067f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c4]
call fcn.0050c2e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.004daad0
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527843
mov esp, ebp
pop ebp
ret