Function at 0x140005100
Capabilities:
Query environment variable
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, rdx
mov qword [rsp + 0x48], rdx
mov r12, rcx
mov rdx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x140005148
mov rdx, qword [rcx]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rcx, [rbp - 0x70]
call fcn.1400035e0
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x1400051a7
mov rcx, r12
call fcn.140004e90
mov r8, rax
lea rdx, str.load_imatrix
lea rcx, str._s:_failed_to_open__s_n
call fcn.140009140
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8d, 4
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
jne 0x1400056b2
mov eax, dword [rsp + 0x40]
cmp eax, 1
jl 0x1400056b2
xor r13d, r13d
test eax, eax
jle 0x14000555e
movabs rsi, 0x7fffffffffffffff
mov r8d, 4
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov ecx, dword [rsp + 0x34]
lea eax, [rcx + 1]
movsxd rdi, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor r14d, r14d
mov qword [rsp + 0x70], r14
xor ebx, ebx
test eax, eax
je 0x1400052a0
cmp rdi, rsi
ja 0x1400056dc
cmp rdi, 0x1000
jb 0x14000526c
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400056e2
call fcn.1400092f0
test rax, rax
je 0x1400055f9
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140005277
mov rcx, rdi
call fcn.1400092f0
mov rbx, rax
mov rsi, rbx
mov qword [rsp + 0x60], rbx
lea r14, [rbx + rdi]
mov qword [rsp + 0x70], r14
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x68], r14
mov ecx, dword [rsp + 0x34]
jmp 0x1400052a5
mov rsi, qword [rsp + 0x60]
movsxd r8, ecx
mov rdx, rsi
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
jne 0x140005684
movsxd rax, dword [rsp + 0x34]
mov byte [rax + rsi], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xor eax, eax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], al
jne 0x140005300
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.140002100
nop
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.140003170
mov rdi, qword [rax]
mov r8d, 4
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov r8d, 4
lea rdx, [rsp + 0x3c]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
jne 0x140005643
movsxd rax, dword [rsp + 0x3c]
cmp eax, 1
jl 0x140005643
mov rbx, rax
mov r15, qword [rdi + 0x38]
mov rdx, qword [rdi + 0x30]
mov rcx, r15
sub rcx, rdx
sar rcx, 2
cmp rax, rcx
jae 0x1400053a5
lea rax, [rdx + rax*4]
jmp 0x1400053e6
jbe 0x1400053ea
mov rax, qword [rdi + 0x40]
sub rax, rdx
sar rax, 2
cmp rbx, rax
jbe 0x1400053ca
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rdi + 0x30]
call fcn.140003010
jmp 0x1400053ea
sub rbx, rcx
lea rbx, [rbx*4]
mov r8, rbx
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + r15]
mov qword [rdi + 0x38], rax
movsxd r8, dword [rsp + 0x3c]
shl r8, 2
mov rdx, qword [rdi + 0x30]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
jne 0x140005600
mov ecx, dword [rsp + 0x38]
test ecx, ecx
jle 0x140005462
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdi + 0x30]
cmp rax, rdx
je 0x140005462
nop dword [rax]
nop word [rax + rax]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss xmm1, dword [rax]
divss xmm1, xmm0
movss dword [rax], xmm1
add rax, 4
cmp rax, rdx
je 0x140005462
mov ecx, dword [rsp + 0x38]
jmp 0x140005440
lea rcx, str.LLAMA_TRACE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400054b5
lea rax, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova rax, qword [rbp + 0xa0]
mov r8, qword [rdi + 0x38]
sub r8, qword [rdi + 0x30]
sar r8, 2
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x38]
lea rdx, str.load_imatrix
lea rcx, str._s:_loaded_data__size___6d__ncall___6d__for__s_n
call fcn.140009140
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x1400054f6
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055f2
call fcn.14000932c
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xb8], 0xf
mov byte [rbp + 0xa0], 0
test rsi, rsi
je 0x14000554b
sub r14, rsi
mov rax, rsi
cmp r14, 0x1000
jb 0x140005540
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055f9
mov rdx, r14
mov rcx, rsi
call fcn.14000932c
inc r13d
mov r15, qword [rsp + 0x48]
cmp r13d, dword [rsp + 0x40]
jl 0x1400051f1
cmp qword [r12 + 0x18], 0xf
jbe 0x14000556a
mov r12, qword [r12]
mov r9, r12
mov r8d, dword [r15 + 0x10]
lea rdx, str.load_imatrix
lea rcx, str._s:_loaded__d_importance_matrix_entries_from__s_n
call fcn.140009140
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x60]
call fcn.140003bf0
lea rcx, [rbp - 0x58]
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 + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140009680
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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]
nop
mov r8d, r13d
lea rdx, str.load_imatrix
lea rcx, str._s:_failed_reading_data_for_entry__d_n
call fcn.140009140
lea rcx, [rsp + 0x78]
call fcn.140003900
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.1400040c0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8d, r13d
lea rdx, str.load_imatrix
lea rcx, str._s:_failed_reading_number_of_values_for_entry__d_n
call fcn.140009140
lea rcx, [rsp + 0x78]
call fcn.140003900
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1400040c0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rcx, r12
call fcn.140004e90
mov r9, rax
lea r8d, [r13 + 1]
lea rdx, str.load_imatrix
lea rcx, str._s:_failed_reading_name_for_entry__d_from__s_n
call fcn.140009140
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rcx, r12
call fcn.140004e90
mov r8, rax
lea rdx, str.load_imatrix
lea rcx, str._s:_no_data_in_file__s_n
call fcn.140009140
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140004c70
int3
call fcn.140004900
int3