Function at 0x140001370
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r14, qword [rdx + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1400013c2
movabs r15, 0x7fffffffffffffff
cmp rbx, r15
ja 0x140001af6
xor r13d, r13d
cmp rbx, 0xf
ja 0x14000140d
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 0xf
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x78], r13b
jmp 0x1400014a1
mov rdi, rbx
or rdi, 0xf
cmp rdi, r15
jbe 0x140001449
mov rdi, r15
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140003510
test rax, rax
je 0x140001ad1
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001483
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140001463
mov rsi, r13
jmp 0x140001483
cmp rcx, 0x1000
jb 0x14000147b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001aea
jmp 0x14000142a
call fcn.140003510
mov rsi, rax
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], r13b
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x68]
add rsi, rdx
lea rbx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rbx, qword [rbp - 0x78]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov eax, 0xa
movabs r14, 0x7ffffffffffffffe
mov qword [rsp + 0x78], r13
cmp rbx, rsi
jne 0x1400014f9
mov eax, 7
mov qword [rbp - 0x80], rax
mov word [rsp + 0x68], r13w
jmp 0x1400015f2
sub rsi, rbx
mov qword [rbp - 0x80], 7
cmp rsi, r14
ja 0x140001afc
mov edi, 7
cmp rsi, rdi
jbe 0x1400015a6
mov rdi, rsi
or rdi, 7
cmp rdi, r14
jbe 0x14000156f
mov rdi, r14
lea rcx, [r15 + r15]
cmp rcx, 0x1000
jb 0x140001596
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001b02
mov rcx, rax
call fcn.140003510
mov rcx, rax
test rax, rax
je 0x140001a80
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x80], rdi
jmp 0x1400015ab
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, r15
ja 0x140001b02
add rcx, rcx
jne 0x14000152e
mov rax, r13
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x80], rdi
jmp 0x1400015ab
call fcn.140003510
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x80], rdi
jmp 0x1400015ab
mov rax, qword [rsp + 0x68]
lea r8, [rsp + 0x68]
cmp rdi, 7
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x1400015e4
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x1400015d0
mov qword [rsp + 0x78], rsi
mov word [r8 + rsi*2], r13w
mov rax, qword [rbp - 0x80]
lea rcx, [rsp + 0x68]
cmp rax, 7
cmova rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000171f
lea rdx, str.Error_opening_file
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002d30
mov rcx, rax
lea rdx, [0x140002f10]
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]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14000169c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001697
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001a80
call fcn.14000354c
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400016ea
inc rdx
mov rcx, qword [rbp - 0x78]
mov r8, rcx
cmp rdx, 0x1000
jb 0x1400016e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140001ad1
call fcn.14000354c
mov eax, 1
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400034f0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r12, rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
movsxd rbx, dword [rax + 0x3c]
mov ecx, dword [rbx + rax + 8]
mov dword [rbp - 0x58], ecx
lea rdx, str.Pcasvc:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d30
mov rcx, rax
lea rdx, [0x140001290]
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
mov edx, dword [rbx + r15 + 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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140002f10]
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
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rdi, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
cmp rbx, r14
ja 0x140001ae4
cmp rbx, 7
ja 0x1400017fa
mov qword [rsp + 0x50], rbx
mov ebx, 7
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x40], xmm0
jmp 0x1400018ac
mov rax, rbx
or rax, 7
cmp rax, r14
jbe 0x140001848
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140001880
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001af0
mov rcx, rax
call fcn.140003510
mov rcx, rax
test rax, rax
je 0x140001879
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140001885
mov r14, rax
cmp rax, 0xa
mov eax, 0xa
cmovb r14, rax
lea rcx, [r14 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140001af0
add rcx, rcx
jne 0x140001814
mov rax, r13
jmp 0x140001885
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003510
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r14
lea r8, [rbx*2 + 2]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x40]
cmp rbx, 7
cmova rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.140002b00
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x34], edx
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
lea rcx, [rbp - 0x20]
call fcn.140002a40
test rax, rax
jne 0x14000193e
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rbx, qword [rbp - 0x48]
add rbx, qword [rbp - 0x50]
lea rdx, str.File_size:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d30
mov rcx, rax
mov rdx, 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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str._bytes
call fcn.140002d30
mov rcx, rax
lea rdx, [0x140002f10]
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]
nop
lea rcx, [rbp - 0x30]
call fcn.1400012b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400019d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000354c
lea rcx, [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__gmtime64]
mov qword [rbp - 0x50], rax
lea rax, str.__Y__m__d:_H:_M:_S_
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
inc rax
cmp byte [rax], 0
jne 0x1400019f1
mov qword [rbp - 0x40], rax
lea rdx, str.DPS:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d30
mov rcx, rax
lea rdx, [rbp - 0x50]
call fcn.140002f50
mov rcx, rax
lea rdx, [0x140002f10]
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, r15
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140001a8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000354c
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140001add
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ad8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ad8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000354c
xor eax, eax
jmp 0x1400016ef
call fcn.1400011b0
nop
call fcn.140001110
nop
call fcn.140001110
nop
call fcn.1400011b0
nop
call fcn.1400011b0
int3
call fcn.140001110
int3