Function at 0x140012a70
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 [0x14005b080]
xor rax, rsp
mov qword [rsp + 0x9c0], rax
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x60]
call fcn.140013550
mov rcx, rax
call fcn.140018960
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x61]
call fcn.140013520
mov rcx, rax
call fcn.140018920
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.140012850
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x62]
call fcn.1400135b0
mov rcx, rax
call fcn.140018940
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x63]
call fcn.140013580
mov rcx, rax
call fcn.140018920
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.140012850
mov qword [rsp + 0x150], rax
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x64]
call fcn.140013610
mov rcx, rax
call fcn.140018980
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x65]
call fcn.1400135e0
mov rcx, rax
call fcn.140018920
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.140012850
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x66]
call fcn.140013670
mov rcx, rax
call fcn.140018960
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x67]
call fcn.140013640
mov rcx, rax
call fcn.140018920
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.140012850
mov qword [rsp + 0x180], rax
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x68]
call fcn.1400136d0
mov rcx, rax
call fcn.140018960
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x69]
call fcn.1400136a0
mov rcx, rax
call fcn.140018920
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.140012850
mov qword [rsp + 0x190], rax
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x6a]
call fcn.140013730
mov rcx, rax
call fcn.1400189c0
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x6b]
call fcn.140013700
mov rcx, rax
call fcn.140018920
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.140012850
mov qword [rsp + 0x1a0], rax
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x6c]
call fcn.140013790
mov rcx, rax
call fcn.1400189a0
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x6d]
call fcn.140013760
mov rcx, rax
call fcn.140018920
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.140012850
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 0x140012de1
xor eax, eax
jmp 0x140013500
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x140012e02
xor eax, eax
jmp 0x140013500
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 0x140012eff
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 0x140013500
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 0x140012fbf
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 0x140013500
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 0x1400130ac
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 0x140013500
mov r8, qword [rsp + 0x9f0]
mov rdx, qword [rsp + 0x9e8]
mov rcx, qword [rsp + 0x2f8]
call fcn.140011040
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 0x14001318c
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 0x140013500
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 0x140013260
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 0x140013500
cmp qword [rsp + 0x2e0], 0
je 0x14001347a
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.14002c664
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400132f0
xor eax, eax
jmp 0x140013500
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 0x140013344
cmp dword [rsp + 0x2c8], 0
jne 0x140013349
jmp 0x140013428
mov eax, dword [rsp + 0x2c8]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0x104
jae 0x140013368
jmp 0x14001336d
call fcn.1400234d4
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 0x140013393
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.14002c66c
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1400133fa
mov rcx, qword [rsp + 0x58]
call fcn.14002a248
xor eax, eax
jmp 0x140013500
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.14002c690
jmp 0x140013302
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 0x140013441
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0x58]
call fcn.14002a248
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.1400237e0
add rsp, 0x9d0
pop rdi
ret