Function at 0x1800d3520
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x180232200]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r14, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
cmp byte [0x18023a782], bl
jne 0x1800d357a
mov ecx, 0x202
lea rdx, [0x18023a790]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [0x18023a782], 1
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov qword [rsi + 0x18], rbx
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.18000d4c0
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.18013bdf0
nop
mov rax, qword [rbp + 0xa8]
sub rax, qword [rbp + 0xa0]
sar rax, 5
test rax, rax
je 0x1800d3a03
lea r13, [0x1801fb8b8]
mov qword [rsp + 0x50], r13
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 + 0x30], 4
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], rbx
mov dword [rbp - 0x38], 4
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xa0]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x1800d366a
lea rcx, [rbp + 0x60]
call fcn.18000d4c0
jmp 0x1800d3682
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1801fe540]
movdqu xmmword [rbp + 0x70], xmm1
mov byte [rbp + 0x60], 0
mov edx, 0x10
lea rcx, [rsp + 0x38]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov rdi, rax
lea rdx, [0x180028990]
lea rcx, [rsp + 0x50]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x180051f50]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov rdx, rsi
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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x180051e70]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0x20
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
lea rdx, [0x180051ea0]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x1801dc098]
call fcn.18001ba20
mov rcx, rax
lea rdx, str.CNTV2DriverInterface::OpenRemote
call fcn.18001ba20
mov rcx, rax
lea rdx, [0x1801d8bb8]
call fcn.18001ba20
mov rcx, rax
lea rdx, str.Bad_device_specification_
call fcn.18001ba20
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1800d3765
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.18001c1c0
lea rdx, [0x1801e870c]
mov rcx, rax
call fcn.18001ba20
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0x70]
mov rcx, rax
call fcn.18001c1c0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1800d37da
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d37d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d37d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180187890
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1801fe540]
movdqu xmmword [rbp + 0x70], xmm1
mov byte [rbp + 0x60], 0
mov dword [rsp + 0x30], 0xe
movups xmmword [rsp + 0x38], xmm0
mov ecx, dword [rbp - 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800d3852
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 0x1800d384f
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov rdi, 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 rbx, rax
cmp rax, qword [rbp - 0x40]
cmovb rbx, qword [rbp - 0x40]
sub rbx, rdi
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
jmp 0x1800d3892
mov ecx, dword [rbp - 0x38]
test cl, 4
jne 0x1800d3888
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 0x1800d3888
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov rdi, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rbx, rax
sub rbx, rdi
jmp 0x1800d3892
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1800d38a7
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.180012bb0
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xff
lea r8, str.D:_aobs_depsobs_depswindows_build_templibajantv2_ajantv2_src_ntv2driverinterface.cpp
mov edx, 3
mov ecx, 0x26
call fcn.1800ca440
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1800d390c
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d3906
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d3906
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180187890
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 dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.18001ad60
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 bl, bl
mov r8, qword [rbp + 0xc8]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0xc8]
call fcn.180015f60
mov edx, 0x60
mov rcx, qword [rbp + 0xc8]
call fcn.180187890
mov r8, qword [rbp + 0xb8]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.180015f60
mov edx, 0x60
mov rcx, qword [rbp + 0xb8]
call fcn.180187890
lea rcx, [rbp + 0xa0]
call fcn.18002c590
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x1800d46ab
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d46a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d46a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x80]
call fcn.1800d1f80
test al, al
je 0x1800d405f
lea rcx, [rbp + 0xe0]
call fcn.18006c530
nop
mov r13, qword [rbp + 0xb8]
mov rbx, qword [r13 + 8]
mov r12, r13
lea rcx, [0x18022e338]
mov r8, qword [0x18022e350]
mov r15, qword [0x18022e348]
mov r9, qword [0x18022e338]
cmp byte [rbx + 0x19], 0
jne 0x1800d3abb
mov rdi, rbx
lea r13, [0x18022e338]
nop
mov rdx, r13
cmp r8, 0xf
cmova rdx, r9
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 0xf
jbe 0x1800d3a7a
mov rcx, qword [rdi + 0x20]
mov r14, qword [rdi + 0x30]
mov r8, r14
cmp r15, r14
cmovb r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800d3af9
js 0x1800d3afe
mov r12, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
mov r8, qword [0x18022e350]
mov r9, qword [0x18022e338]
je 0x1800d3a60
mov r13, qword [rbp + 0xb8]
lea rcx, [0x18022e338]
cmp byte [r12 + 0x19], 0
jne 0x1800d3b09
lea rdx, [r12 + 0x20]
cmp qword [r12 + 0x38], 0xf
jbe 0x1800d3ad5
mov rdx, qword [r12 + 0x20]
cmp r8, 0xf
cmova rcx, r9
mov rdi, qword [r12 + 0x30]
mov r8, r15
cmp rdi, r15
cmovb r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800d3b04
js 0x1800d3b09
jmp 0x1800d3b0c
cmp r14, r15
jae 0x1800d3a93
mov rdi, qword [rdi + 0x10]
jmp 0x1800d3a99
cmp r15, rdi
jae 0x1800d3b0c
mov r12, r13
cmp r12, r13
je 0x1800d3b31
lea rcx, [rbp + 0x80]
call fcn.18013cc30
mov rcx, rax
lea rdx, [rbp + 0xe0]
call fcn.18006a040
jmp 0x1800d3ce6
mov r15, r13
mov r12, qword [0x18022e370]
mov r14, qword [0x18022e368]
mov r8, qword [0x18022e358]
cmp byte [rbx + 0x19], 0
jne 0x1800d3b9a
nop
lea rdx, [0x18022e358]
cmp r12, 0xf
cmova rdx, r8
lea rcx, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x1800d3b6e
mov rcx, qword [rbx + 0x20]
mov rdi, qword [rbx + 0x30]
mov r8, rdi
cmp r14, rdi
cmovb r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800d3bda
js 0x1800d3bdf
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
mov r8, qword [0x18022e358]
je 0x1800d3b50
cmp byte [r15 + 0x19], 0
jne 0x1800d3bea
lea rdx, [r15 + 0x20]
cmp qword [r15 + 0x38], 0xf
jbe 0x1800d3bb0
mov rdx, qword [r15 + 0x20]
lea rcx, [0x18022e358]
cmp r12, 0xf
cmova rcx, r8
mov rbx, qword [r15 + 0x30]
mov r8, r14
cmp rbx, r14
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800d3be5
js 0x1800d3bea
jmp 0x1800d3bed
cmp rdi, r14
jae 0x1800d3b87
mov rbx, qword [rbx + 0x10]
jmp 0x1800d3b8d
cmp r14, rbx
jae 0x1800d3bed
mov r15, r13
lea rcx, [rbp + 0xb8]
cmp r15, r13
je 0x1800d3c2e
lea r8, [0x18022e358]
lea rdx, [rbp + 0x60]
call fcn.1801440d0
mov r14d, 0x1800
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x60]
call fcn.18006a2e0
nop
lea rcx, [rbp + 0x60]
call fcn.18000d420
jmp 0x1800d3ceb
lea r8, [0x18022e378]
lea rdx, [rbp + 0x60]
call fcn.180052080
mov rbx, qword [rbp + 0x70]
cmp byte [rbx + 0x19], 0
jne 0x1800d3c63
lea r8, [rbx + 0x20]
lea rdx, [0x18022e378]
lea rcx, [rbp + 0xb8]
call fcn.18001c100
test al, al
je 0x1800d3c66
mov rbx, r13
cmp rbx, r13
je 0x1800d3c87
lea rcx, [rbp + 0x80]
call fcn.18013c800
mov ecx, eax
lea rdx, [rbp + 0xe0]
call fcn.18006a190
jmp 0x1800d3ce6
lea r8, [0x18022e318]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xb8]
call fcn.180052080
mov rbx, qword [rbp + 0x70]
cmp byte [rbx + 0x19], 0
jne 0x1800d3cc3
lea r8, [rbx + 0x20]
lea rdx, [0x18022e318]
lea rcx, [rbp + 0xb8]
call fcn.18001c100
test al, al
je 0x1800d3cc6
mov rbx, r13
cmp rbx, r13
je 0x1800d3ce6
lea rcx, [rbp + 0x80]
call fcn.18013ca70
movzx ecx, ax
lea rdx, [rbp + 0xe0]
call fcn.180069ac0
mov r14d, dword [rsp + 0x38]
cmp byte [rbp + 0xf0], 0
jne 0x1800d403b
lea r13, [0x1801fb8b8]
mov qword [rsp + 0x50], r13
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
bts r14d, 9
mov dword [rsp + 0x30], r14d
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], 0
mov dword [rbp - 0x38], 4
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.18013e8d0
mov r12, rax
mov edx, 0x10
lea rcx, [rsp + 0x38]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov rdi, rax
lea rdx, [0x180028990]
lea rcx, [rsp + 0x50]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x180051f50]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov rdx, rsi
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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x180051e70]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0x20
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
lea rdx, [0x180051ea0]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x1801dc098]
call fcn.18001ba20
mov rcx, rax
lea rdx, str.CNTV2DriverInterface::OpenRemote
call fcn.18001ba20
mov rcx, rax
lea rdx, [0x1801d8bb8]
call fcn.18001ba20
mov rcx, rax
lea rdx, str.Failed_to_open
call fcn.18001ba20
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1800d3e76
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.18001c1c0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1800d3ec3
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d3ebd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d3ebd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180187890
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1801fe540]
movdqu xmmword [rbp + 0x70], xmm1
mov byte [rbp + 0x60], 0
bts r14d, 8
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
mov ecx, dword [rbp - 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800d3f3d
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 0x1800d3f3a
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov rdi, 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 rbx, rax
cmp rax, qword [rbp - 0x40]
cmovb rbx, qword [rbp - 0x40]
sub rbx, rdi
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
jmp 0x1800d3f7d
mov ecx, dword [rbp - 0x38]
test cl, 4
jne 0x1800d3f73
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 0x1800d3f73
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov rdi, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rbx, rax
sub rbx, rdi
jmp 0x1800d3f7d
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1800d3f92
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.180012bb0
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x10d
lea r8, str.D:_aobs_depsobs_depswindows_build_templibajantv2_ajantv2_src_ntv2driverinterface.cpp
mov edx, 3
mov ecx, 0x26
call fcn.1800ca440
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1800d3ff7
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d3ff1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d3ff1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180187890
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 dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.18001ad60
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 bl, bl
jmp 0x1800d404e
mov rax, qword [rsi]
movzx edx, word [rbp + 0xe8]
mov rcx, rsi
call qword [rax + 0x50]
movzx ebx, al
lea rcx, [rbp + 0xe0]
call fcn.18006c6a0
jmp 0x1800d394e
lea r13, [0x1801fb8b8]
mov qword [rsp + 0x50], r13
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 + 0x30], 0x10
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], rbx
mov dword [rbp - 0x38], 4
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.18013e8d0
mov r12, rax
mov edx, 0x10
lea rcx, [rsp + 0x38]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov rdi, rax
lea rdx, [0x180028990]
lea rcx, [rsp + 0x50]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x180051f50]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov rdx, rsi
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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x180051e70]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0x20
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
lea rdx, [0x180051ea0]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x1801dc098]
call fcn.18001ba20
mov rcx, rax
lea rdx, str.CNTV2DriverInterface::OpenRemote
call fcn.18001ba20
mov rcx, rax
lea rdx, [0x1801d8bb8]
call fcn.18001ba20
mov rcx, rax
lea rdx, str.Opening
call fcn.18001ba20
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1800d41d7
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.18001c1c0
lea rdx, [0x1801e8768]
mov rcx, rax
call fcn.18001ba20
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1800d4233
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d422d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d422d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180187890
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1801fe540]
movdqu xmmword [rbp + 0x70], xmm1
mov byte [rbp + 0x60], 0
mov dword [rsp + 0x30], 0x50
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
mov ecx, dword [rbp - 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800d42b2
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 0x1800d42af
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov rdi, 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 rbx, rax
cmp rax, qword [rbp - 0x40]
cmovb rbx, qword [rbp - 0x40]
sub rbx, rdi
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
jmp 0x1800d42f2
mov ecx, dword [rbp - 0x38]
test cl, 4
jne 0x1800d42e8
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 0x1800d42e8
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov rdi, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rbx, rax
sub rbx, rdi
jmp 0x1800d42f2
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1800d4307
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.180012bb0
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x111
lea r8, str.D:_aobs_depsobs_depswindows_build_templibajantv2_ajantv2_src_ntv2driverinterface.cpp
mov edx, 7
mov ecx, 0x26
call fcn.1800ca440
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1800d436c
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d4366
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d4366
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180187890
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 dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.18001ad60
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]
lea rcx, [rbp + 0xb8]
call fcn.18013c1f0
mov qword [rsi + 0x18], rax
test rax, rax
je 0x1800d394c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x1a8]
test al, al
je 0x1800d43ed
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
jne 0x1800d43ed
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x1a8]
test al, al
je 0x1800d4435
mov dword [rsp + 0x20], 0
mov r9d, 0xffffffff
lea r8, [rsi + 0xc]
mov edx, 0x32
mov rcx, rsi
call fcn.1800cc0b0
test al, al
je 0x1800d4430
mov eax, dword [rsi + 0xc]
test eax, eax
je 0x1800d4430
cmp eax, 0xffffffff
je 0x1800d4430
mov al, 1
jmp 0x1800d4432
xor al, al
mov byte [rsi + 0x10], al
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x1a8]
test al, al
je 0x1800d4456
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
test al, al
jne 0x1800d467a
mov qword [rsp + 0x50], r13
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 + 0x30], 0x430
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]
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], 0
mov dword [rbp - 0x38], 4
mov edx, 0x10
lea rcx, [rsp + 0x38]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov rbx, rax
lea rdx, [0x180028990]
lea rcx, [rsp + 0x50]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x180051f50]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rbx + 8]
call qword [rbx]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov rdx, rsi
mov rcx, rdi
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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x180051e70]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0x20
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
lea rdx, [0x180051ea0]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x1801dc098]
call fcn.18001ba20
mov rcx, rax
lea rdx, str.CNTV2DriverInterface::OpenRemote
call fcn.18001ba20
mov rcx, rax
lea rdx, [0x1801d8bb8]
call fcn.18001ba20
mov rcx, rax
lea rdx, str.Failed_to_open_
call fcn.18001ba20
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1800d45af
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.18001c1c0
lea rdx, [0x1801aa3c4]
mov rcx, rax
call fcn.18001ba20
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.18001ae50
nop
mov qword [rsp + 0x20], rax
mov r9d, 0x11c
lea r8, str.D:_aobs_depsobs_depswindows_build_templibajantv2_ajantv2_src_ntv2driverinterface.cpp
mov edx, 3
mov ecx, 0x26
call fcn.1800ca440
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1800d463a
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d4634
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d4634
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180187890
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 dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.18001ad60
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]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x1a8]
test al, al
je 0x1800d394c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
test al, al
je 0x1800d394c
mov bl, 1
jmp 0x1800d394e
call fcn.180187890
movzx eax, bl
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.180187870
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret