Function at 0x140008440
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov r14, rdx
mov rbx, rcx
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul r15, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add r15, rax
mov qword [rbp + 0xd0], r15
mov byte [rbp + 0xc0], 0xf0
mov byte [rbx + 0xfc], 0xf0
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.14000f720
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x68], eax
movd eax, xmm0
cmp eax, 3
jne 0x1400084cd
mov byte [rbp + 0xc0], al
mov byte [rbx + 0xfc], 6
mov al, 6
jmp 0x1400084d4
movzx eax, byte [rbx + 0xfc]
lea rcx, str.nordic
lea rsi, [0x140013e10]
cmp al, 6
cmove rsi, rcx
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
mov rcx, rax
sub rcx, r15
add rcx, r8
movabs r13, 0x431bde82d7b634db
mov rax, r13
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str._started
call fcn.140001260
mov rcx, rax
mov rdx, rsi
call fcn.140001260
mov rcx, rax
lea rdx, str._pid
call fcn.140001260
lea rdx, [0x140007a70]
mov rcx, rax
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 edx, dword [rbx + 0x14]
mov rcx, rax
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___int____ptr64]
lea rdx, [0x140003090]
mov rcx, rax
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, str.__delays:_short
call fcn.140001260
cmp byte [rbx + 0xfc], 6
jne 0x1400085bf
movups xmm0, xmmword [rbx + 0x118]
movsd xmm1, qword [rbx + 0x128]
jmp 0x1400085ce
movups xmm0, xmmword [rbx + 0x100]
movsd xmm1, qword [rbx + 0x110]
movsd qword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x40], xmm0
mov rdx, qword [rsp + 0x40]
mov rcx, rax
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str.ms__medium
call fcn.140001260
cmp byte [rbx + 0xfc], 6
jne 0x140008610
movups xmm0, xmmword [rbx + 0x118]
movsd xmm1, qword [rbx + 0x128]
jmp 0x14000861f
movups xmm0, xmmword [rbx + 0x100]
movsd xmm1, qword [rbx + 0x110]
movsd qword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x40], xmm0
mov rdx, qword [rsp + 0x48]
mov rcx, rax
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str.ms__long
call fcn.140001260
cmp byte [rbx + 0xfc], 6
jne 0x140008661
movups xmm0, xmmword [rbx + 0x118]
movsd xmm1, qword [rbx + 0x128]
jmp 0x140008670
movups xmm0, xmmword [rbx + 0x100]
movsd xmm1, qword [rbx + 0x110]
movsd qword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x40], xmm0
mov rdx, qword [rsp + 0x50]
mov rcx, rax
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140013e14]
call fcn.140001260
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400086b5
mov rcx, qword [r14]
xor r12d, r12d
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r12 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400105c0
nop
lea rcx, [rbp - 0x80]
call fcn.1400105f0
test al, al
jne 0x1400087b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rbx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
sub rcx, r15
add rcx, r8
mov rax, r13
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str._Failed_to_open_file
call fcn.140001430
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 8
jb 0x140008774
mov r14, qword [r14]
mov rdx, r14
mov rcx, rax
call fcn.140001760
lea rdx, str._gle
mov rcx, rax
call fcn.140001430
mov edx, edi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
lea rdx, [0x140001cd0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor r14b, r14b
jmp 0x140009681
lea rcx, [rbp - 0x80]
call fcn.140010600
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov qword [rbp - 0x58], rdi
lea rcx, [rbp - 0x80]
call fcn.140010600
mov rcx, rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400105c0
nop
lea rcx, [rbp - 0x78]
call fcn.1400105f0
test al, al
jne 0x140008865
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rbx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
sub rcx, r15
add rcx, r8
mov rax, r13
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_long___int64_____ptr64]
lea rdx, str._Failed_to_create_file_mapping._gle
jmp 0x1400088e9
lea rcx, [rbp - 0x78]
call fcn.140010600
mov rcx, rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbp - 0x50], rax
test rax, rax
jne 0x14000891d
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rbx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
sub rcx, r15
add rcx, r8
mov rax, r13
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_long___int64_____ptr64]
lea rdx, str._Failed_to_map_view_of_file._gle
mov rcx, rax
call fcn.140001430
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_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140001cd0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor r14b, r14b
jmp 0x140009677
mov qword [rbp + 0x50], rax
xor edx, edx
mov rcx, rbx
call fcn.1400030e0
mov rcx, r12
test dil, dil
setne cl
mov rax, rdi
shr rax, 8
add rcx, rax
mov qword [rbp - 0x48], rcx
mov edx, 3
mov rcx, rbx
call fcn.1400030e0
mov rcx, rbx
call fcn.140008010
lea rdx, [rsp + 0x40]
mov rcx, rbx
cmp eax, 3
jge 0x14000896d
mov r8d, dword [rbx + 0xb0]
jmp 0x140008974
mov r8d, dword [rbx + 0xac]
call fcn.140007370
nop
mov rax, qword [rsp + 0x48]
mov r13, qword [rsp + 0x40]
cmp byte [rbx + 0xfc], 6
je 0x140008c99
mov esi, 5
mov r14, rax
sub r14, r13
nop dword [rax]
dec esi
cmp esi, 4
jge 0x140008a30
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
mov rcx, rax
sub rcx, r15
add rcx, r8
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str._SC_EraseStorage._Retries_left:
call fcn.140001260
mov edx, esi
mov rcx, rax
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___int____ptr64]
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rsp + 0x48]
cmp r13, rax
jne 0x140008a74
lea rdx, str.Report_is_empty_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001260
mov edx, 7
mov rcx, rax
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___int____ptr64]
mov edx, 0xc
mov rcx, rax
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___int____ptr64]
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14 + r13 - 0x3e], xmm0
movups xmmword [r14 + r13 - 0x2e], xmm0
movups xmmword [r14 + r13 - 0x1e], xmm0
mov qword [r14 + r13 - 0xe], rax
mov dword [r14 + r13 - 6], eax
mov word [r14 + r13 - 2], ax
mov word [r14 + r13 - 0x40], 0xc07
movzx eax, byte [rbx + 0xfc]
mov byte [r14 + r13 - 0x3e], al
mov byte [r14 + r13 - 0x3d], 1
mov r8, r14
mov rdx, r13
mov rcx, rbx
call fcn.1400096b0
test al, al
jne 0x140008b97
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, 0x3b9aca00
add rcx, rax
mov qword [rbp + 0xc8], rcx
lea rcx, [rbp + 0xc8]
call fcn.140006990
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
sub rcx, r15
add rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str._SC_EraseStorage_setReport_failed_gle
call fcn.140001260
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
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_int____ptr64]
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140008c27
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov ecx, 0xb2d05e00
add rcx, rax
mov qword [rbp + 0xc8], rcx
lea rcx, [rbp + 0xc8]
call fcn.140006990
mov rcx, rbx
call fcn.140007b30
test al, al
jne 0x140008c36
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, 0x3b9aca00
add rcx, rax
mov qword [rbp + 0xc8], rcx
lea rcx, [rbp + 0xc8]
call fcn.140006990
test esi, esi
mov rax, qword [rsp + 0x48]
jg 0x1400089a0
dec esi
test esi, esi
jns 0x140008c99
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
sub rcx, r15
add rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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___long_long___int64_____ptr64]
lea rdx, str._SC_EraseStorage._Storage_status_is_not_OK._Max_try_reached
jmp 0x1400091b5
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, 0x3b9aca00
add rcx, rax
mov qword [rbp + 0xc8], rcx
lea rcx, [rbp + 0xc8]
call fcn.140006990
mov edx, 5
mov rcx, rbx
call fcn.1400030e0
mov r14d, 6
mov rsi, r12
mov qword [rbp + 0xd8], r12
mov eax, r12d
cmp byte [rbx + 0xfc], r14b
setne al
mov dword [rbp + 0xc8], eax
mov rdi, qword [rbp - 0x50]
mov qword [rsp + 0x70], rdi
mov eax, 0x100
dec r14d
cmp rsi, qword [rbp - 0x48]
jae 0x140009529
cmp r14d, 5
jge 0x140008e34
cmp byte [rbx + 0xfc], 6
jne 0x140008d42
movsd xmm1, qword [rbx + 0x128]
jmp 0x140008d4a
movsd xmm1, qword [rbx + 0x110]
movsd qword [rbp - 0x30], xmm1
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
imul rcx, qword [rbp - 0x30], 0xf4240
add rcx, rax
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x58]
call fcn.140006990
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
sub rcx, r15
add rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str._SC_ReadWriteStorage._Retries_left:
call fcn.140001260
mov edx, r14d
mov rcx, rax
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___int____ptr64]
mov rcx, rax
lea rdx, str._Page
call fcn.140001260
mov rdx, rsi
mov rcx, rax
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]
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdi, qword [rsp + 0x70]
mov eax, 0x100
mov r15, qword [rbp - 0x58]
sub r15, r12
cmp r15, rax
cmova r15, rax
mov r8, r15
mov rdx, rdi
mov rcx, rbx
call fcn.140009a10
test al, al
jne 0x140008ed9
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
mov rcx, rax
mov r15, qword [rbp + 0xd0]
sub rcx, r15
add rcx, r8
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str._writeDeviceBuffer_failed
call fcn.140001260
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14000945a
mov rdi, qword [rsp + 0x48]
cmp r13, rdi
jne 0x140008f22
lea rdx, str.Report_is_empty_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001260
mov edx, 7
mov rcx, rax
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___int____ptr64]
mov edx, 0xd
mov rcx, rax
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___int____ptr64]
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r12, rdi
sub r12, r13
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r12 + r13 - 0x3e], xmm0
movups xmmword [r12 + r13 - 0x2e], xmm0
movups xmmword [r12 + r13 - 0x1e], xmm0
mov qword [r12 + r13 - 0xe], rax
mov dword [r12 + r13 - 6], eax
mov word [r12 + r13 - 2], ax
mov word [r12 + r13 - 0x40], 0xd07
movzx eax, byte [rbx + 0xfc]
mov byte [r12 + r13 - 0x3e], al
mov byte [r12 + r13 - 0x3d], 0
cmp r15, 0x100
jae 0x140008f78
mov word [r12 + r13 - 0x3c], r15w
cmp byte [rbx + 0xfc], 6
jne 0x140008f87
mov word [r12 + r13 - 0x3c], r15w
movzx eax, word [rbp + 0xc8]
add ax, si
mov word [r12 + r13 - 0x3a], ax
movzx eax, byte [rbx + 0xfc]
cmp r14d, 5
jge 0x140008ff1
cmp al, 6
jne 0x140008fb2
movsd xmm1, qword [rbx + 0x128]
jmp 0x140008fba
movsd xmm1, qword [rbx + 0x110]
movsd qword [rbp - 0x18], xmm1
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
imul rcx, qword [rbp - 0x18], 0xf4240
jmp 0x140009039
cmp al, 6
jne 0x140008ffe
movups xmm0, xmmword [rbx + 0x118]
jmp 0x140009005
movups xmm0, xmmword [rbx + 0x100]
movups xmmword [rbp - 0x10], xmm0
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
imul rcx, qword [rbp - 0x10], 0xf4240
add rcx, rax
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x58]
call fcn.140006990
mov esi, 3
dec esi
cmp esi, 2
jge 0x1400090dc
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
sub rcx, qword [rbp + 0xd0]
add rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str._reopenDevices._Retries_left:
call fcn.140001260
mov edx, esi
mov rcx, rax
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___int____ptr64]
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test al, al
jne 0x1400091d5
cmp byte [rbx + 0xfc], 6
jne 0x140009100
movsd xmm1, qword [rbx + 0x128]
jmp 0x140009108
movsd xmm1, qword [rbx + 0x110]
movsd qword [rbp + 0x18], xmm1
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
imul rcx, qword [rbp + 0x18], 0xf4240
add rcx, rax
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x58]
call fcn.140006990
test esi, esi
jg 0x140009050
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
sub rcx, qword [rbp + 0xd0]
add rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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___long_long___int64_____ptr64]
lea rdx, str.Failed_to_reopen.
mov rcx, rax
call fcn.140001260
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor r14b, r14b
jmp 0x14000962e
mov r8, r12
mov rdx, r13
mov rcx, rbx
call fcn.1400096b0
test al, al
jne 0x140009287
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
mov rcx, rax
mov r15, qword [rbp + 0xd0]
sub rcx, r15
add rcx, r8
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str._SC_ReadWriteStorage._setReport_failed_gle
call fcn.140001260
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
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_int____ptr64]
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rsi, qword [rbp + 0xd8]
jmp 0x140009455
mov rsi, qword [rbp + 0xd8]
cmp r14d, 5
jl 0x1400092e8
test rsi, rsi
je 0x1400092e8
cmp byte [rbx + 0xfc], 6
jne 0x1400092ab
movups xmm0, xmmword [rbx + 0x118]
jmp 0x1400092b2
movups xmm0, xmmword [rbx + 0x100]
movups xmmword [rbp + 0x20], xmm0
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
imul rcx, qword [rbp + 0x20], 0xf4240
jmp 0x140009338
cmp byte [rbx + 0xfc], 6
jne 0x1400092fb
movsd xmm1, qword [rbx + 0x128]
jmp 0x140009303
movsd xmm1, qword [rbx + 0x110]
movsd qword [rbp + 0x48], xmm1
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
imul rcx, qword [rbp + 0x48], 0xf4240
add rcx, rax
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x58]
call fcn.140006990
mov rcx, rbx
call fcn.140007b30
test al, al
jne 0x14000946d
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
mov r15, qword [rbp + 0xd0]
sub rcx, r15
add rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str._SC_ReadWriteStorage._Storage_status_is_not_OK.
call fcn.140001260
mov rcx, rax
lea rdx, str.gle
call fcn.140001260
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
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_int____ptr64]
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp byte [rbx + 0xfc], 6
jne 0x140009408
movups xmm0, xmmword [rbx + 0x118]
jmp 0x14000940f
movups xmm0, xmmword [rbx + 0x100]
movups xmmword [rbp - 0x70], xmm0
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
imul rcx, qword [rbp - 0x70], 0xf4240
add rcx, rax
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x58]
call fcn.140006990
mov r12, qword [rsp + 0x78]
test r14d, r14d
jle 0x140009526
mov rdi, qword [rsp + 0x70]
jmp 0x140008d13
cmp byte [rbx + 0xfc], 6
jne 0x1400094d6
movups xmm0, xmmword [rbx + 0x118]
movups xmmword [rsp + 0x58], xmm0
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
movups xmm0, xmmword [rsp + 0x58]
psrldq xmm0, 8
movq rcx, xmm0
imul rdx, rcx, 0xf4240
add rdx, rax
mov qword [rbp + 0xd8], rdx
lea rcx, [rbp + 0xd8]
call fcn.140006990
inc rsi
mov qword [rbp + 0xd8], rsi
mov rdi, qword [rsp + 0x70]
add rdi, 0x100
mov qword [rsp + 0x70], rdi
mov r12, qword [rsp + 0x78]
add r12, r15
mov qword [rsp + 0x78], r12
mov r14d, 6
lea eax, [r12 + r12*4]
shl eax, 4
cdq
idiv dword [rbp - 0x58]
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.1400030e0
mov r15, qword [rbp + 0xd0]
jmp 0x140008d13
dec r14d
test r14d, r14d
js 0x140009626
mov edx, 0x5f
mov rcx, rbx
call fcn.1400030e0
cmp byte [rbx + 0xfc], 6
jne 0x140009551
movups xmm0, xmmword [rbx + 0x118]
jmp 0x140009558
movups xmm0, xmmword [rbx + 0x100]
movups xmmword [rbp - 0x70], xmm0
mov rax, qword [rbp - 0x68]
mov qword [rbp + 0xc8], rax
lea rcx, [rbp + 0xc8]
call fcn.140006930
mov r9b, 2
mov r8b, 7
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140007a90
movzx ecx, byte [rbp + 0xc0]
mov byte [rax + 2], cl
mov r8, qword [rsp + 0x48]
mov r13, qword [rsp + 0x40]
sub r8, r13
mov rdx, r13
mov rcx, rbx
call fcn.1400096b0
test al, al
jne 0x140009619
lea rcx, [rbp + 0xc0]
call fcn.140007fc0
mov rcx, qword [rax]
sub rcx, r15
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str._ResetDevice._setReport_failed_gle
call fcn.140001260
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
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_int____ptr64]
lea rdx, [0x140001c90]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 0x64
mov rcx, rbx
call fcn.1400030e0
shr r14d, 0x1f
xor r14b, 1
test r13, r13
je 0x14000966c
mov rdx, qword [rsp + 0x50]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x140009663
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009663
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.140010640
nop
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
lea rcx, [rbp - 0x78]
call fcn.1400105d0
nop
lea rcx, [rbp - 0x80]
call fcn.1400105d0
movzx eax, r14b
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret