Function at 0x5d5898
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x5d58a0
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x5d5b14
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x330], 0
je 0x5d59b8
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x324]
mov eax, dword [0x4ca7f8]
call fcn.004cac20
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x300]
call fcn.004e5504
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4ca84c]
pop ecx
call fcn.004cecec
cmp dword [ebp - 4], 0
je 0x5d5942
lea ecx, [ebp - 0x1c]
mov edx, dword [ebx + 0x324]
mov eax, dword [0x4ca7f8]
call fcn.004cac20
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00404bfc
je 0x5d5942
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x5d5b2c
call fcn.004366b8
jmp 0x5d5ad4
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x300]
call fcn.004e5504
mov eax, dword [ebp - 0x28]
call fcn.004099f8
test al, al
jne 0x5d59b8
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x300]
call fcn.004e5504
mov eax, dword [ebp - 0x2c]
call fcn.00409a1c
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x300]
call fcn.004e5504
mov eax, dword [ebp - 0x30]
call fcn.004099f8
test al, al
jne 0x5d59b8
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x300]
call fcn.004e5504
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x5d5b5c
call fcn.004366b8
jmp 0x5d5ad4
mov eax, dword [ebx + 0x328]
push eax
push 0x5d5b98
mov ecx, dword [ebx + 0x324]
mov dl, 1
mov eax, dword [0x4ca744]
call fcn.004cb468
mov esi, eax
mov dword [ebx + 0x334], esi
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x300]
call fcn.004e5504
mov edx, dword [ebp - 0x38]
mov eax, esi
call fcn.004cd5d0
mov edx, 0x5d5ba4
mov eax, dword [ebx + 0x334]
call fcn.004cba74
test al, al
je 0x5d5a15
mov eax, dword [ebx + 0x334]
call fcn.004cdabc
cmp byte [ebx + 0x330], 0
je 0x5d5a47
lea ecx, [ebp - 0x3c]
mov edx, dword [ebx + 0x324]
mov eax, dword [0x4ca7f8]
call fcn.004cac20
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x334]
mov edx, dword [eax + 0x14]
mov eax, dword [0x4ca84c]
call fcn.004cf048
mov eax, dword [ebx + 0x304]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x5d5a68
lea eax, [ebp - 0xc]
mov edx, 0x5d5bb4
call fcn.00404888
jmp 0x5d5a75
lea eax, [ebp - 0xc]
mov edx, 0x5d5b98
call fcn.00404888
lea edx, [ebp - 0x10]
mov eax, 1
call fcn.00403030
mov eax, dword [ebx + 0x334]
push dword [eax + 0x14]
push 0x5d5bc0
push 0x5d5bd4
push dword [ebp - 0x10]
push 0x5d5bec
push dword [ebx + 0x328]
push 0x5d5bec
push dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 8
call fcn.00404b70
push 1
mov eax, dword [ebp - 8]
call fcn.00404cb0
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [0x5f4c98]
mov eax, dword [eax]
call fcn.00480400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d5b1b
lea eax, [ebp - 0x3c]
call fcn.004047f0
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00404814
lea eax, [ebp - 0x1c]
call fcn.004047f0
lea eax, [ebp - 0x18]
call fcn.004047f0
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404814
ret