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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x378
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x2e0], xmm6
mov qword [rbp + 0x2d8], 0xfffffffffffffffe
mov rdi, rdx
mov qword [rbp + 0x290], rcx
mov r15, qword [rdx]
mov r14, qword [rdx + 8]
mov rbx, r14
test r15, r15
jne 0x1401252fd
call fcn.14013744d
mov rbx, rax
mov r12, qword [rdi + 0x10]
mov rsi, qword [rdi + 0x18]
movzx r13d, word [rdi + 0x44]
mov al, 1
test al, 1
je 0x140125318
imul r13, r13
xor eax, eax
jmp 0x14012530c
test r13, r13
je 0x140125708
mov qword [rbp + 0x298], r14
mov dl, byte [rdi + 0x56]
lea r14, [rbp + 0x2b8]
mov rcx, r14
call fcn.14007a71c
xor eax, eax
mov byte [r14 + 0x18], al
mov qword [r14], 1
mov byte [r14 + 9], 2
mov byte [r14 + 0x14], al
mov al, byte [rdi + 0x49]
cmp al, 2
je 0x14012535d
mov byte [rbp + 0x2d1], al
mov al, byte [rdi + 0x4a]
cmp al, 2
je 0x14012536a
mov byte [rbp + 0x2c2], al
mov al, byte [rdi + 0x4b]
cmp al, 2
je 0x140125377
mov byte [rbp + 0x2c3], al
mov al, byte [rdi + 0x4c]
cmp al, 2
je 0x140125384
mov byte [rbp + 0x2c4], al
mov al, byte [rdi + 0x4d]
cmp al, 2
je 0x140125391
mov byte [rbp + 0x2c7], al
mov al, byte [rdi + 0x4e]
cmp al, 2
je 0x14012539e
mov byte [rbp + 0x2c5], al
mov al, byte [rdi + 0x4f]
cmp al, 2
je 0x1401253ab
mov byte [rbp + 0x2d2], al
mov al, byte [rdi + 0x50]
cmp al, 2
je 0x1401253b8
mov byte [rbp + 0x2d3], al
mov al, byte [rdi + 0x53]
cmp al, 2
je 0x1401253c5
mov byte [rbp + 0x2c6], al
mov al, byte [rdi + 0x51]
cmp al, 2
je 0x1401253d4
xor al, 1
mov byte [rbp + 0x2d5], al
mov al, byte [rdi + 0x52]
cmp al, 2
je 0x1401253e1
mov byte [rbp + 0x2cb], al
mov al, byte [rdi + 0x54]
cmp al, 2
je 0x1401253ee
mov byte [rbp + 0x2ce], al
mov qword [rbp + 0x2a0], r15
mov al, byte [rdi + 0x55]
cmp al, 2
je 0x140125409
test al, al
setne al
add al, al
mov byte [rbp + 0x2cf], al
cmp byte [rdi + 0x46], 0
je 0x14012543c
mov cl, byte [rdi + 0x47]
mov r14b, byte [rdi + 0x48]
call fcn.1401286f0
mov r15d, eax
mov ecx, r14d
call fcn.1401286f0
mov ecx, r15d
mov edx, eax
call fcn.14007aa1c
mov byte [rbp + 0x2c9], al
mov byte [rbp + 0x2ca], dl
movabs rax, 0x8000000000000000
mov qword [rbp + 0x250], rax
lea rcx, [rbp + 0x268]
mov dl, 6
call fcn.14007a71c
mov qword [rbp + 0x2a8], rsi
imul rsi, r12
mov rax, rsi
xor edx, edx
div r13
mov r14, rax
cmp rbx, rax
cmovb r14, rbx
lea rbx, [rbp + 0x140]
mov qword [rbx + 0x40], 0x280
mov qword [rbx + 0x48], 0x1e0
push 1
pop r13
mov qword [rbx + 0x50], r13
mov qword [rbx + 0x58], r13
mov qword [rbx + 0x60], r13
mov qword [rbx + 0x68], 0x1e
mov qword [rbx + 0x70], 8
and qword [rbx + 0xd4], 0
and qword [rbx + 0xb0], 0
mov dword [rbx + 0xdc], 0xf
and word [rbx + 0xec], 0
xor eax, eax
mov byte [rbx + 0xf2], al
and word [rbx + 0xf4], 0
mov byte [rbx + 0xf6], al
xor ecx, ecx
and qword [rbx + 0x78], 0
mov qword [rbx + 0x80], 0xc
mov qword [rbx + 0x88], pe_nt_image_headers64
and dword [rbx + 0x18], 0
and word [rbx + 0xf7], 0
mov qword [rbx + 0x90], 0x64
and dword [rbx + 0xe8], 0
mov dword [rbx + 0xd0], 1
movups xmm0, xmmword [rbp + 0x250]
movups xmmword [rbx], xmm0
mov rax, qword [rbp + 0x260]
mov qword [rbx + 0x10], rax
xorps xmm6, xmm6
and qword [rbx + 0xa8], 0
movups xmmword [rbx + 0x98], xmm6
movups xmm0, xmmword [rbp + 0x268]
movups xmm1, xmmword [rbp + 0x278]
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm1
and qword [rbx - 0x50], 0
mov byte [rbx - 8], cl
movups xmmword [rbx + 0x100], xmm6
mov eax, dword [rdi + 0x34]
mov dword [rbp + 0x2b0], eax
mov eax, dword [rdi + 0x30]
mov dword [rbp + 0x2b4], eax
mov r15, qword [rdi + 0x20]
mov rsi, qword [rdi + 0x28]
movups xmm0, xmmword [rbp + 0x2b8]
movups xmm1, xmmword [rbp + 0x2c8]
movups xmmword [rbp + 0x27c], xmm1
movups xmmword [rbp + 0x26c], xmm0
mov rcx, rbx
call fcn.14007a9dc
movabs rax, 0x8000000000000000
mov qword [rbx], rax
and dword [rbx + 0x18], 0
movups xmm0, xmmword [rbp + 0x268]
movups xmm1, xmmword [rbp + 0x278]
movups xmmword [rbx + 0x1c], xmm0
movups xmmword [rbx + 0x2c], xmm1
mov eax, dword [rbp + 0x288]
mov dword [rbx + 0x3c], eax
mov qword [rbx + 0x40], r12
mov rax, qword [rbp + 0x2a8]
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], r13
mov qword [rbx + 0x58], r13
mov qword [rbx + 0x60], r13
mov qword [rbx + 0x68], r13
mov qword [rbx + 0x70], r15
movups xmmword [rbx + 0x78], xmm6
and qword [rbx + 0x88], 0
mov qword [rbx + 0x90], rsi
movups xmmword [rbx + 0x98], xmm6
mov qword [rbx + 0xa8], r14
mov eax, dword [rbp + 0x2b4]
mov dword [rbx + 0xb0], eax
and dword [rbx + 0xb4], 0
mov qword [rbx + 0xd0], r13
mov eax, dword [rbp + 0x2b0]
mov dword [rbx + 0xd8], eax
mov eax, dword [rdi + 0x40]
mov dword [rbx + 0xe4], eax
mov rax, qword [rdi + 0x38]
mov qword [rbx + 0xdc], rax
and dword [rbx + 0xe8], 0
and word [rbx + 0xec], 0
xor eax, eax
mov byte [rbx + 0xf2], al
mov dword [rbx + 0xf4], 0x100
mov byte [rbx + 0xf8], sil
lea rdi, [rbp - 0x60]
lea rbx, [rbp + 0xf0]
mov r8d, 0x150
mov rcx, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rsi, qword [rbx + 0x158]
cmp qword [rbp + 0x2a0], 0
mov r14, qword [rbp + 0x298]
jne 0x1401256c7
mov r14, qword [rbp + 0x240]
mov r8d, 0x150
mov rbx, qword [rbp + 0x290]
mov rcx, rbx
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbx + 0x150], r14
mov qword [rbx + 0x158], rsi
movaps xmm6, xmmword [rbp + 0x2e0]
add rsp, 0x378
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ravif_0.11.5_src_av1encoder.rsmatrix_coefficientsbad_size
call fcn.1401c7110
int3