Function at 0x140083970
Capabilities:
Read file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x11c0
call fcn.140156450
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1200], rbx
mov qword [rsp + 0x1208], rsi
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x11b0], rax
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rdx, str._SynchronousPipe::Read_
mov qword [rsp + 0x58], rdx
xor esi, esi
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], 0x78
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
lea rcx, [rsp + 0xb0]
call fcn.140001d10
nop
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x20]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x140083a3e
mov dword [rsp + 0x40], 0x57
lea rax, str.Checking_Parameters_
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xa0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xa0]
call sub.MSVCR90.dll__CxxThrowException
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
lea rbx, vtable.SpeedBit::Utils::StackBufferEx_4000_.0
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x1198], rsi
mov qword [rsp + 0x11a0], rsi
mov edx, 0xfa0
mov eax, dword [rsp + 0x54]
test eax, eax
cmovne edx, eax
lea rcx, [rsp + 0x1f0]
call qword [str.0_b_]
test eax, eax
jne 0x140083ad6
mov dword [rsp + 0x40], 8
lea rax, str.BaseBuffer::Resize
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x90]
call sub.MSVCR90.dll__CxxThrowException
mov edi, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15d, esi
mov r14d, esi
mov dword [rsp + 0x38], esi
mov r12d, esi
nop dword [rax]
cmp edi, 0x26
je 0x140083c4d
mov dword [rsp + 0x50], esi
lea rcx, [rsp + 0x1f0]
mov rax, qword [rsp + 0x1f0]
call qword [rax + 0x38]
mov rbx, rax
lea rcx, [rsp + 0x1f0]
mov rdx, qword [rsp + 0x1f0]
call qword [rdx + 0x10]
sub ebx, r12d
mov edx, r12d
add rdx, rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
mov r8d, ebx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test ebx, ebx
je 0x140083b6a
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140083b6a
add r12d, eax
add r14d, eax
mov dword [rsp + 0x38], r14d
jmp 0x140083baa
test edi, edi
je 0x140083ba5
cmp edi, 0x6d
je 0x140083ba5
mov dword [rsp + 0x40], edi
lea rax, [0x1401d5950]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x80], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x80]
call sub.MSVCR90.dll__CxxThrowException
mov edi, 0x26
cmp r12d, 0xbb8
jae 0x140083bbc
cmp edi, 0x26
jne 0x140083c45
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x38]
mov r14, rax
mov ebx, r12d
mov r8, qword [r13]
mov edx, r12d
mov rcx, r13
call qword [r8 + 0x28]
test eax, eax
jne 0x140083c0e
mov dword [rsp + 0x40], 8
lea rax, str.BaseBuffer::grow
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x70]
call sub.MSVCR90.dll__CxxThrowException
lea rcx, [rsp + 0x1f0]
mov rax, qword [rsp + 0x1f0]
call qword [rax + 0x10]
mov r12, rax
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x10]
lea rcx, [rax + r14]
mov r8, rbx
mov rdx, r12
call sub.MSVCR90.dll_memcpy
mov r12d, esi
mov r14d, dword [rsp + 0x38]
inc r15d
jmp 0x140083af0
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], 1
lea rax, vtable.SpeedBit::Utils::StackBufferEx_4000_.0
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0x1f8]
mov rcx, qword [rsp + 0x1198]
cmp rcx, rax
je 0x140083c88
test rcx, rcx
je 0x140083c88
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x1198], rsi
mov qword [rsp + 0x11a0], rsi
lea rax, vtable.SpeedBit::Utils::BaseBuffer.0
mov qword [rsp + 0x1f0], rax
mov ebx, dword [rsp + 0x34]
lea rcx, [rsp + 0xb0]
call fcn.140001e50
nop
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x11b0]
xor rcx, rsp
call fcn.140155650
lea r11, [rsp + 0x11c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret