Function at 0x140011c00
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x448]
sub rsp, 0x520
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140115fa8]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rdi, r8
mov r14, rdx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400120c9
lea rax, [0x1400dd080]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 8
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x40], r12
mov dword [rbp - 0x38], 4
lea rdx, str.Error_getting_stdin_handle:
lea rcx, [rsp + 0x50]
call fcn.1400020e0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rcx, [rbp + 0x50]
call sub.Common_HvdAgent.dll_class_std::shared_ptr_class_CSF::csflogger::LogController____cdecl_VirtualChannelLogger_getInstance_void_
cmp qword [rax], r12
je 0x140011d21
cmp qword [0x140118a70], r12
je 0x140011d21
mov dil, 1
jmp 0x140011d24
xor dil, dil
mov r14, 0xffffffffffffffff
mov rbx, qword [rbp + 0x58]
test rbx, rbx
je 0x140011d5f
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140011d5f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140011d5f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
test dil, dil
je 0x140012082
mov rcx, qword [0x140118a70]
call qword [sym.imp.uvdilogger.dll_CSFLogger_getName]
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x380], xmm0
mov byte [rbp + 0x370], 0
mov r8, r14
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140011d90
mov rdx, rax
lea rcx, [rbp + 0x370]
call fcn.140003630
nop
lea rcx, [rbp + 0x60]
call sub.Common_HvdAgent.dll_class_std::shared_ptr_class_CSF::csflogger::LogController____cdecl_VirtualChannelLogger_getInstance_void_
nop
mov rdi, qword [rax]
mov rax, qword [rdi]
mov rsi, qword [rax + 0x38]
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x2a0], xmm0
mov byte [rbp + 0x290], 0
mov dword [rsp + 0x40], 0x28
mov eax, dword [rbp - 0x38]
test al, 2
jne 0x140011e22
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x140011e1f
mov rax, qword [rsp + 0x78]
mov rbx, qword [rax]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov qword [rbp + 0x48], rax
cmp rax, qword [rbp - 0x40]
cmovb rax, qword [rbp - 0x40]
sub rax, rbx
mov r8, rax
mov rdx, rbx
jmp 0x140011e4f
mov eax, dword [rbp - 0x38]
test al, 4
jne 0x140011e5c
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
test rax, rax
je 0x140011e5c
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x58]
movsxd r8, dword [rax]
sub r8, rdx
mov rax, qword [rbp - 0x70]
add r8, qword [rax]
lea rcx, [rbp + 0x290]
call fcn.140003630
nop
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x2e0], xmm0
mov byte [rbp + 0x2d0], 0
mov r8d, 0x19
lea rdx, str.DcvPipeWin::readFromStdin
lea rcx, [rbp + 0x2d0]
call fcn.140003630
nop
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x2c0], xmm0
mov byte [rbp + 0x2b0], 0
mov r8d, 0x3e
lea rdx, str.src_virtualchannel_srccommondcvcommonWindowsDcvPipeWin.cpp
lea rcx, [rbp + 0x2b0]
call fcn.140003630
nop
lea rax, [rbp + 0x290]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x17
lea r9, [rbp + 0x2b0]
mov r8d, 5
lea rdx, [rbp + 0x370]
mov rcx, rdi
call rsi
nop
mov rdx, qword [rbp + 0x2c8]
cmp rdx, 0x10
jb 0x140011f3c
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011f37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011f37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x2c0], xmm0
mov byte [rbp + 0x2b0], 0
mov rdx, qword [rbp + 0x2e8]
cmp rdx, 0x10
jb 0x140011f97
inc rdx
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011f92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011f92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x2e0], xmm0
mov byte [rbp + 0x2d0], 0
mov rdx, qword [rbp + 0x2a8]
cmp rdx, 0x10
jb 0x140011ff2
inc rdx
mov rcx, qword [rbp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011fed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011fed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x2a0], xmm0
mov byte [rbp + 0x290], 0
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14001203d
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001203d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x14001203d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x388]
cmp rdx, 0x10
jb 0x140012082
inc rdx
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001207c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001207c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov rax, rcx
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.140002d10
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor al, al
jmp 0x140012118
mov ebx, r12d
test rdi, rdi
je 0x140012116
mov rax, r12
nop dword [rax]
nop dword [rax + rax]
lea rdx, [r14 + rax]
mov r8d, edi
sub r8d, ebx
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x44]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140012544
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140012143
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x1400120e0
mov al, 1
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140047d70
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rax, [0x1400dd080]
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 0x80
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xb0], r15
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0x120], r12
mov dword [rbp + 0x128], 4
lea rdx, str.Read_zero_bytes__stopping_read
lea rcx, [rbp + 0xb0]
call fcn.1400020e0
lea rcx, [rbp + 0x70]
call sub.Common_HvdAgent.dll_class_std::shared_ptr_class_CSF::csflogger::LogController____cdecl_VirtualChannelLogger_getInstance_void_
cmp qword [rax], 0
je 0x140012211
cmp qword [0x140118a70], 0
je 0x140012211
mov dil, 1
jmp 0x140012214
xor dil, dil
mov r14, 0xffffffffffffffff
mov rbx, qword [rbp + 0x78]
test rbx, rbx
je 0x14001224f
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001224f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001224f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
test dil, dil
je 0x1400124e9
mov rcx, qword [0x140118a70]
call qword [sym.imp.uvdilogger.dll_CSFLogger_getName]
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x3a0], xmm0
mov byte [rbp + 0x390], 0
mov r8, r14
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140012280
mov rdx, rax
lea rcx, [rbp + 0x390]
call fcn.140003630
nop
lea rcx, [rbp + 0x80]
call sub.Common_HvdAgent.dll_class_std::shared_ptr_class_CSF::csflogger::LogController____cdecl_VirtualChannelLogger_getInstance_void_
nop
mov rsi, qword [rax]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x38]
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0xb0]
call fcn.140006c50
mov rbx, rax
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x320], xmm0
mov byte [rbp + 0x310], 0
mov r8d, 0x19
lea rdx, str.DcvPipeWin::readFromStdin
lea rcx, [rbp + 0x310]
call fcn.140003630
nop
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x300], xmm0
mov byte [rbp + 0x2f0], 0
mov r8d, 0x3e
lea rdx, str.src_virtualchannel_srccommondcvcommonWindowsDcvPipeWin.cpp
lea rcx, [rbp + 0x2f0]
call fcn.140003630
nop
mov qword [rsp + 0x30], rbx
lea rax, [rbp + 0x310]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2b
lea r9, [rbp + 0x2f0]
mov r8d, 2
lea rdx, [rbp + 0x390]
mov rcx, rsi
call rdi
nop
mov rdx, qword [rbp + 0x308]
cmp rdx, 0x10
jb 0x1400123a0
inc rdx
mov rcx, qword [rbp + 0x2f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001239b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001239b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x300], xmm0
mov byte [rbp + 0x2f0], 0
mov rdx, qword [rbp + 0x328]
cmp rdx, 0x10
jb 0x1400123fb
inc rdx
mov rcx, qword [rbp + 0x310]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400123f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400123f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x320], xmm0
mov byte [rbp + 0x310], 0
mov rdx, qword [rbp + 0x3e8]
cmp rdx, 0x10
jb 0x140012456
inc rdx
mov rcx, qword [rbp + 0x3d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012451
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012451
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x3e0], xmm0
mov byte [rbp + 0x3d0], 0
mov rbx, qword [rbp + 0x88]
test rbx, rbx
je 0x1400124a4
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400124a4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x1400124a4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x3a8]
cmp rdx, 0x10
jb 0x1400124e9
inc rdx
mov rcx, qword [rbp + 0x390]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400124e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400124e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xb0], r15
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov rax, rcx
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call fcn.140002d10
lea rcx, [rbp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor al, al
jmp 0x140012118
lea rax, [0x1400dd080]
mov qword [rbp + 0x1a0], rax
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 0x40
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x1a0], r15
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x19c], edx
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x1a8], rax
mov qword [rbp + 0x210], r12
mov dword [rbp + 0x218], 4
lea rdx, str.Could_not_read_from_handle:
lea rcx, [rbp + 0x1a0]
call fcn.1400020e0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rcx, [rbp + 0x90]
call sub.Common_HvdAgent.dll_class_std::shared_ptr_class_CSF::csflogger::LogController____cdecl_VirtualChannelLogger_getInstance_void_
cmp qword [rax], 0
je 0x140012629
cmp qword [0x140118a70], 0
je 0x140012629
mov dil, 1
jmp 0x14001262c
xor dil, dil
mov r14, 0xffffffffffffffff
mov rbx, qword [rbp + 0x98]
test rbx, rbx
je 0x14001266a
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001266a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001266a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
test dil, dil
je 0x140012909
mov rcx, qword [0x140118a70]
call qword [sym.imp.uvdilogger.dll_CSFLogger_getName]
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x3c0], xmm0
mov byte [rbp + 0x3b0], 0
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400126a0
mov rdx, rax
lea rcx, [rbp + 0x3b0]
call fcn.140003630
nop
lea rcx, [rbp + 0xa0]
call sub.Common_HvdAgent.dll_class_std::shared_ptr_class_CSF::csflogger::LogController____cdecl_VirtualChannelLogger_getInstance_void_
nop
mov rsi, qword [rax]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x38]
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0x1a0]
call fcn.140006c50
mov rbx, rax
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x360], xmm0
mov byte [rbp + 0x350], 0
mov r8d, 0x19
lea rdx, str.DcvPipeWin::readFromStdin
lea rcx, [rbp + 0x350]
call fcn.140003630
nop
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x340], xmm0
mov byte [rbp + 0x330], 0
mov r8d, 0x3e
lea rdx, str.src_virtualchannel_srccommondcvcommonWindowsDcvPipeWin.cpp
lea rcx, [rbp + 0x330]
call fcn.140003630
nop
mov qword [rsp + 0x30], rbx
lea rax, [rbp + 0x350]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x25
lea r9, [rbp + 0x330]
mov r8d, 2
lea rdx, [rbp + 0x3b0]
mov rcx, rsi
call rdi
nop
mov rdx, qword [rbp + 0x348]
cmp rdx, 0x10
jb 0x1400127c0
inc rdx
mov rcx, qword [rbp + 0x330]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400127bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400127bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x340], xmm0
mov byte [rbp + 0x330], 0
mov rdx, qword [rbp + 0x368]
cmp rdx, 0x10
jb 0x14001281b
inc rdx
mov rcx, qword [rbp + 0x350]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012816
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012816
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x360], xmm0
mov byte [rbp + 0x350], 0
mov rdx, qword [rbp + 0x408]
cmp rdx, 0x10
jb 0x140012876
inc rdx
mov rcx, qword [rbp + 0x3f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012871
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012871
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
movdqa xmm0, xmmword [0x1400dd280]
movdqu xmmword [rbp + 0x400], xmm0
mov byte [rbp + 0x3f0], 0
mov rbx, qword [rbp + 0xa8]
test rbx, rbx
je 0x1400128c4
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400128c4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x1400128c4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x3c8]
cmp rdx, 0x10
jb 0x140012909
inc rdx
mov rcx, qword [rbp + 0x3b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012903
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012903
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047a18
nop
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1a0], r15
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov rax, rcx
mov dword [rbp + rcx + 0x19c], edx
lea rcx, [rbp + 0x1a8]
call fcn.140002d10
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor al, al
jmp 0x140012118