Function at 0x5d6dec
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x5d6df5
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405738
xor eax, eax
push ebp
push 0x5d7098
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0x78]
mov ecx, 4
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.0040a0f8
mov eax, dword [ebp - 0x70]
mov edx, 0x5d70b4
call fcn.00405694
je 0x5d6f8e
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0x84]
mov ecx, 3
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.0040a0f8
mov eax, dword [ebp - 0x7c]
mov edx, 0x5d70c4
call fcn.00405694
je 0x5d6f8e
lea eax, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0x90]
mov ecx, 4
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.0040a0f8
mov eax, dword [ebp - 0x88]
mov edx, 0x5d70d0
call fcn.00405694
je 0x5d6f8e
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0x9c]
mov ecx, 2
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.0040a0f8
mov eax, dword [ebp - 0x94]
mov edx, 0x5d70e0
call fcn.00405694
je 0x5d6f8e
lea eax, [ebp - 0xa4]
push eax
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0xa8]
mov ecx, 2
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.0040a0f8
mov eax, dword [ebp - 0xa0]
mov edx, 0x5d70ec
call fcn.00405694
jne 0x5d6fb9
lea edx, [ebp - 0xac]
mov eax, 0x5d70f8
call fcn.00411494
push dword [ebp - 0xac]
push 0x5d7108
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405608
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403450
mov dword [ebp - 0x5c], 0x44
mov dword [ebp - 0x30], 1
cmp dword [ebp + 8], 1
jne 0x5d6fe3
add dword [ebp - 0x30], 0x80
mov word [ebp - 0x2c], 8
cmp byte [ebp - 5], 0
je 0x5d6ff5
mov word [ebp - 0x2c], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
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 - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x5d7031
mov dword [ebp - 0x10], 0xffffffff
jmp 0x5d7072
imul eax, dword [ebp - 0xc], 0x3e8
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_WaitForSingleObject
push 0
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_TerminateProcess
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d709f
lea eax, [ebp - 0xac]
mov edx, 0x10
call fcn.0040529c
lea eax, [ebp - 4]
call fcn.00405278
ret