Function at 0x5d6a50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x5d6a59
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405738
xor eax, eax
push ebp
push 0x5d6d55
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x70]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0x74]
mov ecx, 4
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.0040a0f8
mov eax, dword [ebp - 0x6c]
mov edx, 0x5d6d6c
call fcn.00405694
je 0x5d6bed
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0x80]
mov ecx, 3
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.0040a0f8
mov eax, dword [ebp - 0x78]
mov edx, 0x5d6d7c
call fcn.00405694
je 0x5d6bed
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0x8c]
mov ecx, 4
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.0040a0f8
mov eax, dword [ebp - 0x84]
mov edx, 0x5d6d88
call fcn.00405694
je 0x5d6bed
lea eax, [ebp - 0x94]
push eax
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0x98]
mov ecx, 2
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.0040a0f8
mov eax, dword [ebp - 0x90]
mov edx, 0x5d6d98
call fcn.00405694
je 0x5d6bed
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0xa4]
mov ecx, 2
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.0040a0f8
mov eax, dword [ebp - 0x9c]
mov edx, 0x5d6da4
call fcn.00405694
jne 0x5d6c18
lea edx, [ebp - 0xa8]
mov eax, 0x5d6db0
call fcn.00411494
push dword [ebp - 0xa8]
push 0x5d6dc0
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405608
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.00403450
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], 8
cmp byte [ebp - 5], 0
je 0x5d6c47
mov word [ebp - 0x28], 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405748
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x5d6c86
mov dword [ebp - 0xc], 0xffffffff
jmp 0x5d6d2f
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 4]
call fcn.0040a0f8
mov edx, dword [ebp - 0xac]
mov eax, 0x5d6dd0
call fcn.0040588c
test eax, eax
jle 0x5d6cd4
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 4]
call fcn.0040a0f8
mov edx, dword [ebp - 0xb0]
mov eax, 0x5d6de4
call fcn.0040588c
test eax, eax
jle 0x5d6cd4
mov eax, dword [ebp - 0x68]
mov dword [0x1221e00], eax
jmp 0x5d6cdb
xor eax, eax
mov dword [0x1221e00], eax
cmp byte [ebp - 6], 0
je 0x5d6d11
push 0xffffffffffffffff
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 0x14], 0xf4240
jbe 0x5d6d09
mov dword [ebp - 0x14], 3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x5d6d16
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [0x1221e00], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d6d5c
lea eax, [ebp - 0xb0]
mov edx, 0x12
call fcn.0040529c
lea eax, [ebp - 4]
call fcn.00405278
ret