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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, r8
mov r8d, dword [rcx + 0x11c]
mov r12, rcx
mov rbp, rdx
mov esi, r9d
cmp r8d, r9d
jg 0x434e67
movsxd rax, dword [rcx + 0x124]
cmp r8d, eax
jl 0x434e4e
sub r8d, eax
lea rcx, [rcx + rax*2 + 0xa8]
mov rdx, rdi
movsxd rbx, r8d
lea r13, [r12 + 0xa8]
add rbx, rbx
mov r8, rbx
add rbx, rdi
call sub.msvcrt.dll_memcpy
mov eax, dword [r12 + 0x108]
cmp eax, 2
je 0x434d90
cmp eax, 3
je 0x434e10
cmp eax, 1
je 0x434dd0
movsxd r8, dword [r12 + 0x11c]
mov rdx, r13
mov rcx, rbp
add r8, r8
call sub.msvcrt.dll_memcpy
movsxd rax, dword [r12 + 0x120]
mov r8d, esi
mov rdx, rbx
sub r8d, dword [r12 + 0x11c]
movsxd r8, r8d
lea rcx, [rbp + rax*2]
add r8, r8
call sub.msvcrt.dll_memcpy
movsxd r8, dword [r12 + 0x124]
mov rcx, r13
sub esi, r8d
add r8, r8
movsxd rsi, esi
lea rdx, [rdi + rsi*2]
call sub.msvcrt.dll_memcpy
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r9d, dword [r12 + 0x11c]
mov r8, r13
mov rdx, rbp
mov rcx, r12
call fcn.004355d0
mov r9d, esi
mov r8, rbx
mov rcx, r12
movsxd rax, dword [r12 + 0x120]
sub r9d, dword [r12 + 0x11c]
lea rdx, [rbp + rax*2]
call fcn.004355d0
jmp 0x434d5e
mov r9d, dword [r12 + 0x11c]
mov r8, r13
mov rdx, rbp
mov rcx, r12
call fcn.00435920
mov r9d, esi
mov r8, rbx
mov rcx, r12
movsxd rax, dword [r12 + 0x120]
sub r9d, dword [r12 + 0x11c]
lea rdx, [rbp + rax*2]
call fcn.00435920
jmp 0x434d5e
mov r9d, dword [r12 + 0x11c]
mov r8, r13
mov rdx, rbp
mov rcx, r12
call 0x434e90
mov r9d, esi
mov r8, rbx
mov rcx, r12
movsxd rax, dword [r12 + 0x120]
sub r9d, dword [r12 + 0x11c]
lea rdx, [rbp + rax*2]
call 0x434e90
jmp 0x434d5e
mov r8d, 0xba
lea rdx, str..._silk_resampler.c
lea rcx, str.assertion_failed:_S__inputDelay___S__Fs_in_kHz
call fcn.0040b720
mov r8d, 0xb8
lea rdx, str..._silk_resampler.c
lea rcx, str.assertion_failed:_inLen___S__Fs_in_kHz
call fcn.0040b720
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x80]
mov edi, dword [rcx + 0x10c]
movsxd r12, dword [rcx + 0x114]
lea eax, [rdi + r12]
cdqe
lea rax, [rax*4 + 0xf]
mov rsi, rdx
mov qword [rbp + 0x30], rcx
and rax, 0xfffffffffffffff0
mov qword [rbp + 0x40], r8
mov dword [rbp + 0x48], r9d
call fcn.004582d0
sub rsp, rax
lea rdx, [rcx + 0x18]
lea r8, [r12*4]
lea r13, [rsp + 0x30]
mov qword [rbp - 0x48], rdx
mov rcx, r13
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0x30]
mov r14, qword [rbp + 0x30]
mov rbx, qword [rax + 0x128]
lea rax, [rbx + 4]
mov r9, rbx
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x110]
mov dword [rbp - 0x24], eax
cmp dword [rbp + 0x48], edi
cmovle edi, dword [rbp + 0x48]
lea rdx, [r13 + r12*4]
mov rcx, r14
mov r8, qword [rbp + 0x40]
mov dword [rsp + 0x20], edi
call fcn.004451e0
movsxd r12, dword [r14 + 0x114]
mov r11d, edi
shl r11d, 0x10
cmp r12d, 0x18
je 0x435213
cmp r12d, 0x24
jne 0x4351f0
xor r8d, r8d
mov r15d, dword [rbp - 0x24]
test r11d, r11d
jle 0x4351a3
mov eax, r8d
movsx rcx, word [rbx + 6]
sar eax, 0x10
cdqe
lea r10, [r13 + rax*4]
movsx rax, word [rbx + 4]
mov edx, dword [r10 + 0x88]
add edx, dword [r10 + 4]
movsxd rdx, edx
mov r9d, dword [r10 + 0x80]
add r9d, dword [r10 + 0xc]
imul rdx, rcx
mov ecx, dword [r10 + 0x8c]
add ecx, dword [r10]
movsxd r9, r9d
movsxd rcx, ecx
imul rcx, rax
sar rdx, 0x10
mov rax, rcx
sar rax, 0x10
lea ecx, [rdx + rax]
movsx rdx, word [rbx + 8]
mov eax, dword [r10 + 0x84]
add eax, dword [r10 + 8]
cdqe
imul rax, rdx
sar rax, 0x10
lea edx, [rcx + rax]
movsx rax, word [rbx + 0xa]
mov ecx, dword [r10 + 0x7c]
add ecx, dword [r10 + 0x10]
imul r9, rax
movsxd rcx, ecx
sar r9, 0x10
lea eax, [rdx + r9]
movsx r9, word [rbx + 0xc]
mov edx, dword [r10 + 0x78]
add edx, dword [r10 + 0x14]
imul rcx, r9
movsxd rdx, edx
sar rcx, 0x10
lea r9d, [rax + rcx]
movsx rcx, word [rbx + 0xe]
mov eax, dword [r10 + 0x74]
add eax, dword [r10 + 0x18]
imul rdx, rcx
cdqe
sar rdx, 0x10
lea ecx, [r9 + rdx]
movsx rdx, word [rbx + 0x10]
mov r9d, dword [r10 + 0x70]
add r9d, dword [r10 + 0x1c]
imul rax, rdx
movsxd r9, r9d
sar rax, 0x10
lea edx, [rcx + rax]
movsx rax, word [rbx + 0x12]
mov ecx, dword [r10 + 0x6c]
add ecx, dword [r10 + 0x20]
imul r9, rax
movsxd rcx, ecx
sar r9, 0x10
lea eax, [rdx + r9]
movsx r9, word [rbx + 0x14]
mov edx, dword [r10 + 0x68]
add edx, dword [r10 + 0x24]
imul rcx, r9
movsxd rdx, edx
sar rcx, 0x10
lea r9d, [rax + rcx]
movsx rcx, word [rbx + 0x16]
mov eax, dword [r10 + 0x64]
add eax, dword [r10 + 0x28]
imul rdx, rcx
cdqe
sar rdx, 0x10
lea ecx, [r9 + rdx]
movsx rdx, word [rbx + 0x18]
mov r9d, dword [r10 + 0x60]
imul rax, rdx
add r9d, dword [r10 + 0x2c]
movsxd r9, r9d
sar rax, 0x10
lea edx, [rcx + rax]
movsx rax, word [rbx + 0x1a]
mov ecx, dword [r10 + 0x5c]
add ecx, dword [r10 + 0x30]
imul r9, rax
movsxd rcx, ecx
sar r9, 0x10
lea eax, [rdx + r9]
movsx r9, word [rbx + 0x1c]
mov edx, dword [r10 + 0x58]
add edx, dword [r10 + 0x34]
imul rcx, r9
movsxd rdx, edx
sar rcx, 0x10
lea r9d, [rax + rcx]
movsx rcx, word [rbx + 0x1e]
mov eax, dword [r10 + 0x54]
add eax, dword [r10 + 0x38]
imul rdx, rcx
cdqe
sar rdx, 0x10
lea ecx, [r9 + rdx]
movsx rdx, word [rbx + 0x20]
imul rax, rdx
sar rax, 0x10
lea edx, [rcx + rax]
movsx rcx, word [rbx + 0x22]
mov eax, dword [r10 + 0x50]
add eax, dword [r10 + 0x3c]
cdqe
imul rax, rcx
movsx rcx, word [rbx + 0x24]
sar rax, 0x10
add eax, edx
mov edx, dword [r10 + 0x4c]
add edx, dword [r10 + 0x40]
movsxd rdx, edx
imul rdx, rcx
movsx rcx, word [rbx + 0x26]
sar rdx, 0x10
add edx, eax
mov eax, dword [r10 + 0x48]
add eax, dword [r10 + 0x44]
cdqe
imul rax, rcx
sar rax, 0x10
add eax, edx
mov edx, 0x7fff
sar eax, 5
add eax, 1
sar eax, 1
cmp eax, 0x7fff
jg 0x43518f
cmp eax, 0xffff8000
mov edx, 0xffff8000
cmovge edx, eax
add rsi, 2
add r8d, r15d
mov word [rsi - 2], dx
cmp r11d, r8d
jg 0x434f70
mov rdx, qword [rbp + 0x40]
movsxd rax, edi
sub dword [rbp + 0x48], edi
lea r8, [r12*4]
cmp dword [rbp + 0x48], 1
lea rdx, [rdx + rax*2]
mov qword [rbp + 0x40], rdx
lea rdx, [r13 + rax*4]
jle 0x4355b3
mov rcx, r13
call sub.msvcrt.dll_memcpy
mov edi, dword [r14 + 0x10c]
mov r9, qword [r14 + 0x128]
jmp 0x434f22
cmp r12d, 0x12
je 0x4353a4
mov r8d, 0x8b
lea rdx, str..._silk_resampler_private_down_FIR.c
lea rcx, [0x00474ec5]
call fcn.0040b720
xor r8d, r8d
mov r15d, dword [rbp - 0x24]
test r11d, r11d
jle 0x4351a3
nop
mov eax, r8d
movsx rcx, word [rbx + 4]
sar eax, 0x10
cdqe
lea r10, [r13 + rax*4]
movsx rax, word [rbx + 6]
mov r9d, dword [r10 + 0x58]
add r9d, dword [r10 + 4]
movsxd r9, r9d
mov edx, dword [r10 + 0x50]
add edx, dword [r10 + 0xc]
imul r9, rax
mov eax, dword [r10 + 0x5c]
add eax, dword [r10]
movsxd rdx, edx
cdqe
imul rax, rcx
mov ecx, dword [r10 + 0x54]
add ecx, dword [r10 + 8]
sar r9, 0x10
movsxd rcx, ecx
sar rax, 0x10
add eax, r9d
movsx r9, word [rbx + 8]
imul rcx, r9
sar rcx, 0x10
lea r9d, [rax + rcx]
movsx rcx, word [rbx + 0xa]
mov eax, dword [r10 + 0x4c]
add eax, dword [r10 + 0x10]
imul rdx, rcx
cdqe
sar rdx, 0x10
lea ecx, [r9 + rdx]
movsx rdx, word [rbx + 0xc]
mov r9d, dword [r10 + 0x48]
add r9d, dword [r10 + 0x14]
imul rax, rdx
movsxd r9, r9d
sar rax, 0x10
lea edx, [rcx + rax]
movsx rax, word [rbx + 0xe]
mov ecx, dword [r10 + 0x44]
add ecx, dword [r10 + 0x18]
imul r9, rax
movsxd rcx, ecx
sar r9, 0x10
lea eax, [rdx + r9]
movsx r9, word [rbx + 0x10]
mov edx, dword [r10 + 0x40]
add edx, dword [r10 + 0x1c]
imul rcx, r9
movsxd rdx, edx
sar rcx, 0x10
lea r9d, [rax + rcx]
movsx rcx, word [rbx + 0x12]
mov eax, dword [r10 + 0x3c]
add eax, dword [r10 + 0x20]
imul rdx, rcx
cdqe
sar rdx, 0x10
lea ecx, [r9 + rdx]
movsx rdx, word [rbx + 0x14]
imul rax, rdx
sar rax, 0x10
lea edx, [rcx + rax]
mov eax, dword [r10 + 0x38]
movsx rcx, word [rbx + 0x16]
add eax, dword [r10 + 0x24]
cdqe
imul rax, rcx
sar rax, 0x10
add eax, edx
mov edx, dword [r10 + 0x34]
add edx, dword [r10 + 0x28]
movsx rcx, word [rbx + 0x18]
movsxd rdx, edx
imul rdx, rcx
movsx rcx, word [rbx + 0x1a]
sar rdx, 0x10
add edx, eax
mov eax, dword [r10 + 0x30]
add eax, dword [r10 + 0x2c]
cdqe
imul rax, rcx
sar rax, 0x10
add eax, edx
mov edx, 0x7fff
sar eax, 5
add eax, 1
sar eax, 1
cmp eax, 0x7fff
jg 0x43538b
cmp eax, 0xffff8000
mov edx, 0xffff8000
cmovge edx, eax
add rsi, 2
add r8d, r15d
mov word [rsi - 2], dx
cmp r11d, r8d
jg 0x435220
jmp 0x4351a3
test r11d, r11d
jle 0x4351a3
mov eax, dword [r14 + 0x118]
mov qword [rbp - 0x38], rbx
xor r10d, r10d
mov rbx, qword [rbp - 0x40]
movsx rdx, ax
sub eax, 1
mov qword [rbp - 0x30], rdx
mov dword [rbp - 0x28], eax
nop dword [rax]
movzx edx, r10w
imul rdx, qword [rbp - 0x30]
mov eax, r10d
mov r15d, dword [rbp - 0x28]
sar eax, 0x10
cdqe
sar rdx, 0x10
lea rax, [r13 + rax*4]
lea ecx, [rdx + rdx*8]
sub r15d, edx
movsxd r9, dword [rax]
movsxd rcx, ecx
lea edx, [r15 + r15*8]
movsxd r15, dword [rax + 4]
lea rcx, [rbx + rcx*2]
movsxd rdx, edx
movsx r8, word [rcx + 2]
lea rdx, [rbx + rdx*2]
imul r15, r8
movsx r8, word [rcx]
imul r8, r9
movsxd r9, dword [rax + 8]
sar r15, 0x10
sar r8, 0x10
lea r8d, [r15 + r8]
movsx r15, word [rcx + 4]
imul r9, r15
sar r9, 0x10
lea r15d, [r8 + r9]
movsx r9, word [rcx + 6]
movsxd r8, dword [rax + 0xc]
imul r8, r9
sar r8, 0x10
lea r9d, [r15 + r8]
movsx r8, word [rcx + 8]
movsxd r15, dword [rax + 0x10]
imul r15, r8
sar r15, 0x10
lea r8d, [r9 + r15]
movsx r15, word [rcx + 0xa]
movsxd r9, dword [rax + 0x14]
imul r9, r15
sar r9, 0x10
lea r15d, [r8 + r9]
movsx r8, word [rcx + 0xc]
movsxd r9, dword [rax + 0x18]
imul r9, r8
movsxd r8, dword [rax + 0x1c]
sar r9, 0x10
add r9d, r15d
movsx r15, word [rcx + 0xe]
movsx rcx, word [rcx + 0x10]
imul r8, r15
movsxd r15, dword [rax + 0x20]
imul r15, rcx
movsxd rcx, dword [rax + 0x44]
sar r8, 0x10
add r8d, r9d
movsx r9, word [rdx]
sar r15, 0x10
add r15d, r8d
imul rcx, r9
movsxd r8, dword [rax + 0x40]
movsx r9, word [rdx + 2]
imul r8, r9
sar rcx, 0x10
add ecx, r15d
movsxd r15, dword [rax + 0x3c]
sar r8, 0x10
lea r9d, [rcx + r8]
movsx r8, word [rdx + 4]
movsxd rcx, dword [rax + 0x38]
imul r15, r8
sar r15, 0x10
lea r8d, [r9 + r15]
movsx r15, word [rdx + 6]
movsxd r9, dword [rax + 0x34]
imul rcx, r15
sar rcx, 0x10
lea r15d, [r8 + rcx]
movsx rcx, word [rdx + 8]
movsxd r8, dword [rax + 0x30]
imul r9, rcx
sar r9, 0x10
lea ecx, [r15 + r9]
movsx r9, word [rdx + 0xa]
imul r8, r9
sar r8, 0x10
lea r9d, [rcx + r8]
movsxd r8, dword [rax + 0x2c]
movsx rcx, word [rdx + 0xc]
imul r8, rcx
movsxd rcx, dword [rax + 0x28]
sar r8, 0x10
add r8d, r9d
movsx r9, word [rdx + 0xe]
imul rcx, r9
movsx r9, word [rdx + 0x10]
sar rcx, 0x10
add ecx, r8d
movsxd r8, dword [rax + 0x24]
mov eax, 0x7fff
imul r8, r9
sar r8, 0x10
add ecx, r8d
sar ecx, 5
add ecx, 1
sar ecx, 1
cmp ecx, 0x7fff
jg 0x435595
cmp ecx, 0xffff8000
mov eax, 0xffff8000
cmovge eax, ecx
add rsi, 2
add r10d, dword [rbp - 0x24]
mov word [rsi - 2], ax
cmp r11d, r10d
jg 0x4353d0
mov rbx, qword [rbp - 0x38]
jmp 0x4351a3
mov rcx, qword [rbp - 0x48]
call sub.msvcrt.dll_memcpy
nop
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret