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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
vmovaps xmmword [rax - 0x38], xmm6
vmovaps xmmword [rax - 0x48], xmm7
vmovaps xmmword [rax - 0x58], xmm8
vmovaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x1401a6c00]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rdx
mov qword [rsp + 0x28], rdx
mov rsi, rcx
lea rax, str.MSC_dab_subchannel_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], reloc.portaudio.dll_Ordinal_21
movzx eax, byte [rcx + 0x3c]
mov dword [rbp - 0x30], eax
vmovups xmm0, xmmword [rbp - 0x30]
vmovdqa xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x60], 2
lea rax, [rbp - 0x30]
mov qword [rsp + 0x68], rax
vmovups xmm0, xmmword [rsp + 0x60]
vmovdqa xmmword [rbp - 0x80], xmm0
vmovups xmm1, xmmword [rsp + 0x40]
vmovdqa xmmword [rbp - 0x70], xmm1
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x20]
call fcn.140048a50
nop
mov rdi, qword [0x1401ac660]
cmp qword [rbp + 0x30], 0
je 0x14005dba0
lea rbx, [rdi + 0x250]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14005e127
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14005e132
lea rcx, [rbp - 0x20]
call fcn.140059b90
nop
mov r8, rax
lea rdx, [rbp]
lea rcx, [rdi + 0x1a8]
call fcn.14000e5e0
mov rcx, qword [rax]
add rcx, 0x30
lea rax, [rbp + 0x20]
cmp rcx, rax
je 0x14005db54
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
call fcn.14001b7d0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14005db93
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005db8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005db8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
nop
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
mov rbx, qword [rsp + 0x28]
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14005dbde
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dbd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dbd9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov eax, dword [rbx + 8]
mov ecx, dword [rsi + 0x2c]
cmp eax, ecx
je 0x14005dcdb
lea rdx, str.Got_incorrect_number_of_MSC_bits__
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], 0x26
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x10], ecx
vmovups ymm0, ymmword [rbp - 0x20]
vmovups ymmword [rbp - 0x20], ymm0
mov qword [rsp + 0x60], reloc.portaudio.dll_Ordinal_17
lea rax, [rbp - 0x20]
mov qword [rsp + 0x68], rax
vmovups xmm0, xmmword [rsp + 0x60]
vmovdqa xmmword [rbp - 0x30], xmm0
vmovups xmm1, xmmword [rsp + 0x40]
vmovdqa xmmword [rbp - 0x80], xmm1
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x80]
lea rcx, [rbp]
vzeroupper
call fcn.140048a50
nop
lea rcx, [rbp]
call fcn.14005d680
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14005dc96
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dc91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dc91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400fd350
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
vmovaps xmm6, xmmword [r11 - 0x10]
vmovaps xmm7, xmmword [r11 - 0x20]
vmovaps xmm8, xmmword [r11 - 0x30]
vmovaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r15, [rsi + 0x49]
mov rcx, r15
call fcn.140058c40
test al, al
je 0x14005dc96
xor edx, edx
mov dword [rsp + 0x50], edx
cmp dword [rsi + 0x1c], edx
jle 0x14005dc96
lea r12d, [rdx + 4]
vmovss xmm7, dword [0x140153c04]
vmovss xmm8, dword [0x1401509fc]
vmovss xmm9, dword [0x140155088]
movzx edi, word [rsp + 0x36]
mov r8, qword [rbx]
movsxd rax, dword [rsi + 0x38]
mov rcx, rax
imul eax, edx
movsxd rdx, eax
lea rax, [r8 + rdx]
cmp rcx, 0xffffffffffffffff
jne 0x14005dd38
mov rcx, qword [rbx + 8]
sub rcx, rdx
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rcx
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0x70]
call fcn.140111b40
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14005e0fa
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rcx
mov rbx, qword [rsi + 0x110]
mov r14, qword [rsi + 0x118]
cmp rbx, r14
je 0x14005ddb7
vmovups xmm6, xmmword [rbp - 0x40]
nop word [rax + rax]
vmovdqa xmmword [rsp + 0x70], xmm6
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14005e11b
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + Ordinal_17]
add rbx, 0x40
cmp rbx, r14
jne 0x14005dd90
mov rcx, r15
call fcn.140058c40
test al, al
je 0x14005e0f5
mov rcx, qword [rsi + 0xc8]
call fcn.14011b980
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsi + 0xc8]
call fcn.14011b990
mov rcx, qword [rsi + 0xd0]
call fcn.14011a400
test eax, eax
je 0x14005e112
mov edx, eax
mov rcx, qword [rsi + 0xd0]
call fcn.140119260
mov r13, rax
test rax, rax
je 0x14005e112
mov byte [rsi + 0xf8], 0
mov rcx, qword [rsi + 0xd0]
call fcn.14011a850
mov ebx, eax
mov rcx, qword [rsi + 0xd0]
call fcn.14011a870
mov r14d, eax
mov rcx, qword [rsi + 0xd0]
call fcn.14011a8a0
mov dword [rsp + 0x70], eax
cmp r14d, 2
sete byte [rbp - 0x60]
mov dword [rbp - 0x5c], ebx
vmovsd xmm1, qword [rbp - 0x60]
mov dword [rsp + 0x68], eax
mov byte [rsp + 0x6c], 1
vmovups xmm0, xmmword [rsp + 0x60]
vmovsd xmm0, xmm0, xmm1
vmovups xmmword [rsp + 0x60], xmm0
vmovups xmmword [rsi + 0xfc], xmm0
mov rcx, r15
call fcn.140058c60
test al, al
je 0x14005df15
mov rcx, qword [rsi + 0xc8]
call fcn.14011b8b0
mov r10, rax
mov eax, ebx
cdq
idiv r14d
mov ecx, 2
cmp eax, 0x38
cmovge ecx, r12d
mov r9, qword [rsp + 0x48]
mov r8d, r9d
sub r8d, ecx
sub r8d, r10d
sub r8d, 2
js 0x14005df15
movsxd rcx, r10d
mov rdx, qword [rsp + 0x40]
add rdx, rcx
sub r9, rcx
lea rcx, [r9 - 2]
add rcx, rdx
movsxd rax, r8d
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], 2
vmovups xmm0, xmmword [rbp - 0x70]
vmovdqa xmmword [rbp - 0x20], xmm0
vmovups xmm1, xmmword [rbp - 0x80]
vmovdqa xmmword [rbp], xmm1
lea r8, [rbp - 0x20]
lea rdx, [rbp]
mov rcx, qword [rsi + 0xf0]
call fcn.140117d40
mov rcx, r15
call fcn.140058c70
test al, al
je 0x14005e0f5
mov eax, dword [r13 + 8]
add eax, eax
mov r14d, eax
lea r15, [rsi + 0xd8]
mov r12, qword [r15 + 8]
mov rdx, qword [r15]
mov rcx, r12
sub rcx, rdx
sar rcx, 1
cmp r14, rcx
jae 0x14005df50
lea rax, [rdx + rax*2]
jmp 0x14005df8e
jbe 0x14005df92
mov rax, qword [r15 + 0x10]
sub rax, rdx
sar rax, 1
cmp r14, rax
jbe 0x14005df73
lea r8, [rsp + 0x20]
mov rdx, r14
mov rcx, r15
call fcn.14005cf90
jmp 0x14005df92
mov rax, r14
sub rax, rcx
lea rbx, [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
lea rax, [r12 + rbx]
mov qword [r15 + 8], rax
xor edx, edx
cmp r14, 4
jb 0x14005e03f
lea r9, [r14 - 3]
lea r8, [r13 + 0x10]
nop word [rax + rax]
vmovss xmm0, dword [r8 - 4]
vmaxss xmm1, xmm0, xmm7
vminss xmm2, xmm1, xmm8
vmulss xmm3, xmm2, xmm9
vcvttss2si ecx, xmm3
mov rax, qword [r15]
mov word [rax + rdx*2], cx
vmovss xmm0, dword [r8]
vmaxss xmm1, xmm0, xmm7
vminss xmm2, xmm1, xmm8
vmulss xmm3, xmm2, xmm9
vcvttss2si ecx, xmm3
mov rax, qword [r15]
mov word [rax + rdx*2 + 2], cx
vmovss xmm0, dword [r8 + 4]
vmaxss xmm1, xmm0, xmm7
vminss xmm2, xmm1, xmm8
vmulss xmm3, xmm2, xmm9
vcvttss2si ecx, xmm3
mov rax, qword [r15]
mov word [rax + rdx*2 + 4], cx
vmovss xmm0, dword [r8 + 8]
vmaxss xmm1, xmm0, xmm7
vminss xmm2, xmm1, xmm8
vmulss xmm3, xmm2, xmm9
vcvttss2si ecx, xmm3
mov rax, qword [r15]
mov word [rax + rdx*2 + 6], cx
add rdx, 4
lea r8, [r8 + 0x10]
cmp rdx, r9
jb 0x14005dfb0
cmp rdx, r14
jae 0x14005e07a
lea r8, [r13 + 0xc]
lea r8, [r8 + rdx*4]
vmovss xmm0, dword [r8]
vmaxss xmm1, xmm0, xmm7
vminss xmm2, xmm1, xmm8
vmulss xmm3, xmm2, xmm9
vcvttss2si ecx, xmm3
mov rax, qword [rsi + 0xd8]
mov word [rax + rdx*2], cx
inc rdx
lea r8, [r8 + 4]
cmp rdx, r14
jb 0x14005e04c
mov rax, qword [rsi + 0xd8]
mov qword [rbp - 0x30], rax
lea rax, [r14 + r14]
mov qword [rbp - 0x28], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov word [rsp + 0x34], 0x102
mov word [rsp + 0x36], di
mov r14, qword [rsi + 0x80]
mov r15, qword [rsi + 0x88]
cmp r14, r15
je 0x14005e0eb
vmovups xmm6, xmmword [rbp - 0x30]
mov rbx, qword [rsp + 0x30]
nop
vmovdqa xmmword [rbp], xmm6
mov qword [rsp + 0x70], rbx
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x14005e121
mov rax, qword [rcx]
lea r8, [rbp]
lea rdx, [rsp + 0x70]
call qword [rax + Ordinal_17]
add r14, 0x40
cmp r14, r15
jne 0x14005e0c0
mov r12d, 4
lea r15, [rsi + 0x49]
mov rbx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x50]
inc edx
mov dword [rsp + 0x50], edx
cmp edx, dword [rsi + 0x1c]
jge 0x14005dc96
jmp 0x14005dd17
mov byte [rsi + 0xf8], 1
jmp 0x14005e0f5
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
nop
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3