Function at 0x1400430d0
Capabilities:
Create pipe
Read file on windows
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140228058]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov ebx, r9d
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov r15, qword [rbp + 0x2a8]
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x68], SafeArrayCopy
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x58], 1
xor r9d, r9d
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400434ed
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400434ed
cmp qword [rsp + 0x78], r12
je 0x1400434ed
xor r8d, r8d
lea edx, [r12 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov dword [rbp - 4], eax
mov dword [rbp - 0x50], 0x68
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x10], rax
mov qword [rbp + 8], rax
mov qword [rbp], 0xffffffffffffffff
or dword [rbp - 0x14], 0x100
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
mov r8, r14
mov rdx, rsi
xor ecx, ecx
call fcn.140042a90
test al, al
je 0x1400434c0
mov edx, ebx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], r12
cmp ebx, 0x102
jne 0x140043265
cmp byte [rbp + 0x2a0], r12b
je 0x140043265
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140043265
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14004347f
mov rbx, qword [rsp + 0x70]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x30]
call fcn.14015cb20
lea rax, [0x1401d5960]
mov qword [rbp + 0x30], rax
lea rax, [0x1401d5958]
mov qword [rbp + 0x40], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0xc8], rax
mov dword [rsp + 0x30], 5
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x30]
call fcn.140025ec0
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x48]
call fcn.140026050
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x48], rax
mov qword [rbp + 0xb0], r12
mov dword [rbp + 0xb8], r12d
mov dword [rbp + 0x20], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x20]
mov r8d, 0xff
lea rdx, [rbp + 0x130]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140043358
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x140043358
cmp eax, 0xff
ja 0x140043363
cmp rax, 0x100
jae 0x140043517
mov byte [rbp + rax + 0x130], 0
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x40]
call fcn.1400436e0
jmp 0x140043301
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x140043375
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x40]
call fcn.1400436e0
jmp 0x140043301
movdqa xmm0, xmmword [0x1401d8170]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r12w
mov dword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayUnlock
mov ecx, dword [rbp + 0xb8]
test cl, 2
jne 0x1400433c6
mov rax, qword [rbp + 0x88]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400433c6
mov rax, qword [rbp + 0x68]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0xb0]
cmovb rdx, qword [rbp + 0xb0]
sub rdx, r9
jmp 0x1400433f4
test cl, 4
jne 0x140043427
mov rax, qword [rbp + 0x80]
mov rcx, qword [rax]
test rcx, rcx
je 0x140043427
mov rax, qword [rbp + 0x60]
mov r9, qword [rax]
mov rax, qword [rbp + 0x98]
movsxd rdx, dword [rax]
add rdx, rdx
sub rdx, r9
add rdx, rcx
sar rdx, 1
lea rcx, [rsp + 0x38]
cmp rdx, 7
ja 0x14004341e
mov qword [rsp + 0x48], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14015c680
mov word [rsp + rbx + 0x38], r12w
jmp 0x140043427
xor r8d, r8d
call fcn.140015860
nop
lea rcx, [rbp + 0x30]
call fcn.140023f10
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14001ca60
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14004347f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004347a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043511
call fcn.14013db80
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140043497
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
mov qword [rsp + 0x70], rcx
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x1400434ae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1400434c5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test r15, r15
je 0x1400434cd
mov qword [r15], r12
test rcx, rcx
je 0x1400434dd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], r12
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400434ed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14013df50
add rsp, 0x340
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14015fb1c
nop
call fcn.14013e5c4
int3