Function at 0x4c5b90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daf72
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xac], 0
cmp dword [esi + 0x14], 0
mov dword [ebp - 0xa4], eax
mov dword [esi + 0x1c], 0xffffffff
je 0x4c5e2f
call fcn.004bdc70
test al, al
je 0x4c5e2f
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.004bd600
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
mov dword [ebp - 4], 0
jb 0x4c5c10
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x18], 0
mov edx, 0x41ed20
mov dword [ebp - 0x14], 0xf
cmovne edx, eax
mov byte [ebp - 0x28], 0
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xa8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c5c37
sub ecx, dword [ebp - 0xa8]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00459b10
mov dword [ebp - 0x2c], 0x41ee38
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0
je 0x4c5d28
push 1
push 0x41fe90
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
call fcn.00459b10
mov dword [ebp - 0xe4], 0x41ee38
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xc4]
call fcn.0044f9d0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc8], 0x41ee38
mov dword [ebp - 0xac], 1
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x4c5cdc
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.004598e0
cmp dword [ebp - 0xb0], 0x10
lea eax, [ebp - 0xc4]
push dword [ebp - 0xb4]
cmovae eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x28]
push eax
call fcn.004598e0
lea ecx, [ebp - 0xc8]
call fcn.00451c50
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.00451c50
push 0x40
lea eax, [ebp - 0x88]
mov dword [ebp - 0x8c], 0x44
push 0
push eax
call fcn.005be800
add esp, 0xc
xorps xmm0, xmm0
cmp dword [edi + 0x14], 0
movups xmmword [ebp - 0x9c], xmm0
jne 0x4c5d62
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
jmp 0x4c5d6f
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x4c5d6d
mov eax, dword [eax]
mov ecx, eax
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x9c]
push edx
lea edx, [ebp - 0x8c]
push edx
push ecx
push 0
push 8
push 0
push 0
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4c5da8
mov byte [ebp - 0x9d], al
jmp 0x4c5dce
mov eax, dword [ebp - 0x94]
push dword [ebp - 0x9c]
mov dword [esi + 0x1c], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x98]
call esi
mov byte [ebp - 0x9d], 1
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], 0x41ee38
cmp edx, 0x10
jb 0x4c5e0d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x4c5e03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5e4e
push edx
push ecx
call fcn.005bc4f7
add esp, 8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00451c50
mov al, byte [ebp - 0x9d]
jmp 0x4c5e31
xor al, al
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.005bca10
mov esp, ebp
pop ebp
ret 8
call fcn.004d7f94
int3