Function at 0x14000b8a0
Capabilities:
Read file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x12d0
call fcn.14000d7d0
sub rsp, rax
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x1310], rbx
mov qword [rsp + 0x1318], rsi
mov rax, qword [0x14001b030]
xor rax, rsp
mov qword [rsp + 0x12c0], rax
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rdi, str._SynchronousPipe::Read_
mov qword [rsp + 0x68], rdi
xor esi, esi
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x38], 0x78
mov qword [rsp + 0x70], rdi
lea rax, [rsp + 0x34]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x80], rax
mov rcx, qword [0x14001ce58]
test rcx, rcx
je 0x14000ba1b
mov rax, qword [rcx]
mov edx, 0x3e8
call qword [rax + 0x10]
test eax, eax
je 0x14000ba1b
lea edx, [rsi + 2]
lea r8d, [rsi + 1]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x1c0]
lea rdx, [rsp + 0x58]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
mov rdx, rdi
lea rcx, [rsp + 0x1c0]
call fcn.140002750
mov rcx, rax
lea rdx, str.Started
call fcn.140002750
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 8
cmovae r8, qword [rsp + 0x2b8]
mov rcx, qword [0x14001ce58]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x2c8]
mov edx, 0x3e8
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
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 0x14000ba6a
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, [0x1400182b0]
lea rcx, [rsp + 0xa0]
call sub.MSVCR90.dll__CxxThrowException
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
lea rbx, vtable.SpeedBit::Utils::StackBufferEx_4000_.0
mov qword [rsp + 0x300], rbx
mov qword [rsp + 0x12a8], rsi
mov qword [rsp + 0x12b0], rsi
mov edx, 0xfa0
mov eax, dword [rsp + 0x54]
test eax, eax
cmovne edx, eax
lea rcx, [rsp + 0x300]
call qword [0x140013820]
test eax, eax
jne 0x14000bb02
mov dword [rsp + 0x40], 8
lea rax, str.BaseBuffer::Resize
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xc0], xmm0
lea rdx, [0x1400182b0]
lea rcx, [rsp + 0xc0]
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 + 0x30], esi
mov r12d, esi
nop dword [rax]
cmp edi, 0x26
je 0x14000bc83
mov dword [rsp + 0x50], esi
lea rcx, [rsp + 0x300]
mov rax, qword [rsp + 0x300]
call qword [rax + 0x38]
mov rbx, rax
lea rcx, [rsp + 0x300]
mov rdx, qword [rsp + 0x300]
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 0x14000bb9a
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14000bb9a
add r12d, eax
add r14d, eax
mov dword [rsp + 0x30], r14d
jmp 0x14000bbda
test edi, edi
je 0x14000bbd5
cmp edi, 0x6d
je 0x14000bbd5
mov dword [rsp + 0x40], edi
lea rax, [0x1400137b8]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xb0], xmm0
lea rdx, [0x1400182b0]
lea rcx, [rsp + 0xb0]
call sub.MSVCR90.dll__CxxThrowException
mov edi, 0x26
cmp r12d, 0xbb8
jae 0x14000bbec
cmp edi, 0x26
jne 0x14000bc7b
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 0x14000bc44
mov dword [rsp + 0x40], 8
lea rax, str.BaseBuffer::grow
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [0x1400182b0]
lea rcx, [rsp + 0x90]
call sub.MSVCR90.dll__CxxThrowException
lea rcx, [rsp + 0x300]
mov rax, qword [rsp + 0x300]
call qword [rax + 0x10]
mov r12, rax
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x10]
lea rcx, [r14 + rax]
mov r8, rbx
mov rdx, r12
call sub.MSVCR90.dll_memcpy
mov r12d, esi
mov r14d, dword [rsp + 0x30]
inc r15d
jmp 0x14000bb20
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x34], 1
lea rax, vtable.SpeedBit::Utils::StackBufferEx_4000_.0
mov qword [rsp + 0x300], rax
lea rax, [rsp + 0x308]
mov rcx, qword [rsp + 0x12a8]
cmp rcx, rax
je 0x14000bcbe
test rcx, rcx
je 0x14000bcbe
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x12a8], rsi
mov qword [rsp + 0x12b0], rsi
lea rax, vtable.SpeedBit::Utils::BaseBuffer.0
mov qword [rsp + 0x300], rax
mov ebx, dword [rsp + 0x34]
lea rcx, [rsp + 0x70]
call fcn.140002450
nop
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x12c0]
xor rcx, rsp
call fcn.14000cb70
lea r11, [rsp + 0x12d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret