Function at 0x140013e20
Capabilities:
Read file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x11b0
call fcn.14004bd60
sub rsp, rax
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x11f0], rbx
mov qword [rsp + 0x11f8], rsi
mov rax, qword [0x1400777b8]
xor rax, rsp
mov qword [rsp + 0x11a0], rax
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x40], rcx
lea rax, str._SynchronousPipe::Read_
mov qword [rsp + 0x58], rax
xor ebx, ebx
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x38], 0x78
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x78], rax
cmp qword [0x14007c1a0], rbx
je 0x140013eb7
lea rcx, [rsp + 0x68]
call fcn.14000ac60
nop
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x20]
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x140013f05
mov dword [rsp + 0x40], 0x57
lea rax, str.Checking_Parameters_
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [0x140075ac8]
lea rcx, [rsp + 0x90]
call fcn.14003cd48
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
lea rax, vtable.SpeedBit::Utils::StackBufferEx_4000_.0
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1188], rbx
mov qword [rsp + 0x1190], rbx
mov edx, 0xfa0
mov eax, dword [rsp + 0x50]
test eax, eax
cmovne edx, eax
lea rcx, [rsp + 0x1e0]
call qword [0x140067b78]
test eax, eax
jne 0x140013f9d
mov dword [rsp + 0x40], 8
lea rax, str.BaseBuffer::Resize
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xa0], xmm0
lea rdx, [0x140075ac8]
lea rcx, [rsp + 0xa0]
call fcn.14003cd48
mov edi, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r12d, ebx
mov r13d, ebx
mov esi, ebx
nop
cmp edi, 0x26
je 0x14001410c
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x1e0]
mov rax, qword [rsp + 0x1e0]
call qword [rax + 0x38]
mov rbx, rax
lea rcx, [rsp + 0x1e0]
mov rdx, qword [rsp + 0x1e0]
call qword [rdx + 0x10]
sub ebx, esi
mov edx, esi
add rdx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, ebx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test ebx, ebx
je 0x140014024
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140014024
add esi, eax
add r13d, eax
jmp 0x140014064
test edi, edi
je 0x14001405f
cmp edi, 0x6d
je 0x14001405f
mov dword [rsp + 0x40], edi
lea rax, [0x140067b18]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xb0], xmm0
lea rdx, [0x140075ac8]
lea rcx, [rsp + 0xb0]
call fcn.14003cd48
mov edi, 0x26
cmp esi, 0xbb8
jae 0x140014075
cmp edi, 0x26
jne 0x140014102
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x38]
mov r15, rax
mov ebx, esi
mov r8, qword [r14]
mov edx, esi
mov rcx, r14
call qword [r8 + 0x28]
test eax, eax
jne 0x1400140c9
mov dword [rsp + 0x40], 8
lea rax, str.BaseBuffer::grow
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xc0], xmm0
lea rdx, [0x140075ac8]
lea rcx, [rsp + 0xc0]
call fcn.14003cd48
lea rcx, [rsp + 0x1e0]
mov rax, qword [rsp + 0x1e0]
call qword [rax + 0x10]
mov rsi, rax
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0x10]
lea rcx, [rax + r15]
mov r8, rbx
mov rdx, rsi
call fcn.14003a840
xor ebx, ebx
mov esi, ebx
mov r15, qword [rsp + 0x40]
jmp 0x140014104
xor ebx, ebx
inc r12d
jmp 0x140013fb0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x34], 1
lea rax, vtable.SpeedBit::Utils::StackBufferEx_4000_.0
mov qword [rsp + 0x1e0], rax
lea rax, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x1188]
cmp rcx, rax
je 0x140014147
test rcx, rcx
je 0x140014147
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x1188], rbx
mov qword [rsp + 0x1190], rbx
lea rax, vtable.SpeedBit::Utils::BaseBuffer.0
mov qword [rsp + 0x1e0], rax
mov ebx, dword [rsp + 0x34]
lea rcx, [rsp + 0x68]
call fcn.14000ade0
nop
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x11a0]
xor rcx, rsp
call fcn.14003a5f0
lea r11, [rsp + 0x11b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret