Function at 0x140014980
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x398]
sub rsp, 0x458
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov r15, r8
mov r13, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rbp + 0x50], r12d
cmp dword [r8 + 0xe74], r12d
jle 0x140014a18
call fcn.1400162e0
mov rax, r14
jmp 0x140016212
mov rcx, r13
call qword [sym.imp.llama.dll_llama_get_model]
mov rcx, rax
call qword [sym.imp.llama.dll_llama_add_bos_token]
mov byte [rsp + 0x40], al
mov rcx, r13
call qword [sym.imp.llama.dll_llama_get_model]
mov rcx, rax
call qword [sym.imp.llama.dll_llama_add_eos_token]
test al, al
je 0x140014a65
lea r9, str._llama_add_eos_token_llama_get_model_ctx__
lea r8, str.GGML_ASSERT__s__failed
mov edx, 0x1c0
lea rcx, str.K:AIllama.cppexamplesperplexityperplexity.cpp
call qword [sym.imp.ggml_base.dll_ggml_abort]
int3
lea rax, [0x14007cf78]
mov qword [rbp + 0x160], rax
lea rcx, [rbp + 0x208]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov esi, 8
mov qword [rbp - 0x28], rsi
mov dword [rbp + 0x50], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x168]
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 + 0x168], rax
mov byte [rbp + 0x1e4], 0
mov byte [rbp + 0x1d9], 0
lea rcx, [rbp + 0x168]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x1e8], r12
mov rax, qword [0x14009b240]
mov qword [rbp + 0x1dc], rax
mov qword [rbp + 0x1d0], r12
cmp qword [r15 + 0xdb8], 0
je 0x140014cdf
lea rbx, [r15 + 0xda8]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140014b57
mov rdx, qword [rbx]
lea rdi, [r15 + 0xda8]
jmp 0x140014b5a
mov rdi, rbx
mov r9d, 0x40
mov r8d, 0x22
lea rcx, [rbp + 0x168]
call fcn.140014320
xor r8d, r8d
test rax, rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x160]
je 0x140014b99
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140014ba7
add rcx, rax
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]
cmp qword [rbp + 0x1e8], 0
jne 0x140014c76
cmp dword [0x14009b270], 0
jl 0x140014bed
cmp qword [rbx + 0x18], 0xf
jbe 0x140014bc8
mov rbx, qword [rbx]
call fcn.1400561f0
mov qword [rsp + 0x20], rbx
lea r9, str.perplexity
lea r8, str._s:_failed_to_open__s_for_writing_n
mov edx, 4
mov rcx, rax
call fcn.1400561d0
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], r12
mov qword [r14 + 0x28], r12
mov qword [r14 + 0x30], r12
mov qword [r14 + 0x38], r12
mov qword [r14 + 0x40], r12
mov qword [r14 + 0x48], r12
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x168]
call fcn.140007c20
lea rcx, [rbp + 0x170]
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 + 0x208]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r14
jmp 0x140016212
cmp dword [0x14009b270], 0
jl 0x140014cae
cmp qword [rdi + 0x18], 0xf
jbe 0x140014c89
mov rdi, qword [rdi]
call fcn.1400561f0
mov qword [rsp + 0x20], rdi
lea r9, str.perplexity
lea r8, str._s:_saving_all_logits_to__s_n
mov edx, 2
mov rcx, rax
call fcn.1400561d0
mov r8, rsi
lea rdx, str._logits_
lea rcx, [rbp + 0x160]
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]
mov r8d, 4
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0x160]
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 - 0x70]
call fcn.140014240
cmp dword [0x14009b270], 0
jl 0x140014d11
call fcn.1400561f0
mov rcx, rax
lea r9, str.perplexity
lea r8, str._s:_tokenizing_the_input_.._n
mov edx, 2
call fcn.1400561d0
lea r8, [r15 + 0xcc8]
mov byte [rsp + 0x20], 0
mov r9b, 1
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.14001e7f0
nop
lea rcx, [rsp + 0x78]
call fcn.140014240
mov eax, dword [0x14009b270]
test eax, eax
js 0x140014da2
mov rcx, qword [rsp + 0x78]
sub rcx, qword [rbp - 0x70]
movabs rax, 0x20c49ba5e353f7cf
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm6, xmm6
cvtsi2sd xmm6, rdx
mulsd xmm6, qword [0x14007e0a8]
call fcn.1400561f0
movsd qword [rsp + 0x20], xmm6
lea r9, str.perplexity
lea r8, str._s:_tokenization_took__g_ms_n
mov edx, 2
mov rcx, rax
call fcn.1400561d0
mov eax, dword [0x14009b270]
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rsp + 0x50]
sar rdx, 2
mov ebx, dword [rbp + 0x3b8]
lea edi, [rbx + rbx]
cmp edx, edi
jge 0x140014e73
test eax, eax
js 0x140014e29
call fcn.1400561f0
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
lea r9, str.perplexity
lea r8, str._s:_you_need_at_least__d_tokens_to_evaluate_perplexity_with_a_context_of__d_n
mov edx, 4
mov rcx, rax
call fcn.1400561d0
cmp dword [0x14009b270], 0
jl 0x140014e29
mov rbx, qword [rsp + 0x58]
sub rbx, qword [rsp + 0x50]
sar rbx, 2
call fcn.1400561f0
mov qword [rsp + 0x20], rbx
lea r9, str.perplexity
lea r8, str._s:_the_data_file_you_provided_tokenizes_to_only__zu_tokens_n
mov edx, 4
mov rcx, rax
call fcn.1400561d0
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], r12
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r12
mov qword [r14], rax
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rdx
mov qword [r14 + 0x18], r12
mov qword [r14 + 0x20], r12
mov qword [r14 + 0x28], r12
mov qword [r14 + 0x30], r12
mov qword [r14 + 0x38], r12
mov qword [r14 + 0x40], r12
mov qword [r14 + 0x48], r12
jmp 0x140014c16
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r12
lea rcx, [rbp + 0x98]
call fcn.1400175a0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r12
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rsp + 0x50]
sar rdx, 2
lea rcx, [rbp + 0x80]
call fcn.1400175a0
mov rax, qword [rsp + 0x58]
sub rax, qword [rsp + 0x50]
sar rax, 2
movsxd rcx, dword [rbp + 0x3b8]
xor edx, edx
div rcx
mov ecx, dword [r15 + 0x14]
test ecx, ecx
js 0x140014ee6
cmp eax, ecx
cmovl ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov r12d, dword [r15 + 8]
mov dword [rbp + 0x78], r12d
mov rcx, r13
call qword [sym.imp.llama.dll_llama_get_model]
mov rcx, rax
call qword [sym.imp.llama.dll_llama_n_vocab]
mov dword [rsp + 0x48], eax
xor esi, esi
mov dword [rbp - 0x78], esi
xorps xmm12, xmm12
movsd qword [rbp - 0x60], xmm12
movsd qword [rbp - 0x68], xmm12
mov ecx, dword [rbp + 0x3b8]
lea eax, [rcx - 1]
add eax, r12d
cdq
idiv r12d
mov ebx, eax
mov dword [rbp - 0x7c], eax
mov eax, r12d
cdq
idiv ecx
mov r8d, 1
cmp eax, r8d
cmovg r8d, eax
mov dword [rsp + 0x70], r8d
cmp r12d, ecx
jl 0x140014f7a
mov eax, r12d
cdq
idiv ecx
test edx, edx
je 0x140014f7a
lea r9, str.n_batch___n_ctx__n_batch___n_ctx__0
lea r8, str.GGML_ASSERT__s__failed
mov edx, 0x1f1
lea rcx, str.K:AIllama.cppexamplesperplexityperplexity.cpp
call qword [sym.imp.ggml_base.dll_ggml_abort]
int3
mov eax, r8d
imul eax, ecx
cmp dword [r15 + 4], eax
je 0x140014fa7
lea r9, str.params.n_ctx__n_seq__n_ctx
lea r8, str.GGML_ASSERT__s__failed
mov edx, 0x1f2
lea rcx, str.K:AIllama.cppexamplesperplexityperplexity.cpp
call qword [sym.imp.ggml_base.dll_ggml_abort]
int3
mov edx, r12d
cmp eax, r12d
cmovl edx, eax
mov r9d, 1
xor r8d, r8d
lea rcx, [rbp]
call qword [sym.imp.llama.dll_llama_batch_init]
movups xmm11, xmmword [rax]
movups xmmword [rbp + 0x270], xmm11
movups xmm15, xmmword [rax + 0x10]
movups xmm13, xmmword [rax + 0x20]
movsd xmm14, qword [rax + 0x30]
movsd qword [rbp + 0x2a0], xmm14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rsi
cmp ebx, 1
jle 0x140015034
movsxd rcx, dword [rsp + 0x48]
movsxd rax, dword [rbp + 0x3b8]
imul rcx, rax
mov qword [rsp + 0x78], rcx
test rcx, rcx
je 0x140015034
movabs rax, 0x3fffffffffffffff
cmp rcx, rax
ja 0x140016270
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x20]
call fcn.140004b40
cmp dword [0x14009b270], 0
jl 0x14001507c
mov ebx, dword [rbp + 0x3b8]
mov edi, dword [rsp + 0x44]
call fcn.1400561f0
mov edx, dword [rsp + 0x70]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
lea r9, str.perplexity
lea r8, str._s:_calculating_perplexity_over__d_chunks__n_ctx_d__batch_size_d__n_seq_d_n
mov edx, 2
mov rcx, rax
call fcn.1400561d0
call sub.MSVCP140.dll__Thrd_hardware_concurrency
lea edx, [rax - 1]
lea r8, [rsp + 0x41]
lea rcx, [rbp - 0x40]
call fcn.140006a40
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
xor ebx, ebx
mov qword [rbp - 0x48], rbx
cmp qword [r15 + 0xdb8], rbx
je 0x14001517f
mov r8d, 4
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x160]
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]
mov r8d, 4
lea rdx, [rsp + 0x44]
lea rcx, [rbp + 0x160]
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]
mov eax, dword [rsp + 0x44]
imul eax, dword [rbp + 0x3b8]
movsxd r8, eax
shl r8, 2
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0x160]
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]
mov eax, dword [rsp + 0x48]
inc eax
cdq
sub eax, edx
sar eax, 1
lea eax, [rax*2 + 4]
mov edi, dword [rbp + 0x3b8]
imul eax, edi
movsxd rcx, eax
mov r9, qword [rbp - 0x50]
mov rdx, r9
mov r8, qword [rbp - 0x58]
sub rdx, r8
sar rdx, 1
cmp rcx, rdx
jae 0x140015140
lea rax, [r8 + rcx*2]
mov qword [rbp - 0x50], rax
jmp 0x140015185
jbe 0x140015185
mov rax, qword [rbp - 0x48]
sub rax, r8
sar rax, 1
cmp rcx, rax
jbe 0x140015164
lea r8, [rsp + 0x41]
mov rdx, rcx
lea rcx, [rbp - 0x58]
call fcn.1400050d0
jmp 0x14001517f
sub rcx, rdx
lea r8, [rcx + rcx]
lea rbx, [r8 + r9]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x50], rbx
xor ebx, ebx
mov edi, dword [rbp + 0x3b8]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x4c], eax
mov ecx, ebx
mov dword [rsp + 0x6c], ebx
mov r12, qword [rbp - 0x38]
mov r15, qword [rbp - 0x20]
cmp dword [rsp + 0x44], 0
jle 0x140015a8a
movdqa xmm0, xmm13
psrldq xmm0, 8
movq qword [rbp + 0xe8], xmm0
movq qword [rbp + 0xf8], xmm13
movdqa xmm0, xmm15
psrldq xmm0, 8
movq qword [rbp + 0xe0], xmm0
movdqa xmm1, xmm11
psrldq xmm1, 8
movq qword [rbp + 0xf0], xmm1
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x78], rax
mov esi, ecx
imul esi, edi
mov dword [rbp - 0x70], esi
lea ebx, [rsi + rdi]
mov dword [rbp - 0x74], ebx
mov eax, dword [rsp + 0x44]
sub eax, ecx
mov edi, dword [rsp + 0x70]
mov r12d, edi
cmp eax, edi
cmovl r12d, eax
mov dword [rsp + 0x68], r12d
lea rcx, [rbp + 0xb0]
call fcn.140014240
mov rcx, r13
call qword [sym.imp.llama.dll_llama_kv_cache_clear]
xor edx, edx
mov dword [rbp - 0x80], edx
cmp dword [rbp - 0x7c], edx
jle 0x140015441
nop word [rax + rax]
mov r15d, edx
mov eax, dword [rbp + 0x78]
imul r15d, eax
lea r8d, [r15 + rsi]
mov dword [rbp + 0x54], r8d
mov ecx, ebx
sub ecx, r8d
cmp eax, ecx
cmovl ecx, eax
xor r14d, r14d
mov dword [rbp + 0x270], r14d
xor edi, edi
mov r11d, dword [rsp + 0x68]
test r11d, r11d
jle 0x1400153ae
movsxd r12, ecx
mov qword [rbp + 0x60], r12
mov eax, r11d
imul eax, ecx
mov dword [rbp + 0x270], eax
nop dword [rax]
mov esi, edi
imul esi, dword [rbp + 0x3b8]
add esi, r8d
mov dword [rbp + 0x74], esi
movsxd rax, esi
lea rbx, [rax*4]
mov rax, qword [rsp + 0x50]
mov r13d, dword [rbx + rax]
mov dword [rbp + 0x70], r13d
cmp byte [rsp + 0x40], 0
je 0x1400152e5
test edx, edx
jne 0x1400152e5
mov rcx, qword [rbp + 0x3a8]
call qword [sym.imp.llama.dll_llama_get_model]
mov rcx, rax
call qword [sym.imp.llama.dll_llama_token_bos]
mov rcx, qword [rsp + 0x50]
mov dword [rbx + rcx], eax
mov r11d, dword [rsp + 0x68]
xor r8d, r8d
test r12, r12
jle 0x140015383
mov r9, r12
mov r10d, dword [rsp + 0x4c]
mov r12, qword [rbp + 0xe0]
mov rsi, qword [rbp + 0x2a0]
mov r13, qword [rbp + 0xe8]
nop
mov eax, edi
imul eax, dword [rbp + 0x3b8]
add eax, r8d
movsxd rdx, eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rbx + rax]
mov rax, qword [rbp + 0xf0]
mov dword [rax + rdx*4], ecx
lea eax, [r15 + r8]
mov dword [r12 + rdx*4], eax
mov rax, qword [rbp + 0xf8]
mov dword [rax + rdx*4], 1
mov rax, qword [r13 + rdx*8]
mov dword [rax], edi
mov ecx, dword [r12 + rdx*4]
cmp ecx, r10d
setge al
mov byte [rdx + rsi], al
xor eax, eax
cmp ecx, r10d
setge al
add r14d, eax
inc r8d
lea rbx, [rbx + 4]
sub r9, 1
jne 0x140015310
mov esi, dword [rbp + 0x74]
mov r12, qword [rbp + 0x60]
mov r13d, dword [rbp + 0x70]
mov r11d, dword [rsp + 0x68]
movsxd rcx, esi
mov rax, qword [rsp + 0x50]
mov dword [rax + rcx*4], r13d
inc edi
cmp edi, r11d
mov edx, dword [rbp - 0x80]
mov r8d, dword [rbp + 0x54]
jl 0x140015290
mov ebx, dword [rbp - 0x74]
mov esi, dword [rbp - 0x70]
mov r13, qword [rbp + 0x3a8]
movups xmm11, xmmword [rbp + 0x270]
movaps xmmword [rbp], xmm11
movaps xmmword [rbp + 0x10], xmm15
movaps xmmword [rbp + 0x20], xmm13
movsd qword [rbp + 0x30], xmm14
lea rdx, [rbp]
mov rcx, r13
call qword [sym.imp.llama.dll_llama_decode]
test eax, eax
jne 0x140015b11
mov edi, dword [rbp - 0x7c]
cmp edi, 1
jle 0x140015424
test r14d, r14d
jle 0x140015424
mov rcx, r13
call qword [sym.imp.llama.dll_llama_get_logits]
movsxd r9, r14d
movsxd rcx, dword [rsp + 0x48]
imul r9, rcx
shl r9, 2
sar r9, 2
mov r8, rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x20]
call fcn.1400044e0
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x78], rax
mov edx, dword [rbp - 0x80]
inc edx
mov dword [rbp - 0x80], edx
cmp edx, edi
jl 0x140015240
mov r15, qword [rbp - 0x20]
mov r12d, dword [rsp + 0x68]
mov edi, dword [rsp + 0x70]
mov eax, dword [rsp + 0x6c]
test eax, eax
jne 0x140015562
mov rcx, r13
call qword [sym.imp.llama.dll_llama_synchronize]
lea rcx, [rbp + 0x100]
call fcn.140014240
mov rax, qword [rbp + 0x100]
sub rax, qword [rbp + 0xb0]
xorps xmm7, xmm7
cvtsi2ss xmm7, rax
divss xmm7, dword [0x14007e0f8]
cmp dword [0x14009b270], 0
jl 0x1400154b2
cvtps2pd xmm6, xmm7
call fcn.1400561f0
mov rcx, rax
movsd qword [rsp + 0x20], xmm6
lea r9, str.perplexity
lea r8, str._s:__.2f_seconds_per_pass___ETA
mov edx, 2
call fcn.1400561d0
movd xmm1, dword [rsp + 0x44]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm7
movd xmm0, edi
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si edi, xmm1
cmp edi, 0xe10
jl 0x140015527
cmp dword [0x14009b270], 0
jl 0x14001550c
mov eax, 0x91a2b3c5
imul edi
lea ebx, [rdi + rdx]
sar ebx, 0xb
mov eax, ebx
shr eax, 0x1f
add ebx, eax
call fcn.1400561f0
mov rcx, rax
mov r9d, ebx
lea r8, str._d_hours
xor edx, edx
call fcn.1400561d0
mov eax, 0x6e5d4c3b
imul edi
sub edx, edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xe10
add edi, eax
cmp dword [0x14009b270], 0
jl 0x14001555e
movd xmm6, edi
cvtdq2pd xmm6, xmm6
divsd xmm6, qword [0x14007e0d8]
call fcn.1400561f0
mov rcx, rax
movaps xmm3, xmm6
movq r9, xmm6
lea r8, str._.2f_minutes_n
xor edx, edx
call fcn.1400561d0
mov eax, dword [rsp + 0x6c]
xor ebx, ebx
mov r14d, ebx
mov edi, dword [rbp + 0x3b8]
test r12d, r12d
jle 0x140015a51
movsxd r12, esi
movsxd r10, dword [rsp + 0x4c]
mov r13, r10
lea esi, [rax + 1]
mov dword [rbp - 0x74], esi
cmp dword [rbp - 0x7c], 1
jle 0x140015592
mov r8, r15
jmp 0x1400155b6
mov edx, r14d
imul edx, edi
add edx, r10d
mov rcx, qword [rbp + 0x3a8]
call qword [sym.imp.llama.dll_llama_get_logits_ith]
mov r8, rax
mov edi, dword [rbp + 0x3b8]
mov r10d, dword [rsp + 0x4c]
mov ecx, r14d
imul ecx, edi
movsxd rdx, ecx
add rdx, r13
add rdx, r12
mov rcx, qword [rsp + 0x50]
lea r9, [rcx + rdx*4]
mov rax, qword [rbp + 0x3b0]
sub edi, r10d
xorps xmm0, xmm0
mov qword [rbp + 0x118], rbx
mov qword [rbp + 0x120], rbx
mov dword [rbp + 0x158], 0xffffffff
mov dword [rbp + 0x110], 2
mov dword [rbp + 0x15c], ebx
dec edi
movups xmmword [rbp + 0x128], xmm0
movups xmmword [rbp + 0x138], xmm0
movups xmmword [rbp + 0x148], xmm0
cmp qword [rax + 0xdb8], 0
je 0x1400157b4
mov ecx, dword [rsp + 0x48]
lea eax, [rcx + 1]
test eax, eax
jns 0x140015635
inc eax
sar eax, 1
lea esi, [rax*2 + 4]
mov dword [rbp - 0x70], ebx
lea rax, [rbp + 0x110]
mov qword [rbp], rax
lea rax, [rbp - 0x70]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x58]
mov qword [rbp + 0x10], rax
lea rax, [rbp - 0x60]
mov qword [rbp + 0x18], rax
lea rax, [rbp - 0x68]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], ecx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov dword [rbp + 0x40], edi
mov dword [rbp + 0x44], esi
mov rbx, qword [rbp - 0x40]
cmp rbx, qword [rbp - 0x38]
je 0x140015736
movsd xmm6, qword [rbp + 0x40]
movaps xmm7, xmmword [rbp + 0x30]
movaps xmm8, xmmword [rbp + 0x20]
movaps xmm9, xmmword [rbp + 0x10]
movaps xmm10, xmmword [rbp]
mov ecx, 0x48
call fcn.1400734f4
test rax, rax
je 0x1400156c9
movups xmmword [rax], xmm10
movups xmmword [rax + 0x10], xmm9
movups xmmword [rax + 0x20], xmm8
movups xmmword [rax + 0x30], xmm7
movsd qword [rax + 0x40], xmm6
mov qword [rbp + 0x60], rax
or dword [rbp - 0x28], 2
lea rcx, [rbp + 0xc8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400047c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0xc0], rax
test rax, rax
je 0x140016276
cmp dword [rbx + 8], 0
jne 0x140015e22
xorps xmm0, xmm0
movaps xmm1, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0xc0], xmm0
movups xmmword [rbx], xmm1
add rbx, 0x10
cmp rbx, qword [rbp - 0x38]
jne 0x1400156a3
lea rcx, [rbp]
call fcn.140009ce0
mov rbx, qword [rbp - 0x40]
cmp rbx, qword [rbp - 0x38]
je 0x140015792
nop dword [rax]
cmp dword [rbx + 8], 0
je 0x1400162a1
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x140016296
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x60], xmm0
xor edx, edx
lea rcx, [rbp + 0x60]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x14001628b
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, qword [rbp - 0x38]
jne 0x140015750
imul esi, edi
movsxd r8, esi
add r8, r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x160]
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]
mov esi, dword [rbp - 0x74]
jmp 0x140015916
mov rax, qword [rbp + 0x80]
lea rcx, [rax + rdx*4]
mov rax, qword [rbp + 0x98]
lea rax, [rax + rdx*4]
mov dword [rbp - 0x70], ebx
lea rdx, [rbp + 0x110]
mov qword [rbp], rdx
lea rdx, [rbp - 0x70]
mov qword [rbp + 8], rdx
lea rdx, [rbp - 0x60]
mov qword [rbp + 0x10], rdx
lea rdx, [rbp - 0x68]
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rcx
mov eax, dword [rsp + 0x48]
mov dword [rbp + 0x30], eax
mov qword [rbp + 0x38], r8
mov qword [rbp + 0x40], r9
mov dword [rbp + 0x48], edi
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
cmp rbx, rdi
je 0x1400158c3
movaps xmm6, xmmword [rbp + 0x40]
movaps xmm7, xmmword [rbp + 0x30]
movaps xmm8, xmmword [rbp + 0x20]
movaps xmm9, xmmword [rbp + 0x10]
movaps xmm10, xmmword [rbp]
mov ecx, 0x50
call fcn.1400734f4
test rax, rax
je 0x140015857
movups xmmword [rax], xmm10
movups xmmword [rax + 0x10], xmm9
movups xmmword [rax + 0x20], xmm8
movups xmmword [rax + 0x30], xmm7
movups xmmword [rax + 0x40], xmm6
mov qword [rbp + 0x60], rax
or dword [rbp - 0x28], 4
lea rcx, [rbp + 0xd8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140004790]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0xd0], rax
test rax, rax
je 0x1400162ac
cmp dword [rbx + 8], 0
jne 0x140015e29
xorps xmm0, xmm0
movaps xmm1, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0xd0], xmm0
movups xmmword [rbx], xmm1
add rbx, 0x10
cmp rbx, rdi
jne 0x140015832
lea rcx, [rbp]
call fcn.140009a20
mov rbx, qword [rbp - 0x40]
cmp rbx, rdi
je 0x140015916
cmp dword [rbx + 8], 0
je 0x140016265
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x1400162cc
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x60], xmm0
xor edx, edx
lea rcx, [rbp + 0x60]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x1400162c1
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x1400158d5
mov edi, dword [rbp + 0x3b8]
mov eax, edi
mov r10d, dword [rsp + 0x4c]
sub eax, r10d
mov ecx, dword [rbp - 0x78]
dec ecx
add ecx, eax
mov dword [rbp - 0x78], ecx
mov rax, qword [rbp + 0x3b0]
cmp dword [rax + 0xe78], 0
jne 0x14001598b
cmp dword [0x14009b270], 0
jl 0x140015a37
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
movsd xmm0, qword [rbp - 0x60]
divsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
movaps xmm6, xmm0
call fcn.1400561f0
lea r9d, [rsi + r14]
movsd qword [rsp + 0x20], xmm6
lea r8, str.__d__.4lf_
xor edx, edx
mov rcx, rax
call fcn.1400561d0
jmp 0x140015a2c
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd xmm8, qword [rbp - 0x60]
divsd xmm8, xmm0
movsd xmm7, qword [rbp - 0x68]
divsd xmm7, xmm0
movaps xmm0, xmm8
mulsd xmm0, xmm8
subsd xmm7, xmm0
comisd xmm7, xmm12
jbe 0x1400159e4
lea eax, [rcx - 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm7, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm7
ja 0x1400159d9
sqrtpd xmm7, xmm7
jmp 0x1400159e4
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm7, xmm0
cmp dword [0x14009b270], 0
jl 0x140015a32
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
movaps xmm6, xmm0
mov ebx, dword [rsp + 0x6c]
imul ebx, edi
call fcn.1400561f0
movsd qword [rsp + 0x30], xmm7
movsd qword [rsp + 0x28], xmm8
movsd qword [rsp + 0x20], xmm6
mov r9d, ebx
lea r8, str._8d___.4lf___4lf___4lf_n
xor edx, edx
mov rcx, rax
call fcn.1400561d0
mov edi, dword [rbp + 0x3b8]
mov r10d, dword [rsp + 0x4c]
inc r14d
cmp r14d, dword [rsp + 0x68]
mov ebx, 0
jl 0x140015587
mov r13, qword [rbp + 0x3a8]
mov r14, qword [rsp + 0x78]
cmp r15, r14
cmovne r14, r15
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x18], r14
mov ecx, dword [rsp + 0x6c]
add ecx, dword [rsp + 0x70]
mov dword [rsp + 0x6c], ecx
cmp ecx, dword [rsp + 0x44]
jl 0x1400151f1
mov r12, qword [rbp - 0x38]
mov r14, qword [rbp + 0x3a0]
mov esi, dword [rbp - 0x78]
cmp dword [0x14009b270], 0
jl 0x140015aa9
call fcn.1400561f0
mov rcx, rax
lea r8, [0x14007cee4]
xor edx, edx
call fcn.1400561d0
movd xmm6, esi
cvtdq2pd xmm6, xmm6
movsd xmm7, qword [rbp - 0x60]
divsd xmm7, xmm6
movsd qword [rbp - 0x60], xmm7
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
movaps xmm8, xmm0
movsd xmm2, qword [rbp - 0x68]
divsd xmm2, xmm6
mulsd xmm7, xmm7
subsd xmm2, xmm7
movsd qword [rbp - 0x68], xmm2
comisd xmm2, xmm12
jbe 0x140015e78
lea eax, [rsi - 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm2, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm2
ja 0x140015e30
sqrtpd xmm0, xmm2
jmp 0x140015e38
cmp dword [0x14009b270], 0
jl 0x140015b3a
call fcn.1400561f0
mov rcx, rax
lea r9, str.perplexity
lea r8, str._s_:_failed_to_eval_n
mov edx, 2
call fcn.1400561d0
mov r13, qword [rbp + 0x3a0]
xor ebx, ebx
mov qword [r13], rbx
mov qword [r13 + 8], rbx
mov qword [r13 + 0x10], rbx
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rsp + 0x50]
sar rdx, 2
test rdx, rdx
je 0x140015b94
mov rcx, r13
call fcn.14000acb0
mov rdi, qword [r13]
mov rbx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
sar rbx, 2
lea rax, [rdi + rbx*4]
mov qword [r13 + 8], rax
xor ebx, ebx
movabs rax, 0xbff0000000000000
mov qword [r13 + 0x18], rax
mov qword [r13 + 0x20], rbx
mov qword [r13 + 0x28], rbx
mov qword [r13 + 0x30], rbx
mov r14, qword [rbp + 0xa0]
mov r12, qword [rbp + 0x98]
sub r14, r12
mov rsi, r14
sar rsi, 2
test rsi, rsi
je 0x140015bf3
mov rdx, rsi
lea rcx, [r13 + 0x20]
call fcn.14000acb0
mov rbx, qword [r13 + 0x20]
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [r13 + 0x28], rax
xor ebx, ebx
mov qword [r13 + 0x38], rbx
mov qword [r13 + 0x40], rbx
mov qword [r13 + 0x48], rbx
mov r14, qword [rbp + 0x88]
mov r15, qword [rbp + 0x80]
sub r14, r15
mov rsi, r14
sar rsi, 2
test rsi, rsi
je 0x140015c44
mov rdx, rsi
lea rcx, [r13 + 0x38]
call fcn.14000acb0
mov rbx, qword [r13 + 0x38]
mov r8, r14
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [r13 + 0x40], rax
xor ebx, ebx
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140015c91
mov rax, qword [rbp - 0x48]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015c80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015ff9
call fcn.140073530
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rbx
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x140015cf2
mov rax, r8
mov rcx, qword [rbp - 0x38]
cmp r8, rcx
je 0x140015cb9
cmp dword [rax + 8], 0
jne 0x140016068
add rax, 0x10
cmp rax, rcx
jne 0x140015ca6
mov rdx, qword [rbp - 0x30]
sub rdx, r8
and rdx, 0xfffffffffffffff0
mov rax, r8
cmp rdx, 0x1000
jb 0x140015ce9
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016061
mov rcx, r8
call fcn.140073530
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140015d39
mov rax, qword [rbp - 0x10]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015d33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400160ae
call fcn.140073530
nop
test r15, r15
je 0x140015d82
mov rax, qword [rbp + 0x90]
sub rax, r15
sar rax, 2
lea rdx, [rax*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x140015d79
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400160fa
mov rcx, r15
call fcn.140073530
nop
test r12, r12
je 0x140015dcc
mov rax, qword [rbp + 0xa8]
sub rax, r12
sar rax, 2
lea rdx, [rax*4]
mov rax, r12
cmp rdx, 0x1000
jb 0x140015dc3
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001614d
mov rcx, r12
call fcn.140073530
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400161b7
mov rax, qword [rsp + 0x60]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015e13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016199
call fcn.140073530
mov qword [rsp + 0x60], rbx
jmp 0x1400161ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movsd qword [rbp - 0x68], xmm0
cmp dword [0x14009b270], 0
jl 0x140015e9a
movaps xmm6, xmm8
mulsd xmm6, xmm0
call fcn.1400561f0
movsd qword [rsp + 0x20], xmm6
movaps xmm3, xmm8
movq r9, xmm3
lea r8, str.Final_estimate:_PPL___.4lf_____.5lf_n
mov edx, 2
mov rcx, rax
call fcn.1400561d0
jmp 0x140015e9a
cmp dword [0x14009b270], 0
jl 0x140015e9a
call fcn.1400561f0
mov rcx, rax
lea r8, str.Unexpected_negative_standard_deviation_of_log_prob__n
mov edx, 4
call fcn.1400561d0
movaps xmmword [rbp], xmm11
movaps xmmword [rbp + 0x10], xmm15
movaps xmmword [rbp + 0x20], xmm13
movsd qword [rbp + 0x30], xmm14
lea rcx, [rbp]
call qword [sym.imp.llama.dll_llama_batch_free]
mov qword [r14], rbx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rsp + 0x50]
sar rdx, 2
test rdx, rdx
je 0x140015f08
mov rcx, r14
call fcn.14000acb0
mov rdi, qword [r14]
mov rbx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
sar rbx, 2
lea rax, [rdi + rbx*4]
mov qword [r14 + 8], rax
xor ebx, ebx
movsd qword [r14 + 0x18], xmm8
lea rdi, [r14 + 0x20]
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov r14, qword [rbp + 0xa0]
mov r13, qword [rbp + 0x98]
sub r14, r13
mov rsi, r14
sar rsi, 2
test rsi, rsi
je 0x140015f60
mov rdx, rsi
mov rcx, rdi
call fcn.14000acb0
mov rbx, qword [rdi]
mov r8, r14
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [rdi + 8], rax
xor ebx, ebx
mov r13, qword [rbp + 0x3a0]
mov qword [r13 + 0x38], rbx
mov qword [r13 + 0x40], rbx
mov qword [r13 + 0x48], rbx
mov r14, qword [rbp + 0x88]
mov rbx, qword [rbp + 0x80]
sub r14, rbx
mov rsi, r14
sar rsi, 2
test rsi, rsi
je 0x140015fc1
mov rdx, rsi
lea rcx, [r13 + 0x38]
call fcn.14000acb0
mov rbx, qword [r13 + 0x38]
mov r8, r14
mov rdx, qword [rbp + 0x80]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [r13 + 0x40], rax
mov rbx, qword [rbp + 0x80]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140016015
mov rax, qword [rbp - 0x48]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016000
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073530
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], 0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140016075
mov rax, rcx
cmp rcx, r12
je 0x140016035
cmp dword [rax + 8], 0
jne 0x140016068
add rax, 0x10
cmp rax, r12
jne 0x140016026
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001606f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001606f
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_terminate]
int3
call fcn.140073530
nop
test r15, r15
je 0x1400160be
mov rax, qword [rbp - 0x10]
sub rax, r15
sar rax, 2
lea rdx, [rax*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400160b5
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400160b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140073530
nop
test rbx, rbx
je 0x14001610a
mov rax, qword [rbp + 0x90]
sub rax, rbx
sar rax, 2
lea rdx, [rax*4]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140016101
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016101
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140073530
nop
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x14001615a
mov rax, qword [rbp + 0xa8]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016154
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016154
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073530
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400161b7
mov rax, qword [rsp + 0x60]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400161a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400161a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073530
mov qword [rsp + 0x60], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x168]
call fcn.140007c20
lea rcx, [rbp + 0x170]
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 + 0x208]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r13
lea r11, [rsp + 0x458]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
call fcn.14000b470
nop
mov dword [rbp + 0xc8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0xd8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3