Function at 0x6141f4
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Create reverse shell

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x614506
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x6140f4]
call fcn.00409618
mov esi, eax
lea eax, [ebp - 4]
mov edx, esi
test edx, edx
je 0x614232
sub edx, 0xfffffff8
call fcn.00410570
mov eax, ebx
mov dword [esi + 0xc], eax
mov byte [ebp - 5], 0
push 0
push 0x68e92c
lea edx, [eax + 0x2c]
push edx
add eax, 0x28
push eax
call sub.kernel32.dll_CreatePipe
push 0
push 0x68e92c
mov eax, dword [esi + 0xc]
lea edx, [eax + 0x34]
push edx
add eax, 0x30
push eax
call sub.kernel32.dll_CreatePipe
push 0
push 0x68e92c
mov eax, dword [esi + 0xc]
lea edx, [eax + 0x3c]
push edx
add eax, 0x38
push eax
call sub.kernel32.dll_CreatePipe
push 0
push 1
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x2c]
push eax
call sub.kernel32.dll_SetHandleInformation
push 0
push 1
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_SetHandleInformation
push 0
push 1
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x38]
push eax
call sub.kernel32.dll_SetHandleInformation
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00408458
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 0x101
mov word [ebp - 0x20], 0
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x10], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x10
call fcn.00408458
mov ebx, dword [esi + 0xc]
cmp dword [ebx + 0x48], 0
je 0x614307
mov ebx, dword [ebx + 0x48]
jmp 0x614312
lea eax, [ebp - 0x54]
call fcn.0042778c
mov ebx, dword [ebp - 0x54]
mov edi, dword [esi + 0xc]
lea eax, [edi + 0x18]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push 0x614524
push dword [edi + 0x40]
push 0x614534
push dword [edi + 0x44]
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.0040c2b8
mov eax, dword [ebp - 0x58]
call fcn.0040bfcc
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x61449a
mov eax, dword [esi + 0xc]
add eax, 0x1c
call fcn.0061a53c
mov eax, dword [esi + 0xc]
add eax, 0x28
call fcn.0061a53c
mov eax, dword [esi + 0xc]
add eax, 0x34
call fcn.0061a53c
mov eax, dword [esi + 0xc]
add eax, 0x3c
call fcn.0061a53c
mov edx, esi
test edx, edx
je 0x614392
sub edx, 0xffffffe4
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x14]
call fcn.004bc794
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x14]
call fcn.004bcc9c
mov eax, dword [esi + 0xc]
cmp dword [eax + 8], 0
je 0x6143dc
cmp dword [eax + 4], 0
jne 0x6143dc
mov edx, esi
test edx, edx
je 0x6143c0
sub edx, 0xffffffe8
mov eax, dword [eax + 0x10]
call fcn.004bc794
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
call fcn.004bcc9c
mov byte [ebp - 5], 1
jmp 0x6144e1
mov eax, dword [esi + 0xc]
cmp dword [eax + 4], 0
je 0x614410
cmp dword [eax + 8], 0
jne 0x614410
mov edx, esi
test edx, edx
je 0x6143f4
sub edx, 0xffffffec
mov eax, dword [eax + 0x10]
call fcn.004bc794
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
call fcn.004bcc9c
mov byte [ebp - 5], 1
jmp 0x6144e1
mov eax, dword [esi + 0xc]
cmp dword [eax + 4], 0
je 0x6144e1
cmp dword [eax + 8], 0
je 0x6144e1
mov edx, esi
test edx, edx
je 0x614430
sub edx, 0xfffffff0
mov eax, dword [eax + 0x10]
call fcn.004bc794
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
call fcn.004bcc9c
mov eax, dword [esi + 0xc]
call fcn.00613d9c
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
call fcn.004bccb8
push 0xffffffffffffffff
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x18]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x18]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [esi + 0xc]
add eax, 0x18
call fcn.0061a53c
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x30], 2
je 0x614490
call fcn.004bccd0
cmp dword [ebp - 0xc], 0
sete byte [ebp - 5]
jmp 0x6144e1
mov eax, dword [esi + 0xc]
add eax, 0x28
call fcn.0061a53c
mov eax, dword [esi + 0xc]
add eax, 0x2c
call fcn.0061a53c
mov eax, dword [esi + 0xc]
add eax, 0x30
call fcn.0061a53c
mov eax, dword [esi + 0xc]
add eax, 0x34
call fcn.0061a53c
mov eax, dword [esi + 0xc]
add eax, 0x38
call fcn.0061a53c
mov eax, dword [esi + 0xc]
add eax, 0x3c
call fcn.0061a53c
call fcn.0042fc88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61450d
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0040b384
lea eax, [ebp - 4]
call fcn.00410558
pop eax
jmp eax