Function at 0x14008a3f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rdi
push r13
lea rbp, [rsp + 8]
sub rsp, 0x118
mov rdi, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0xe0]
mov edx, 0x2000
call fcn.14005ba50
mov r8, qword [rdi + 0x10]
mov r13, rax
mov qword [rbp + 0x30], rax
mov ebx, dword [r8 + 0x24]
mov edx, dword [r8 + 0x20]
mov qword [rbp - 0x78], rbx
cmp rbx, rdx
je 0x14008a488
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x1f73
lea r8, str.F:prog_llmllama.cppllama.cpp
mov rcx, rax
lea rdx, str.GGML_ASSERT:__s:_d:__s_n
lea rax, str.n_embd_head__hparams.n_embd_head_k
mov qword [rsp + 0x20], rax
call fcn.140032e30
call fcn.14005c7a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rcx, qword [rdi]
mov rax, qword [rdi + 0xd0]
mov r9, qword [rdi + 0x20]
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x100], r14
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0x198]
mov rcx, qword [rdi + 0xe0]
mov qword [rsp + 0xf8], r15
vmovaps xmmword [rsp + 0xe0], xmm6
mov qword [rsp + 0x20], rax
vmovaps xmmword [rsp + 0xd0], xmm7
call fcn.1400934e0
mov dl, 1
mov rcx, rdi
mov r12, rax
call fcn.14007ded0
mov dl, 1
mov qword [rbp - 0x68], rax
mov rcx, rdi
call fcn.14007dfb0
xor esi, esi
mov qword [rbp - 0x70], rax
cmp qword [rdi + 0x38], rsi
jle 0x14008ac4c
vmovss xmm7, dword [0x1400f8d24]
vxorps xmm6, xmm6, xmm6
xor edx, edx
vcvtsi2ss xmm6, xmm6, rbx
mov qword [rbp + 0x28], rdx
nop dword [rax + rax]
mov rax, qword [rdi]
mov r15, qword [rdi + 0xe0]
mov r13, qword [rdi + 0xd0]
mov rcx, qword [rax + 0x1e0]
mov rax, qword [rdi + 0x10]
mov r14, qword [rdx + rcx]
mov rdx, r12
vmovss xmm2, dword [rax + 0x3c]
mov rcx, r15
call fcn.14005cda0
mov rbx, rax
test r14, r14
je 0x14008a5ab
mov rcx, qword [r13 + 0x38]
lea rax, str.norm
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x80], rbx
test rcx, rcx
je 0x14008adaf
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x80]
call qword [r10 + 0x10]
mov r8, r14
mov rdx, rbx
mov rcx, r15
call fcn.14005b1e0
mov rbx, rax
lea rax, str.attn_norm
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x38], rax
mov rax, qword [rdi + 0xd0]
mov qword [rbp - 0x80], rbx
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14008ae0f
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x80]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov r8, rbx
mov r13, qword [rbp + 0x28]
mov rcx, qword [rdi + 0xe0]
mov rdx, qword [rax + 0x1e0]
mov rdx, qword [rdx + r13 + 0x50]
call fcn.14005b390
mov rcx, qword [rdi + 0xd0]
mov r15, rax
lea rax, str.Qcur
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x80], r15
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008ae09
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x80]
call qword [r10 + 0x10]
mov rax, qword [rdi]
mov r8, rbx
mov rcx, qword [rdi + 0xe0]
mov rdx, qword [rax + 0x1e0]
mov rdx, qword [rdx + r13 + 0x58]
call fcn.14005b390
mov rcx, qword [rdi + 0xd0]
mov r14, rax
lea rax, str.Kcur
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x80], r14
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008ae03
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x80]
call qword [r10 + 0x10]
mov rax, qword [rdi]
mov r8, rbx
mov rcx, qword [rdi + 0xe0]
mov rdx, qword [rax + 0x1e0]
mov rdx, qword [rdx + r13 + 0x60]
call fcn.14005b390
lea rcx, str.Vcur
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x38], rcx
mov rcx, qword [rdi + 0xd0]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x60], rax
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008adfd
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x80]
call qword [r10 + 0x10]
movsxd rax, dword [rdi + 0xb0]
mov rdx, r14
mov rbx, qword [rbp - 0x78]
mov r9, qword [rdi + 0x58]
mov r8, rbx
mov rcx, qword [rdi + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.14005ca30
mov rcx, qword [rdi + 0xd0]
mov r13, rax
lea rax, str.Kcur
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x80], r13
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008adf7
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x80]
call qword [r10 + 0x10]
movsxd rax, dword [rdi + 0xb0]
mov r8, rbx
mov r9, qword [rdi + 0x50]
mov rdx, r15
mov rcx, qword [rdi + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.14005ca30
mov rcx, qword [rdi + 0xd0]
mov r15, rax
lea rax, str.Qcur
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x80], r15
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008adf1
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x80]
call qword [r10 + 0x10]
mov rbx, qword [rdi]
vxorps xmm0, xmm0, xmm0
vucomiss xmm0, xmm6
mov r14, qword [rbx + 0x1e0]
ja 0x14008a7d0
vsqrtss xmm0, xmm6, xmm6
jmp 0x14008a7d9
vmovaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rax, qword [rdi + 0xd0]
mov rdx, rbx
mov r9, qword [rdi + 0x18]
mov r8, qword [rdi + 0x10]
mov rcx, qword [rdi + 0xe0]
mov dword [rsp + 0x90], esi
mov qword [rsp + 0x88], rax
mov eax, dword [rdi + 0xb4]
vdivss xmm0, xmm7, xmm0
vmovss dword [rsp + 0x80], xmm0
mov dword [rsp + 0x78], eax
mov eax, dword [rdi + 0xbc]
mov dword [rsp + 0x70], eax
mov eax, dword [rdi + 0xb0]
mov dword [rsp + 0x68], eax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x58], rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r13
mov r13, qword [rbp + 0x28]
mov qword [rsp + 0x38], 0
mov rax, qword [r14 + r13 + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x20], rax
call fcn.140093cd0
mov rdx, qword [rdi + 0x38]
mov r14, rax
dec rdx
movsxd rcx, esi
cmp rcx, rdx
jne 0x14008a944
movsxd r8, dword [rdi + 0xb8]
mov edx, 0x1a
mov rcx, qword [rdi + 0xe0]
call fcn.14005bcc0
mov rcx, qword [rdi + 8]
mov dword [rbp + 0x20], 0xffffffff
mov qword [rcx + 0x1590], rax
lea rax, str.inp_out_ids
mov qword [rbp + 0x38], rax
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x1590]
mov rax, qword [rdi + 0xd0]
mov qword [rbp - 0x60], rcx
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14008adb5
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x60]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx + 0x1590]
call fcn.14005d6a0
mov rax, qword [rdi + 8]
mov rdx, r14
mov rcx, qword [rdi + 0xe0]
mov rbx, qword [rax + 0x1590]
mov r8, rbx
call fcn.140059480
mov rcx, qword [rdi + 0xe0]
mov r8, rbx
mov rdx, r12
mov r14, rax
call fcn.140059480
mov r12, rax
mov rcx, qword [rdi + 0xe0]
mov r8, r12
mov rdx, r14
call fcn.140034d20
mov rcx, qword [rdi + 0xd0]
mov rbx, rax
mov qword [rbp - 0x58], rax
lea rax, str.ffn_inp
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x60], rbx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008adeb
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x60]
call qword [r10 + 0x10]
mov rax, qword [rdi]
mov rdx, rbx
mov r12, qword [rdi + 0xe0]
mov r14, qword [rdi + 0xd0]
mov rcx, qword [rax + 0x1e0]
mov rax, qword [rdi + 0x10]
mov r15, qword [rcx + r13 + 0xa0]
mov rcx, r12
vmovss xmm2, dword [rax + 0x3c]
call fcn.14005cda0
mov rbx, rax
test r15, r15
je 0x14008aa15
mov rcx, qword [r14 + 0x38]
lea rax, str.norm
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x60], rbx
test rcx, rcx
je 0x14008adbb
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x60]
call qword [r10 + 0x10]
mov r8, r15
mov rdx, rbx
mov rcx, r12
call fcn.14005b1e0
mov rbx, rax
lea rax, str.ffn_norm
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x38], rax
mov rax, qword [rdi + 0xd0]
mov qword [rbp - 0x60], rbx
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14008ade5
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x60]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov r8, rbx
mov r14, qword [rdi + 0xe0]
mov r15, qword [rdi + 0xd0]
mov rcx, r14
mov rdx, qword [rax + 0x1e0]
mov rax, qword [rdx + r13 + 0xc8]
mov r12, qword [rdx + r13 + 0xc0]
mov rdx, qword [rdx + r13 + 0xd0]
mov qword [rbp - 0x80], rax
call fcn.14005b390
mov rcx, qword [r15 + 0x38]
mov r13, rax
mov dword [rbp + 0x20], esi
lea rax, str.ffn_up
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x60], r13
test rcx, rcx
je 0x14008addf
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x60]
call qword [r10 + 0x10]
test r12, r12
je 0x14008ab0b
mov r8, rbx
mov rdx, r12
mov rcx, r14
call fcn.14005b390
mov rcx, qword [r15 + 0x38]
mov rbx, rax
mov dword [rbp + 0x20], esi
lea rax, str.ffn_gate
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x60], rbx
test rcx, rcx
je 0x14008adc1
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x60]
call qword [r10 + 0x10]
jmp 0x14008ab0e
mov rbx, r13
mov rdx, rbx
mov rcx, r14
call fcn.14005d6f0
mov rcx, qword [r15 + 0x38]
mov rbx, rax
mov dword [rbp + 0x20], esi
lea rax, str.ffn_silu
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x60], rbx
test rcx, rcx
je 0x14008add9
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x60]
call qword [r10 + 0x10]
mov r8, r13
mov rdx, rbx
mov rcx, r14
call fcn.14005b1e0
mov rcx, qword [r15 + 0x38]
mov rbx, rax
mov dword [rbp + 0x20], esi
lea rax, str.ffn_gate_par
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x60], rbx
test rcx, rcx
je 0x14008add3
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x60]
call qword [r10 + 0x10]
mov rdx, qword [rbp - 0x80]
mov r8, rbx
mov rcx, r14
call fcn.14005b390
mov rcx, qword [rdi + 0xd0]
mov rbx, rax
lea rax, str.ffn_out
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x60], rbx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008adcd
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x60]
call qword [r10 + 0x10]
mov r8, qword [rbp - 0x58]
mov rdx, rbx
mov rcx, qword [rdi + 0xe0]
call fcn.140034d20
mov r12, rax
mov dword [rbp + 0x20], esi
lea rax, str.l_out
mov qword [rbp - 0x58], r12
mov qword [rbp + 0x38], rax
mov rax, qword [rdi + 0xd0]
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14008adc7
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x58]
call qword [rax + 0x10]
mov rdx, qword [rbp + 0x28]
inc esi
add rdx, 0x178
movsxd rax, esi
mov qword [rbp + 0x28], rdx
cmp rax, qword [rdi + 0x38]
jl 0x14008a530
mov r13, qword [rbp + 0x30]
mov rax, qword [rdi]
mov rdx, r12
mov r14, qword [rdi + 0xe0]
mov r15, qword [rdi + 0xd0]
mov rcx, r14
mov rsi, qword [rax + 0x1c0]
mov rax, qword [rdi + 0x10]
vmovss xmm2, dword [rax + 0x3c]
call fcn.14005cda0
mov rbx, rax
test rsi, rsi
je 0x14008acc6
mov rcx, qword [r15 + 0x38]
lea rax, str.norm
mov dword [rbp + 0x20], 0xffffffff
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rbx
test rcx, rcx
je 0x14008ada9
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x30]
call qword [rax + 0x10]
mov r8, rsi
mov rdx, rbx
mov rcx, r14
call fcn.14005b1e0
mov rbx, rax
lea rax, str.result_norm
mov dword [rbp + 0x20], 0xffffffff
mov qword [rbp + 0x28], rax
mov rax, qword [rdi + 0xd0]
mov qword [rbp + 0x30], rbx
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14008ae15
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x30]
call qword [rax + 0x10]
mov rdx, qword [rdi]
mov r8, rbx
mov rcx, qword [rdi + 0xe0]
mov rdx, qword [rdx + 0x1d0]
call fcn.14005b390
mov rcx, qword [rdi + 0xd0]
mov rbx, rax
lea rax, str.result_output
mov dword [rbp + 0x20], 0xffffffff
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rbx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008ada3
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x30]
call qword [rax + 0x10]
mov rdx, rbx
mov rcx, r13
call fcn.140034f20
vmovaps xmm6, xmmword [rsp + 0xe0]
mov rax, r13
mov r15, qword [rsp + 0xf8]
mov r14, qword [rsp + 0x100]
mov r12, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x110]
vmovaps xmm7, xmmword [rsp + 0xd0]
add rsp, 0x118
pop r13
pop rdi
pop rbx
pop rbp
ret
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3