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

Disassembly:
push rbp
push rbx
push rdi
push r12
lea rbp, [rsp - 8]
sub rsp, 0x128
mov rdi, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0xe0]
mov edx, 0x2000
call fcn.14005ba50
mov r8, qword [rdi + 0x10]
mov r12, rax
mov qword [rbp + 0x38], rax
mov ebx, dword [r8 + 0x24]
mov edx, dword [r8 + 0x20]
mov qword [rbp - 0x78], rbx
cmp rbx, rdx
je 0x14008d8f8
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, 0x1c3f
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 rbx, rax
je 0x14008d954
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, 0x1c40
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 + 0x120], rsi
mov qword [rsp + 0x118], r13
mov qword [rsp + 0x110], r14
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0x198]
mov rcx, qword [rdi + 0xe0]
mov qword [rsp + 0x108], r15
vmovaps xmmword [rsp + 0xf0], xmm6
mov qword [rsp + 0x20], rax
vmovaps xmmword [rsp + 0xe0], xmm7
call fcn.1400934e0
mov rcx, rdi
mov r15, rax
call fcn.14007e140
mov dl, 1
mov qword [rbp - 0x70], rax
mov rcx, rdi
call fcn.14007ded0
mov dl, 1
mov qword [rbp - 0x60], rax
mov rcx, rdi
call fcn.14007dfb0
xor esi, esi
mov qword [rbp - 0x68], rax
cmp qword [rdi + 0x38], rsi
jle 0x14008e1b3
vmovss xmm7, dword [0x1400f8d24]
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, rbx
xor r14d, r14d
mov rax, qword [rdi + 0xd0]
mov rdx, r15
mov r13, qword [rdi + 0xe0]
mov qword [rbp + 0x40], rax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x1e0]
mov rax, qword [rdi + 0x10]
mov r12, qword [r14 + rcx]
mov rcx, r13
vmovss xmm2, dword [rax + 0x3c]
call fcn.14005cda0
mov rbx, rax
test r12, r12
je 0x14008da83
mov rcx, qword [rbp + 0x40]
lea rax, str.norm
mov dword [rbp + 0x30], esi
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x80], rbx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008e316
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x48]
lea rdx, [rbp - 0x80]
call qword [r10 + 0x10]
mov r8, r12
mov rdx, rbx
mov rcx, r13
call fcn.14005b1e0
mov rbx, rax
lea rax, str.attn_norm
mov dword [rbp + 0x30], esi
mov qword [rbp + 0x40], rax
mov rax, qword [rdi + 0xd0]
mov qword [rbp + 0x48], rbx
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14008e370
mov rax, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov r8, rbx
mov rcx, qword [rdi + 0xe0]
mov rdx, qword [rax + 0x1e0]
mov rdx, qword [r14 + rdx + 0x50]
call fcn.14005b390
mov rcx, qword [rdi + 0xd0]
mov r12, rax
lea rax, str.Qcur
mov dword [rbp + 0x30], esi
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], r12
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008e36a
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [r10 + 0x10]
mov rax, qword [rdi]
mov r8, rbx
mov rcx, qword [rdi + 0xe0]
mov rdx, qword [rax + 0x1e0]
mov rdx, qword [r14 + rdx + 0x58]
call fcn.14005b390
mov rcx, qword [rdi + 0xd0]
mov r13, rax
lea rax, str.Kcur
mov dword [rbp + 0x30], esi
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], r13
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008e364
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [r10 + 0x10]
mov rax, qword [rdi]
mov r8, rbx
mov rcx, qword [rdi + 0xe0]
mov rdx, qword [rax + 0x1e0]
mov rdx, qword [r14 + rdx + 0x60]
call fcn.14005b390
lea rcx, str.Vcur
mov dword [rbp + 0x30], esi
mov qword [rbp + 0x40], rcx
mov rcx, qword [rdi + 0xd0]
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x58], rax
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008e35e
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [r10 + 0x10]
movsxd rax, dword [rdi + 0xb0]
mov rdx, r12
mov rbx, qword [rbp - 0x78]
mov r9, qword [rdi + 0x50]
mov r8, rbx
mov rcx, qword [rdi + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.14005ca30
vmovss xmm0, dword [rdi + 0xa4]
vmovss xmm1, dword [rdi + 0xa0]
mov r12, qword [rbp - 0x70]
mov rdx, rax
mov eax, dword [rdi + 0xc0]
mov r8, r12
mov r9d, dword [rdi + 0x40]
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 + 0x30], esi
mov qword [rbp + 0x40], rcx
mov rcx, qword [rdi + 0xd0]
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x80], rax
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008e358
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [r10 + 0x10]
movsxd rax, dword [rdi + 0xb0]
mov r8, rbx
mov r9, qword [rdi + 0x58]
mov rdx, r13
mov rcx, qword [rdi + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.14005ca30
vmovss xmm0, dword [rdi + 0xa4]
vmovss xmm1, dword [rdi + 0xa0]
mov r9d, dword [rdi + 0x40]
mov rdx, rax
mov eax, dword [rdi + 0xc0]
mov r8, r12
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
mov rcx, qword [rdi + 0xd0]
mov r13, rax
lea rax, str.Kcur
mov dword [rbp + 0x30], esi
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], r13
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008e352
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [r10 + 0x10]
mov rbx, qword [rdi]
vxorps xmm0, xmm0, xmm0
vucomiss xmm0, xmm6
mov r12, qword [rbx + 0x1e0]
ja 0x14008ddb5
vsqrtss xmm0, xmm6, xmm6
jmp 0x14008ddbe
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 - 0x68]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x60]
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 [r14 + r12 + 0x68]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x38]
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
cmp rcx, rdx
jne 0x14008deab
mov rcx, rdi
call fcn.14007e0a0
mov rcx, qword [rdi + 0xe0]
mov r8, rax
mov rdx, r12
mov rbx, rax
call fcn.140059480
mov rcx, qword [rdi + 0xe0]
mov r8, rbx
mov rdx, r15
mov r12, rax
call fcn.140059480
mov r15, rax
mov rcx, qword [rdi + 0xe0]
mov r8, r15
mov rdx, r12
call fcn.140034d20
mov rcx, qword [rdi + 0xd0]
mov rbx, rax
mov qword [rbp - 0x50], rax
lea rax, str.ffn_inp
mov dword [rbp + 0x30], esi
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rbx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008e34c
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [r10 + 0x10]
mov rax, qword [rdi]
mov rdx, rbx
mov r12, qword [rdi + 0xe0]
mov r13, qword [rdi + 0xd0]
mov rcx, qword [rax + 0x1e0]
mov rax, qword [rdi + 0x10]
mov r15, qword [rcx + r14 + 0xa0]
mov rcx, r12
vmovss xmm2, dword [rax + 0x3c]
call fcn.14005cda0
mov rbx, rax
test r15, r15
je 0x14008df7c
mov rcx, qword [r13 + 0x38]
lea rax, str.norm
mov dword [rbp + 0x30], esi
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rbx
test rcx, rcx
je 0x14008e31c
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
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 + 0x30], esi
mov qword [rbp + 0x40], rax
mov rax, qword [rdi + 0xd0]
mov qword [rbp + 0x48], rbx
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14008e346
mov rax, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov r8, rbx
mov r15, qword [rdi + 0xe0]
mov r13, qword [rdi + 0xd0]
mov rcx, r15
mov rdx, qword [rax + 0x1e0]
mov rax, qword [rdx + r14 + 0xc8]
mov qword [rbp - 0x80], rax
mov rax, qword [rdx + r14 + 0xc0]
mov rdx, qword [rdx + r14 + 0xd0]
mov qword [rbp - 0x58], rax
call fcn.14005b390
mov rcx, qword [r13 + 0x38]
mov r12, rax
mov dword [rbp + 0x30], esi
lea rax, str.ffn_up
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], r12
test rcx, rcx
je 0x14008e340
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [r10 + 0x10]
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x14008e07a
mov r8, rbx
mov rdx, rax
mov rcx, r15
call fcn.14005b390
mov rcx, qword [r13 + 0x38]
mov rbx, rax
mov dword [rbp + 0x30], esi
lea rax, str.ffn_gate
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rbx
test rcx, rcx
je 0x14008e322
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [r10 + 0x10]
jmp 0x14008e07d
mov rbx, r12
mov rdx, rbx
mov rcx, r15
call fcn.14005d6f0
mov rcx, qword [r13 + 0x38]
mov rbx, rax
mov dword [rbp + 0x30], esi
lea rax, str.ffn_silu
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rbx
test rcx, rcx
je 0x14008e33a
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [r10 + 0x10]
mov r8, r12
mov rdx, rbx
mov rcx, r15
call fcn.14005b1e0
mov rcx, qword [r13 + 0x38]
mov rbx, rax
mov dword [rbp + 0x30], esi
lea rax, str.ffn_gate_par
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rbx
test rcx, rcx
je 0x14008e334
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [r10 + 0x10]
mov rdx, qword [rbp - 0x80]
mov r8, rbx
mov rcx, r15
call fcn.14005b390
mov rcx, qword [rdi + 0xd0]
mov rbx, rax
lea rax, str.ffn_out
mov dword [rbp + 0x30], esi
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rbx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008e32e
mov r10, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [r10 + 0x10]
mov r8, qword [rbp - 0x50]
mov rdx, rbx
mov rcx, qword [rdi + 0xe0]
call fcn.140034d20
mov r15, rax
mov dword [rbp + 0x30], esi
lea rax, str.l_out
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x40], rax
mov rax, qword [rdi + 0xd0]
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14008e328
mov rax, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call qword [rax + 0x10]
inc esi
add r14, 0x178
movsxd rax, esi
cmp rax, qword [rdi + 0x38]
jl 0x14008da00
mov r12, qword [rbp + 0x38]
mov rax, qword [rdi]
mov rdx, r15
mov r14, qword [rdi + 0xe0]
mov r13, 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 0x14008e22d
mov rcx, qword [r13 + 0x38]
lea rax, str.norm
mov dword [rbp + 0x30], 0xffffffff
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rbx
test rcx, rcx
je 0x14008e310
mov rax, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x40]
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 + 0x30], 0xffffffff
mov qword [rbp + 0x38], rax
mov rax, qword [rdi + 0xd0]
mov qword [rbp + 0x40], rbx
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14008e376
mov rax, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x40]
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 + 0x30], 0xffffffff
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rbx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14008e30a
mov rax, qword [rcx]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x40]
call qword [rax + 0x10]
mov rdx, rbx
mov rcx, r12
call fcn.140034f20
vmovaps xmm6, xmmword [rsp + 0xf0]
mov rax, r12
mov r15, qword [rsp + 0x108]
mov r14, qword [rsp + 0x110]
mov r13, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x120]
vmovaps xmm7, xmmword [rsp + 0xe0]
add rsp, 0x128
pop r12
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