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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1080]
mov eax, 0x1180
call fcn.18006e3d0
sub rsp, rax
mov rax, qword [0x1800d9060]
xor rax, rsp
mov qword [rbp + 0x1070], rax
mov rbx, r8
mov r14, rdx
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 0x18
mov r15d, 1
mov dword [rsp + 0x70], r15d
mov qword [rsp + 0x68], r12
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x80], 0x68
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], rax
psrldq xmm0, 8
movd eax, xmm0
bts eax, 8
mov dword [rbp - 0x44], eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rax
mov edx, 0x104
xor ecx, ecx
lea r9d, [r12 + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
cmp qword [rbx + 0x18], 0x10
jb 0x18003a07d
mov rbx, qword [rbx]
mov r9, rbx
lea r8, str._c__s
mov edx, 0x104
mov rcx, rdi
call fcn.180033d20
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], r12b
mov r8d, 0x24
lea rdx, str.QzpcV2luZG93c1xzeXN0ZW0zMlxjbWQuZXhl
lea rcx, [rbp + 0x18]
call fcn.18000dc10
nop
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x38]
call fcn.180039630
nop
lea rcx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x18003a152
lea rdx, str.CreateProcessA_failed_with_error:
lea rcx, [0x1800db400]
call fcn.180009ff0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.18003e0c0
mov rcx, rax
call fcn.18000a570
mov r15d, r12d
jmp 0x18003a2ce
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x104
mov r8d, 0x4000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [rbp - 0x10], r12d
mov esi, r12d
mov rdx, r14
lea rcx, [rbp - 8]
call fcn.180008880
nop
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x10]
mov r8d, 0x1000
lea rdx, [rbp + 0x70]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18003a254
nop dword [rax + rax]
mov eax, dword [rbp - 0x10]
test eax, eax
je 0x18003a254
mov edi, eax
mov rcx, qword [rbp + 8]
mov rdx, qword [rbp + 0x10]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x18003a1fd
lea rax, [rcx + rdi]
mov qword [rbp + 8], rax
lea rbx, [rbp - 8]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 8]
add rbx, rcx
mov r8d, edi
lea rdx, [rbp + 0x70]
mov rcx, rbx
call fcn.18006f8c0
mov byte [rbx + rdi], 0
jmp 0x18003a212
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x70]
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.18000b480
add esi, dword [rbp - 0x10]
cmp esi, 0x9c40
jae 0x18003a254
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x70]
call fcn.18006ff70
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x10]
mov r8d, 0x1000
lea rdx, [rbp + 0x70]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18003a1b0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbp - 8]
cmp r14, rax
je 0x18003a283
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rdx, qword [rbp - 8]
mov r8, qword [rbp + 8]
mov rcx, r14
call fcn.18000dc10
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x18003a2be
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003a2b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a394
call fcn.18006d82c
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x18003a309
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003a304
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a39a
call fcn.18006d82c
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x18003a350
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003a34b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a38e
call fcn.18006d82c
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
mov eax, r15d
mov rcx, qword [rbp + 0x1070]
xor rcx, rsp
call fcn.18006d7e0
lea r11, [rsp + 0x1180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
int3