Function at 0x14000a200
Capabilities:
Check if file exists
Get file size
Move file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x14003d1c0]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov qword [rbp - 0x60], r8
mov r13, rdx
mov qword [rbp - 0x58], rdx
mov r12, rcx
mov dword [rsp + 0x70], 0
call fcn.140006f00
test al, al
jne 0x14000ae76
mov rcx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x14000a262
mov rcx, qword [r12]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000ae6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000ae6d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xa00000
ja 0x14000ae6d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
mov rbx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x14000a2ea
mov rbx, qword [r12]
lea rax, [0x140031010]
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x160]
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 + 0x70], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_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 rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc0]
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_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xc0], rax
mov byte [rbp + 0x13c], 0
mov byte [rbp + 0x131], 0
lea rcx, [rbp + 0xc0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x140], 0
mov rax, qword [0x140040c78]
mov qword [rbp + 0x134], rax
mov qword [rbp + 0x128], 0
mov r8d, 0x21
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.14000b180
test rax, rax
jne 0x14000a3f2
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xb0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
cmp qword [rbp + 0x140], 0
je 0x14000adab
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x50], rax
mov word [rsp + 0x58], 1
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0xf8]
mov qword [rbp - 0x80], rax
test rax, rax
sete byte [rbp - 0x78]
mov byte [rbp - 0x77], 0
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], 0
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x60], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x50], xmm1
movzx esi, byte [rsp + 0x59]
mov rbx, qword [rsp + 0x50]
movzx r15d, byte [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
test rax, rax
jne 0x14000a4ba
movzx r14d, byte [rsp + 0x58]
jmp 0x14000a4d7
test rbx, rbx
je 0x14000a4d2
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x14000a4d2
movzx esi, al
jmp 0x14000a4d4
xor ebx, ebx
mov r14b, 1
test r15b, r15b
jne 0x14000a4f4
test rdi, rdi
je 0x14000a4ef
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
jne 0x14000a4f1
xor edi, edi
mov r15b, 1
test rbx, rbx
jne 0x14000a615
test rdi, rdi
jne 0x14000a61e
lea rcx, [rbp + 0xc0]
call fcn.1400095a0
test rax, rax
jne 0x14000a539
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xb0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x58], xmm1
xor r8d, r8d
lea rdx, [0x140030e3a]
lea rcx, [rbp + 0x48]
call fcn.140005f00
nop
lea rax, [rbp - 0x50]
mov qword [rsp + 0x60], rax
mov r15, qword [rbp - 0x60]
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140005120
mov rdi, rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rax
mov r8, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
sub r8, rdx
mov eax, 0xa
cmp r8, rax
cmova r8, rax
lea rcx, [rbp - 0x80]
call fcn.140004310
mov rbx, rax
mov rdx, r13
lea rcx, [rbp - 0x30]
call fcn.140005120
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.140003ef0
nop
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140007b70
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x14000a691
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a68c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a68c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rdi, rdi
jne 0x14000a506
test r14b, r14b
jne 0x14000a63d
test rbx, rbx
je 0x14000a63b
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x14000a63b
movzx esi, al
jmp 0x14000a63d
xor ebx, ebx
mov byte [rsp + 0x40], sil
mov rax, qword [rbp + 0x38]
cmp rax, qword [rbp + 0x40]
je 0x14000a655
mov byte [rax], sil
inc qword [rbp + 0x38]
jmp 0x14000a667
lea r8, [rsp + 0x40]
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x30]
call fcn.14000b6a0
test rbx, rbx
je 0x14000a4d2
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, 0xffffffff
je 0x14000a4d2
mov byte [rsp + 0x58], 0
jmp 0x14000a4ba
call fcn.140026784
mov r8d, 1
lea rdx, [0x140031028]
lea rcx, [rbp + 0x48]
call fcn.140005ae0
mov rsi, qword [rbp + 0x38]
mov rax, rsi
mov r14, qword [rbp + 0x30]
sub rax, r14
movabs r13, 0x7fffffffffffffff
cmp rax, 0xa
jbe 0x14000ab1d
add r14, 0xa
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 0
mov rdi, rsi
sub rdi, r14
je 0x14000a757
cmp rdi, r13
ja 0x14000aea6
cmp rdi, 0x1000
jb 0x14000a723
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14000aeac
call fcn.140026740
test rax, rax
je 0x14000a71c
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000a72e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140026740
mov rbx, rax
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
lea rcx, [rbx + rdi]
mov qword [rbp - 0x70], rcx
sub rsi, r14
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x68]
call fcn.14000a020
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000a7b2
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a79d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a79d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140026784
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 0
mov rsi, qword [rbp + 0x68]
mov r15, qword [rbp + 0x70]
cmp rsi, r15
je 0x14000a93f
movabs rcx, 0x47ae147ae147ae15
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
imul r14, rax, 0x19
mov rax, rcx
mul r14
sub r14, rdx
shr r14, 1
add r14, rdx
shr r14, 6
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x30]
call fcn.140005120
mov rdi, rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rdx
mov r8d, r14d
cmp r14, rcx
cmovae r8d, ecx
lea rcx, [rbp - 0x10]
call fcn.140004310
mov rbx, rax
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.140005120
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140003ef0
nop
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140007b70
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000a896
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a891
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a9a5
call fcn.140026784
mov r8d, 1
lea rdx, [0x140031028]
lea rcx, [rbp + 0x48]
call fcn.140005ae0
mov rax, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rax
cmp r14, r8
jae 0x14000a914
sub r8d, r14d
lea rdx, [rax + r14]
lea rcx, [rbp - 0x50]
call fcn.140004310
nop
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140007b70
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000a914
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a90f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a9ac
call fcn.140026784
mov r8d, 1
lea rdx, [0x140031028]
lea rcx, [rbp + 0x48]
call fcn.140005ae0
add rsi, 0x18
cmp rsi, r15
jne 0x14000a7c3
mov r15, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x68]
test rsi, rsi
je 0x14000a9bb
mov rdx, r15
mov rcx, rsi
call fcn.14000b2c0
mov rcx, qword [rbp + 0x78]
mov r8, qword [rbp + 0x68]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x14000a9b3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a9b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r8
call fcn.140026784
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1c0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x32
mov rdx, r12
lea rcx, [rbp + 0x1c0]
call fcn.14000af80
nop
cmp qword [rbp + 0x248], 0
je 0x14000ac4c
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0xf
cmova rdx, qword [rbp + 0x48]
mov r8, qword [rbp + 0x58]
lea rcx, [rbp + 0x1c0]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x1c8]
call fcn.1400095a0
test rax, rax
jne 0x14000aa45
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, qword [r12 + 0x10]
mov rdx, qword [0x14003d258]
sub r13, rcx
cmp r13, rdx
jb 0x14000aea0
mov r9, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x14000aa6c
mov r9, qword [r12]
lea rax, str..axey
cmp qword [0x14003d260], 0xf
cmova rax, qword [str..axey]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, r12
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x88]
call fcn.140006550
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0xf
cmova rdx, qword [rbp + 0x88]
cmp qword [r12 + 0x18], 0xf
jbe 0x14000aac9
mov r12, qword [r12]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x14000ac35
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ac30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ac30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
mov rdx, r15
lea rcx, [rbp + 0x10]
call fcn.140005120
mov rdi, rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x60], rax
mov r8, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
sub r8, rdx
lea rcx, [rbp - 0x10]
call fcn.140004310
mov rbx, rax
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x30]
call fcn.140005120
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140003ef0
mov rbx, rax
lea rax, [rbp + 0x48]
cmp rax, rbx
je 0x14000abeb
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x14000abb8
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000abb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ac29
call fcn.140026784
movdqa xmm0, xmmword [0x140031700]
movdqu xmmword [rbp + 0x58], xmm0
mov byte [rbp + 0x48], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x58], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000a9bb
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a9b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a9b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140026784
movdqa xmm0, xmmword [0x140031700]
movdqu xmmword [rbp + 0x98], xmm0
mov byte [rbp + 0x88], 0
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1bc], edx
lea rbx, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x1c8], rbx
cmp qword [rbp + 0x248], 0
je 0x14000accf
mov rax, qword [rbp + 0x1e0]
lea rcx, [rbp + 0x238]
cmp qword [rax], rcx
jne 0x14000accf
mov rdx, qword [rbp + 0x258]
mov rcx, qword [rbp + 0x250]
mov qword [rax], rcx
mov rax, qword [rbp + 0x200]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x218]
mov dword [rax], edx
cmp byte [rbp + 0x244], 0
je 0x14000ace4
lea rcx, [rbp + 0x1c8]
call fcn.1400095a0
lea rcx, [rbp + 0x1c8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x1d0]
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 + 0x268]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x14000ad4b
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ad46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ad46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140026784
movdqa xmm0, xmmword [0x140031700]
movdqu xmmword [rbp + 0x58], xmm0
mov byte [rbp + 0x48], 0
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14000adb2
mov rdx, qword [rbp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ad94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ad94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140026784
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], 0
jmp 0x14000adb2
lea rbx, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
mov qword [rbp + 0xc0], rbx
cmp qword [rbp + 0x140], 0
je 0x14000ae2e
mov rax, qword [rbp + 0xd8]
lea rcx, [rbp + 0x130]
cmp qword [rax], rcx
jne 0x14000ae2e
mov rdx, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x148]
mov qword [rax], rcx
mov rax, qword [rbp + 0xf8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x110]
mov dword [rax], edx
cmp byte [rbp + 0x13c], 0
je 0x14000ae43
lea rcx, [rbp + 0xc0]
call fcn.1400095a0
lea rcx, [rbp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14000ae76
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140026720
mov rbx, qword [rsp + 0x438]
add rsp, 0x3e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400016e0
nop
call fcn.140005b60
int3
call fcn.140001640
int3