Function at 0x140011b00
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.1400f2f80
sub rsp, rax
mov rax, qword [0x140160080]
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 + 0x50], esi
mov dword [rbp - 0x78], Ordinal_30
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]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], 1
mov word [rdi], si
mov dword [rsp + 0x50], 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
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], 0xf
jbe 0x140011bfb
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 0x140011cf1
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 0x140011ccb
nop word [rax + rax]
mov eax, dword [rbp + 0x10]
test eax, eax
je 0x140011ccb
cmp rax, 0x1000
jae 0x140011f4f
mov byte [rbp + rax + 0x20], 0
lea rax, [rbp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140011c93
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.14002e4a0
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 0x140011c70
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], 0xf
jbe 0x140011d0b
mov rbx, qword [rdi]
mov rsi, rbx
mov r9, rbx
add rsi, qword [rdi + 0x10]
add rbx, qword [rdi + 0x10]
jmp 0x140011d1a
mov rax, qword [rdi + 0x10]
mov r9, rdi
lea rsi, [rdi + rax]
lea rbx, [rax + rdi]
mov r8b, 0xa
mov rdx, rsi
mov rcx, r9
call fcn.1400f2350
mov rdx, rax
cmp rax, rsi
je 0x140011d4d
inc rax
cmp rax, rsi
je 0x140011d4d
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x140011d45
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rsi
jne 0x140011d38
sub rbx, rdx
mov r14, qword [rdi + 0x10]
mov rax, r14
cmp qword [rdi + 0x18], 0xf
jbe 0x140011d70
sub rdx, qword [rdi]
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
mov rax, qword [rdi]
jmp 0x140011d80
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], 0xf
jbe 0x140011db3
mov rbx, qword [rdi]
mov r9, rbx
lea rsi, [r14 + rbx]
add rbx, r14
jmp 0x140011dbe
mov r9, rdi
lea rsi, [rdi + r14]
lea rbx, [r14 + rdi]
mov r8b, reloc.WS2_32.dll_listen
mov rdx, rsi
mov rcx, r9
call fcn.1400f2350
mov rdx, rax
cmp rax, rsi
je 0x140011df5
inc rax
cmp rax, rsi
je 0x140011df5
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, 0xd
je 0x140011ded
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rsi
jne 0x140011de0
sub rbx, rdx
mov rsi, qword [rdi + 0x10]
mov rax, rsi
cmp qword [rdi + 0x18], 0xf
jbe 0x140011e18
sub rdx, qword [rdi]
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
mov rax, qword [rdi]
jmp 0x140011e28
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], 0xf
jbe 0x140011e5b
mov rcx, qword [rdi]
mov rbx, rcx
lea r12, [rsi + rcx]
add rsi, rcx
jmp 0x140011e65
mov rbx, rdi
lea r12, [rdi + rsi]
add rsi, rdi
cmp rbx, r12
je 0x140011ed1
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 0x140011e95
cmp r14b, 0xa
je 0x140011e95
cmp r14b, 0xd
je 0x140011e95
inc rbx
cmp rbx, r12
jne 0x140011e70
cmp rbx, r12
je 0x140011ed1
lea r14, [rbx + 1]
cmp r14, r12
je 0x140011ed1
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 0x140011ec9
cmp r15b, 0xa
je 0x140011ec9
cmp r15b, 0xd
je 0x140011ec9
movzx eax, byte [r14]
mov byte [rbx], al
inc rbx
inc r14
cmp r14, r12
jne 0x140011ea3
sub rsi, rbx
mov r14, qword [rdi + 0x10]
mov rax, r14
cmp qword [rdi + 0x18], 0xf
jbe 0x140011ef4
sub rbx, qword [rdi]
sub rax, rbx
cmp rax, rsi
cmovb rsi, rax
mov rax, qword [rdi]
jmp 0x140011f04
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.1400f24a0
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.1400f26f0
int3