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

Disassembly:
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x120
mov rdi, rcx
mov rcx, qword [rcx + 0xe0]
call fcn.14005ba40
mov r8, qword [rdi + 0x10]
mov r12, rax
mov qword [rbp - 0x78], rax
mov ecx, dword [r8 + 0x24]
mov edx, dword [r8 + 0x20]
mov qword [rbp + 0x38], rcx
cmp rcx, rdx
je 0x14008732d
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, 0x2481
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 eax, dword [r8 + 0x1c]
cmp rcx, rax
je 0x140087389
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, 0x2482
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_rot
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 + 0x118], rbx
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x108], r13
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0x198]
mov rcx, qword [rdi + 0xe0]
mov qword [rsp + 0x100], r14
mov qword [rsp + 0xf8], r15
mov qword [rsp + 0x20], rax
vmovaps xmmword [rsp + 0xe0], xmm6
call fcn.1400934e0
mov rcx, rdi
mov qword [rbp + 0x28], rax
mov r13, rax
call fcn.14007e140
mov dl, 1
mov qword [rbp + 0x30], rax
mov rcx, rdi
call fcn.14007ded0
xor esi, esi
mov qword [rbp - 0x60], rax
cmp qword [rdi + 0x38], rsi
jle 0x140087b38
vmovss xmm6, dword [0x1400f8d24]
xor r15d, r15d
mov rax, qword [rdi + 0xd0]
mov rdx, r13
mov r12, qword [rdi + 0xe0]
mov qword [rbp - 0x80], rax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x1e0]
mov rax, qword [rdi + 0x10]
mov rbx, qword [r15 + rcx]
mov rcx, r12
vmovss xmm2, dword [rax + 0x3c]
call fcn.14005cda0
mov r14, rax
test rbx, rbx
je 0x1400874a3
mov rcx, qword [rbp - 0x80]
lea rax, str.norm
mov dword [rbp + 0x20], esi
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r14
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140087c99
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x68]
call qword [rax + 0x10]
mov r8, rbx
mov rdx, r14
mov rcx, r12
call fcn.14005b1e0
mov r14, rax
lea rax, str.attn_norm
mov dword [rbp + 0x20], esi
mov qword [rbp - 0x68], rax
mov rax, qword [rdi + 0xd0]
mov qword [rbp - 0x70], r14
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140087ce7
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x70]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov r8, r14
mov rcx, qword [rdi + 0xe0]
mov rdx, qword [rax + 0x1e0]
mov rdx, qword [r15 + rdx + 0x50]
call fcn.14005b390
mov rcx, qword [rdi + 0xd0]
mov rbx, rax
lea rax, str.Qcur
mov dword [rbp + 0x20], esi
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], rbx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140087ce1
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x70]
call qword [r10 + 0x10]
mov rax, qword [rdi]
mov r8, r14
mov rcx, qword [rdi + 0xe0]
mov rdx, qword [rax + 0x1e0]
mov rdx, qword [r15 + rdx + 0x58]
call fcn.14005b390
mov rcx, qword [rdi + 0xd0]
mov r12, rax
lea rax, str.Kcur
mov dword [rbp + 0x20], esi
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], r12
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140087cdb
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x70]
call qword [r10 + 0x10]
mov rax, qword [rdi]
mov r8, r14
mov rcx, qword [rdi + 0xe0]
mov rdx, qword [rax + 0x1e0]
mov rdx, qword [r15 + rdx + 0x60]
call fcn.14005b390
lea rcx, str.Vcur
mov dword [rbp + 0x20], esi
mov qword [rbp - 0x68], rcx
mov rcx, qword [rdi + 0xd0]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x58], rax
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140087cd5
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x70]
call qword [r10 + 0x10]
movsxd rax, dword [rdi + 0xb0]
mov rdx, rbx
mov r9, qword [rdi + 0x50]
mov r8, qword [rdi + 0x40]
mov rcx, qword [rdi + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.14005ca30
vmovss xmm0, dword [rdi + 0xa4]
vmovss xmm1, dword [rdi + 0xa0]
mov rbx, qword [rbp + 0x38]
mov rdx, rax
mov eax, dword [rdi + 0xc0]
mov r9d, ebx
mov r8, qword [rbp + 0x30]
mov rcx, qword [rdi + 0xe0]
vmovss dword [rsp + 0x60], xmm0
vmovss xmm0, dword [rdi + 0x9c]
vmovss dword [rsp + 0x58], xmm1
vmovss xmm1, dword [rdi + 0x98]
vmovss dword [rsp + 0x50], xmm0
vmovss xmm0, dword [rdi + 0x94]
vmovss dword [rsp + 0x48], xmm1
vmovss xmm1, dword [rdi + 0x90]
vmovss dword [rsp + 0x40], xmm0
vmovss dword [rsp + 0x38], xmm1
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 0xcc]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call fcn.14005d080
lea rcx, str.Qcur
mov dword [rbp + 0x20], esi
mov qword [rbp - 0x68], rcx
mov rcx, qword [rdi + 0xd0]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x80], rax
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140087ccf
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x70]
call qword [r10 + 0x10]
movsxd rax, dword [rdi + 0xb0]
mov rdx, r12
mov r9, qword [rdi + 0x58]
mov r8, qword [rdi + 0x40]
mov rcx, qword [rdi + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.14005ca30
vmovss xmm0, dword [rdi + 0xa4]
vmovss xmm1, dword [rdi + 0xa0]
mov r8, qword [rbp + 0x30]
mov rdx, rax
mov eax, dword [rdi + 0xc0]
mov r9d, ebx
mov rcx, qword [rdi + 0xe0]
vmovss dword [rsp + 0x60], xmm0
vmovss xmm0, dword [rdi + 0x9c]
vmovss dword [rsp + 0x58], xmm1
vmovss xmm1, dword [rdi + 0x98]
vmovss dword [rsp + 0x50], xmm0
vmovss xmm0, dword [rdi + 0x94]
vmovss dword [rsp + 0x48], xmm1
vmovss xmm1, dword [rdi + 0x90]
vmovss dword [rsp + 0x40], xmm0
vmovss dword [rsp + 0x38], xmm1
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 0xcc]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call fcn.14005d080
lea rcx, str.Kcur
mov dword [rbp + 0x20], esi
mov qword [rbp - 0x68], rcx
mov rcx, qword [rdi + 0xd0]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x50], rax
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140087cc9
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x70]
call qword [r10 + 0x10]
mov rbx, qword [rdi]
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, qword [rbp + 0x38]
vxorps xmm0, xmm0, xmm0
vucomiss xmm0, xmm1
mov r12, qword [rbx + 0x1e0]
ja 0x1400877de
vsqrtss xmm0, xmm1, xmm1
jmp 0x1400877e7
vmovaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rax, qword [rdi + 0xd0]
xor ecx, ecx
mov r9, qword [rdi + 0x18]
mov rdx, rbx
mov r8, qword [rdi + 0x10]
mov dword [rsp + 0x90], esi
mov qword [rsp + 0x88], rax
mov eax, dword [rdi + 0xb4]
vdivss xmm0, xmm6, 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 - 0x60]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [r15 + r12 + 0x68]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rdi + 0xe0]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x20], rax
call fcn.140093cd0
mov rdx, qword [rdi + 0x38]
mov r12, rax
dec rdx
movsxd rcx, esi
mov qword [rbp - 0x80], rax
cmp rcx, rdx
jne 0x1400878ed
mov rcx, rdi
call fcn.14007e0a0
mov rcx, qword [rdi + 0xe0]
mov r8, rax
mov rdx, r14
mov rbx, rax
call fcn.140059480
mov rcx, qword [rdi + 0xe0]
mov r8, rbx
mov rdx, r12
mov r14, rax
call fcn.140059480
mov rcx, qword [rdi + 0xe0]
mov r8, rbx
mov rdx, r13
mov qword [rbp - 0x80], rax
call fcn.140059480
mov qword [rbp + 0x28], rax
mov rcx, qword [rdi]
mov r8, r14
mov rbx, qword [rdi + 0xe0]
mov r13, qword [rdi + 0xd0]
mov rdx, qword [rcx + 0x1e0]
mov rcx, rbx
mov rax, qword [rdx + r15 + 0xc8]
mov qword [rbp - 0x70], rax
mov rax, qword [rdx + r15 + 0xc0]
mov rdx, qword [rdx + r15 + 0xd0]
mov qword [rbp - 0x68], rax
call fcn.14005b390
mov rcx, qword [r13 + 0x38]
mov r12, rax
mov dword [rbp + 0x20], esi
lea rax, str.ffn_up
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], r12
test rcx, rcx
je 0x140087cc3
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
call qword [r10 + 0x10]
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x1400879b3
mov r8, r14
mov rdx, rax
mov rcx, rbx
call fcn.14005b390
mov rcx, qword [r13 + 0x38]
mov r14, rax
mov dword [rbp + 0x20], esi
lea rax, str.ffn_gate
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], r14
test rcx, rcx
je 0x140087c9f
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
call qword [r10 + 0x10]
jmp 0x1400879b6
mov r14, r12
mov rdx, r14
mov rcx, rbx
call fcn.14005d6f0
mov rcx, qword [r13 + 0x38]
mov r14, rax
mov dword [rbp + 0x20], esi
lea rax, str.ffn_silu
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], r14
test rcx, rcx
je 0x140087cbd
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
call qword [r10 + 0x10]
mov r8, r12
mov rdx, r14
mov rcx, rbx
call fcn.14005b1e0
mov rcx, qword [r13 + 0x38]
mov r14, rax
mov dword [rbp + 0x20], esi
lea rax, str.ffn_gate_par
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], r14
test rcx, rcx
je 0x140087cb7
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
call qword [r10 + 0x10]
mov rdx, qword [rbp - 0x70]
mov r8, r14
mov rcx, rbx
call fcn.14005b390
mov rcx, qword [rdi + 0xd0]
mov rbx, rax
lea rax, str.ffn_out
mov dword [rbp + 0x20], esi
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], rbx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140087cb1
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
call qword [r10 + 0x10]
mov r8, qword [rbp - 0x80]
mov rdx, rbx
mov rcx, qword [rdi + 0xe0]
call fcn.140034d20
mov rcx, qword [rdi + 0xd0]
lea r14, str.l_out
mov dword [rbp + 0x20], esi
mov rbx, rax
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], rax
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140087cab
mov r10, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
call qword [r10 + 0x10]
mov r8, qword [rbp + 0x28]
mov rdx, rbx
mov rcx, qword [rdi + 0xe0]
call fcn.140034d20
mov qword [rbp - 0x58], rax
mov r13, rax
mov qword [rbp + 0x28], rax
mov rax, qword [rdi + 0xd0]
mov dword [rbp + 0x20], esi
mov qword [rbp - 0x50], r14
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140087ca5
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
call qword [rax + 0x10]
inc esi
add r15, 0x178
movsxd rax, esi
cmp rax, qword [rdi + 0x38]
jl 0x140087421
mov r12, qword [rbp - 0x78]
mov rax, qword [rdi]
mov rdx, r13
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 0x140087bb2
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 0x140087c93
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 0x140087ced
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 0x140087c8d
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, r12
call fcn.140034f20
mov r15, qword [rsp + 0xf8]
mov rax, r12
mov r14, qword [rsp + 0x100]
mov r13, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
vmovaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0x120
pop r12
pop rdi
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