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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1030]
mov eax, 0x1130
call fcn.1400f01a0
sub rsp, rax
mov rax, qword [0x14015d070]
xor rax, rsp
mov qword [rbp + 0x1020], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
mov dword [rsp + 0x54], esi
mov dword [rbp - 0x78], Ordinal_27
mov dword [rbp - 0x68], 1
mov qword [rbp - 0x70], rsi
xor r9d, r9d
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor r8d, r8d
lea edx, [rsi + 1]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov byte [rsp + 0x50], sil
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], sil
lea r8d, [rsi + 1]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14002e790
mov dword [rsp + 0x54], 1
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x5c], xmm1
movups xmmword [rbp - 0x4c], xmm1
movups xmmword [rbp - 0x3c], xmm1
movups xmmword [rbp - 0x2c], xmm1
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x14], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x60], 0x68
psrldq xmm1, 8
movd eax, xmm1
bts eax, 8
mov dword [rbp - 0x24], eax
mov qword [rbp - 0x10], rsi
mov rax, qword [rsp + 0x68]
mov qword [rbp - 8], rax
mov qword [rbp], rax
cmp qword [rbx + 0x18], 0x10
jb 0x140010d00
mov rbx, qword [rbx]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140010df1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x10]
mov r8d, 0xfff
lea rdx, [rbp + 0x20]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140010dcb
nop
mov eax, dword [rbp + 0x10]
test eax, eax
je 0x140010dcb
cmp rax, 0x1000
jae 0x14001104f
mov byte [rbp + rax + 0x20], 0
lea rax, [rbp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140010d93
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.14002c4e0
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x10]
mov r8d, 0xfff
lea rdx, [rbp + 0x20]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140010d70
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rdi + 0x18], 0x10
jb 0x140010e0b
mov rbx, qword [rdi]
mov rsi, rbx
mov r9, rbx
add rsi, qword [rdi + 0x10]
add rbx, qword [rdi + 0x10]
jmp 0x140010e1a
mov rax, qword [rdi + 0x10]
mov r9, rdi
lea rsi, [rax + rdi]
lea rbx, [rax + rdi]
mov r8b, 0xa
mov rdx, rsi
mov rcx, r9
call fcn.1400ef3f0
mov rdx, rax
cmp rax, rsi
je 0x140010e4d
inc rax
cmp rax, rsi
je 0x140010e4d
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x140010e45
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rsi
jne 0x140010e38
sub rbx, rdx
mov r14, qword [rdi + 0x10]
mov rax, r14
cmp qword [rdi + 0x18], 0x10
jb 0x140010e70
sub rdx, qword [rdi]
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
mov rax, qword [rdi]
jmp 0x140010e80
sub rdx, rdi
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
mov rax, rdi
lea rcx, [rax + rdx]
sub r14, rbx
mov r8, r14
sub r8, rdx
inc r8
lea rdx, [rcx + rbx]
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x10], r14
cmp qword [rdi + 0x18], 0x10
jb 0x140010eb3
mov rbx, qword [rdi]
mov r9, rbx
lea rsi, [r14 + rbx]
add rbx, r14
jmp 0x140010ebe
mov r9, rdi
lea rsi, [r14 + rdi]
lea rbx, [r14 + rdi]
mov r8b, reloc.WS2_32.dll_listen
mov rdx, rsi
mov rcx, r9
call fcn.1400ef3f0
mov rdx, rax
cmp rax, rsi
je 0x140010ef5
inc rax
cmp rax, rsi
je 0x140010ef5
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, 0xd
je 0x140010eed
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rsi
jne 0x140010ee0
sub rbx, rdx
mov rsi, qword [rdi + 0x10]
mov rax, rsi
cmp qword [rdi + 0x18], 0x10
jb 0x140010f18
sub rdx, qword [rdi]
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
mov rax, qword [rdi]
jmp 0x140010f28
sub rdx, rdi
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
mov rax, rdi
lea rcx, [rax + rdx]
sub rsi, rbx
mov r8, rsi
sub r8, rdx
inc r8
lea rdx, [rcx + rbx]
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x10], rsi
cmp qword [rdi + 0x18], 0x10
jb 0x140010f5b
mov rcx, qword [rdi]
mov rbx, rcx
lea r12, [rsi + rcx]
add rsi, rcx
jmp 0x140010f65
mov rbx, rdi
lea r12, [rsi + rdi]
add rsi, rdi
cmp rbx, r12
je 0x140010fd1
nop word [rax + rax]
movzx r14d, byte [rbx]
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140010f95
cmp r14b, 0xa
je 0x140010f95
cmp r14b, 0xd
je 0x140010f95
inc rbx
cmp rbx, r12
jne 0x140010f70
cmp rbx, r12
je 0x140010fd1
lea r14, [rbx + 1]
cmp r14, r12
je 0x140010fd1
movzx r15d, byte [r14]
mov ecx, r15d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140010fc9
cmp r15b, 0xa
je 0x140010fc9
cmp r15b, 0xd
je 0x140010fc9
movzx eax, byte [r14]
mov byte [rbx], al
inc rbx
inc r14
cmp r14, r12
jne 0x140010fa3
sub rsi, rbx
mov r14, qword [rdi + 0x10]
mov rax, r14
cmp qword [rdi + 0x18], 0x10
jb 0x140010ff4
sub rbx, qword [rdi]
sub rax, rbx
cmp rax, rsi
cmovb rsi, rax
mov rax, qword [rdi]
jmp 0x140011004
sub rbx, rdi
sub rax, rbx
cmp rax, rsi
cmovb rsi, rax
mov rax, rdi
lea rcx, [rax + rbx]
sub r14, rsi
mov r8, r14
sub r8, rbx
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x10], r14
mov rax, rdi
mov rcx, qword [rbp + 0x1020]
xor rcx, rsp
call fcn.1400ef540
lea r11, [rsp + 0x1130]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400ef908
int3