Function at 0x14005a7f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbx
push r12
push r13
push r14
mov eax, 0x5968
call fcn.1400eb2b0
sub rsp, rax
mov r14, rcx
mov eax, 1
lock xadd dword [0x1401a5b28], eax
mov ebx, 0xffffffff
test eax, eax
jle 0x14005a843
nop
mov eax, ebx
lock xadd dword [0x1401a5b28], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
lock xadd dword [0x1401a5b28], eax
test eax, eax
jg 0x14005a820
xor r12d, r12d
mov qword [rsp + 0x5960], rsi
cmp byte [0x14011e298], r12b
lea r13, [0x1401a02f0]
mov qword [rsp + 0x5958], rdi
je 0x14005ad83
mov qword [rsp + 0x5950], r15
lea rcx, [rsp + 0x5998]
vmovaps xmmword [rsp + 0x5940], xmm6
vmovaps xmmword [rsp + 0x5930], xmm7
vmovaps xmmword [rsp + 0x5920], xmm8
vmovaps xmmword [rsp + 0x5910], xmm9
vmovaps xmmword [rsp + 0x5900], xmm10
vmovaps xmmword [rsp + 0x58f0], xmm11
vmovaps xmmword [rsp + 0x58e0], xmm12
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [rsp + 0x5998]
lea rcx, [rsp + 0x5998]
mov qword [0x1401a0240], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x5998]
lea rcx, [rsp + 0x59a0]
mov qword [0x1401a0248], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
vmovss xmm8, dword [0x1400f8d20]
vmovss xmm9, dword [0x1400f8d00]
vmovss xmm10, dword [0x1400f8d5c]
vmovss xmm11, dword [0x1400f8da0]
vmovss xmm7, dword [0x1400f8d24]
vmovss xmm12, dword [0x1400f8d14]
mov esi, r12d
lea r15, [0x1401a6dc0]
mov edi, r12d
lea r13, [0x140000000]
nop dword [rax]
movzx eax, si
vmovd xmm0, eax
vcvtph2ps xmm6, xmm0
vmulss xmm0, xmm6, xmm9
vmulss xmm1, xmm0, xmm6
vaddss xmm3, xmm1, xmm7
vmulss xmm2, xmm6, xmm8
vmulss xmm0, xmm3, xmm2
vmovss dword [r15], xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_tanhf
vaddss xmm2, xmm0, xmm7
vmulss xmm1, xmm6, xmm12
vmulss xmm3, xmm2, xmm1
vxorps xmm0, xmm0, xmm0
vmovss xmm2, xmm0, xmm3
vcvtps2ph xmm1, xmm2, 0
vmulss xmm0, xmm6, xmm10
vpextrw word [rdi + r13 + 0x120240], xmm1, 0
call sub.api_ms_win_crt_math_l1_1_0.dll_expf
vaddss xmm1, xmm0, xmm7
vdivss xmm1, xmm7, xmm1
vmulss xmm2, xmm1, xmm6
vxorps xmm0, xmm0, xmm0
vmovss xmm2, xmm0, xmm2
vcvtps2ph xmm1, xmm2, 0
vxorps xmm0, xmm6, xmm11
vpextrw word [rdi + r13 + 0x140240], xmm1, 0
call sub.api_ms_win_crt_math_l1_1_0.dll_expf
vaddss xmm1, xmm0, xmm7
vdivss xmm3, xmm6, xmm1
vxorps xmm2, xmm2, xmm2
vmovss xmm3, xmm2, xmm3
vcvtps2ph xmm1, xmm3, 0
vmovaps xmm0, xmm6
vpextrw word [rdi + r13 + 0x160240], xmm1, 0
call sub.api_ms_win_crt_math_l1_1_0.dll_expf
vxorps xmm1, xmm1, xmm1
vmovss xmm0, xmm1, xmm0
vcvtps2ph xmm2, xmm0, 0
inc esi
lea r15, [r15 + 4]
vpextrw word [rdi + r13 + 0x180240], xmm2, 0
lea rdi, [rdi + 2]
cmp esi, 0x10000
jl 0x14005a940
lea rcx, [rsp + 0x59a8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor edx, edx
mov byte [rsp + 0xa0], r12b
vpxor xmm0, xmm0, xmm0
mov r8d, 0x17a8
mov qword [rsp + 0xa8], r12
lea rcx, [rsp + 0xf8]
mov qword [rsp + 0xb0], r12
vmovdqu xmmword [rsp + 0xc0], xmm0
mov word [rsp + 0xb8], r12w
mov byte [rsp + 0xba], r12b
mov dword [rsp + 0xbc], r12d
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xf0], r12
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x18a0], r12d
mov r8d, 0x4020
lea rcx, [rsp + 0x18a4]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [rsp + 0x58c4], r12
lea r13, [0x1401a02f0]
mov qword [rsp + 0x58d0], rax
mov rcx, r13
mov dword [rsp + 0x58cc], r12d
mov r8d, 0x5838
lea rdx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll_memcpy
mov byte [0x1401a02f0], r12b
mov byte [0x1401a0350], r12b
mov byte [0x1401a03b0], r12b
mov byte [0x1401a0410], r12b
mov byte [0x1401a0470], r12b
mov byte [0x1401a04d0], r12b
mov byte [0x1401a0530], r12b
mov byte [0x1401a0590], r12b
mov byte [0x1401a05f0], r12b
mov byte [0x1401a0650], r12b
mov byte [0x1401a06b0], r12b
mov byte [0x1401a0710], r12b
mov byte [0x1401a0770], r12b
mov byte [0x1401a07d0], r12b
mov byte [0x1401a0830], r12b
mov byte [0x1401a0890], r12b
mov byte [0x1401a08f0], r12b
mov byte [0x1401a0950], r12b
mov byte [0x1401a09b0], r12b
mov byte [0x1401a0a10], r12b
mov byte [0x1401a0a70], r12b
mov byte [0x1401a0ad0], r12b
mov byte [0x1401a0b30], r12b
mov byte [0x1401a0b90], r12b
mov byte [0x1401a0bf0], r12b
mov byte [0x1401a0c50], r12b
mov byte [0x1401a0cb0], r12b
mov byte [0x1401a0d10], r12b
mov byte [0x1401a0d70], r12b
mov byte [0x1401a0dd0], r12b
mov byte [0x1401a0e30], r12b
mov byte [0x1401a0e90], r12b
mov byte [0x1401a0ef0], r12b
mov byte [0x1401a0f50], r12b
mov byte [0x1401a0fb0], r12b
mov byte [0x1401a1010], r12b
mov byte [0x1401a1070], r12b
mov byte [0x1401a10d0], r12b
mov byte [0x1401a1130], r12b
mov byte [0x1401a1190], r12b
mov byte [0x1401a11f0], r12b
mov byte [0x1401a1250], r12b
mov byte [0x1401a12b0], r12b
mov byte [0x1401a1310], r12b
mov byte [0x1401a1370], r12b
mov byte [0x1401a13d0], r12b
lea rcx, [rsp + 0x98]
mov byte [0x1401a1430], r12b
mov byte [0x1401a1490], r12b
mov byte [0x1401a14f0], r12b
mov byte [0x1401a1550], r12b
mov byte [0x1401a15b0], r12b
mov byte [0x1401a1610], r12b
mov byte [0x1401a1670], r12b
mov byte [0x1401a16d0], r12b
mov byte [0x1401a1730], r12b
mov byte [0x1401a1790], r12b
mov byte [0x1401a17f0], r12b
mov byte [0x1401a1850], r12b
mov byte [0x1401a18b0], r12b
mov byte [0x1401a1910], r12b
mov byte [0x1401a1970], r12b
mov byte [0x1401a19d0], r12b
mov byte [0x1401a1a30], r12b
mov byte [0x1401a1a90], r12b
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
vmovaps xmm12, xmmword [rsp + 0x58e0]
vmovaps xmm11, xmmword [rsp + 0x58f0]
vmovaps xmm10, xmmword [rsp + 0x5900]
vmovaps xmm9, xmmword [rsp + 0x5910]
vmovaps xmm8, xmmword [rsp + 0x5920]
vmovaps xmm7, xmmword [rsp + 0x5930]
vmovaps xmm6, xmmword [rsp + 0x5940]
mov r15, qword [rsp + 0x5950]
mov byte [0x1401a0254], 1
mov word [0x1401a0267], 0x101
mov byte [0x1401a0269], 1
mov byte [0x1401a026b], 1
mov byte [0x1401a0273], 1
mov word [0x1401a0275], 0x101
mov byte [0x1401a027d], 1
mov byte [0x1401a027f], 1
mov byte [0x1401a028b], 1
mov byte [0x1401a029b], 1
mov byte [0x1401a0291], 1
mov byte [0x1401a02eb], 1
mov byte [0x14011e298], r12b
mov ecx, r12d
lea rdx, [0x1401a1af0]
mov rax, r13
cmp byte [rax], r12b
je 0x14005adaf
inc ecx
add rax, 0x60
cmp rax, rdx
jl 0x14005ad90
lock xadd dword [0x1401a5b28], ebx
xor eax, eax
jmp 0x14005af3e
movsxd rax, ecx
lea rdi, [r13 + 8]
lea rcx, [rax + rax*2]
shl rcx, 5
mov byte [rcx + r13], 1
add rdi, rcx
jne 0x14005add7
lock xadd dword [0x1401a5b28], ebx
xor eax, eax
jmp 0x14005af3e
mov rcx, qword [r14]
mov edx, 0x10
mov rsi, qword [r14 + 8]
test rcx, rcx
cmove rcx, rdx
test rsi, rsi
je 0x14005adfb
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rsi
jmp 0x14005ae13
add rcx, 0xf
and rcx, 0xfffffffffffffff0
mov qword [rsp + 0x30], rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_malloc]
mov qword [rsp + 0x38], rax
movzx eax, byte [r14 + 0x10]
test rsi, rsi
mov byte [rsp + 0x41], al
sete byte [rsp + 0x40]
mov byte [rsp + 0x42], al
mov dword [rsp + 0x44], r12d
mov qword [rsp + 0x48], r12
vmovups ymm0, ymmword [rsp + 0x30]
vmovups ymmword [rdi], ymm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
vmovups ymm1, ymmword [rsp + 0x50]
vmovups ymmword [rdi + 0x20], ymm1
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
vmovups xmm0, xmmword [rsp + 0x70]
vmovups xmmword [rdi + 0x40], xmm0
mov qword [rsp + 0x80], r12
vmovsd xmm1, qword [rsp + 0x80]
vmovsd qword [rdi + 0x50], xmm1
mov rax, qword [rdi + 8]
test rax, rax
jne 0x14005aede
lea ecx, [rax + 1]
vzeroupper
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, 0xb03
lea r8, str.F:prog_llmllama.cppggml.c
mov rcx, rax
lea rdx, str.GGML_ASSERT:__s:_d:__s_n
lea rax, str.ctx__mem_buffer___NULL
mov qword [rsp + 0x20], rax
call fcn.140032e30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test al, 0xf
je 0x14005af33
mov ecx, 1
vzeroupper
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, 0xb05
lea r8, str.F:prog_llmllama.cppggml.c
mov rcx, rax
lea rdx, str.GGML_ASSERT:__s:_d:__s_n
lea rax, str.__uintptr_t___ctx__mem_buffer___GGML_MEM_ALIGN__0
mov qword [rsp + 0x20], rax
call fcn.140032e30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lock xadd dword [0x1401a5b28], ebx
mov rax, rdi
vzeroupper
mov rdi, qword [rsp + 0x5958]
mov rsi, qword [rsp + 0x5960]
add rsp, 0x5968
pop r14
pop r13
pop r12
pop rbx
ret