Function at 0x140049100
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1401a6c00]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov esi, r9d
mov rbx, r8
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x29], rcx
xor r15d, r15d
mov qword [rbp - 0x49], rcx
mov rdx, r8
call fcn.140012450
nop
lea rcx, [r14 + 0x20]
lea rdx, [rbx + 0x20]
call fcn.140012450
nop
lea rcx, [r14 + 0x40]
lea rdx, [rbx + 0x40]
call fcn.140012450
nop
mov qword [r14 + 0x60], rdi
mov dword [r14 + 0x68], esi
mov qword [r14 + 0x70], r15
mov qword [r14 + 0x78], r15
mov qword [r14 + 0x80], r15
mov qword [r14 + 0x88], r15
vpxor xmm0, xmm0, xmm0
vmovups xmmword [r14 + 0xa0], xmm0
mov qword [r14 + 0xb0], r15
mov qword [r14 + 0xb8], reloc.portaudio.dll_Ordinal_15
mov byte [r14 + 0xa0], r15b
lea rbx, [r14 + 0xc0]
mov qword [rbx], r15
mov qword [rbx + 8], r15
lea ecx, [r15 + 0x30]
call fcn.1400fcfc0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx], rax
mov qword [r14 + 0x108], r15
mov qword [r14 + 0x148], r15
mov byte [r14 + 0x6c], 1
mov byte [r14 + 0x90], 1
mov dword [r14 + 0x94], r15d
mov rcx, r14
call fcn.1400497a0
vmovss xmm1, dword [0x140150978]
mov rcx, r14
call fcn.140049f20
mov edx, 0x1f4000
mov rcx, qword [r14 + 0x60]
call qword [sym.imp.librtlsdr.dll_rtlsdr_set_sample_rate]
test eax, eax
jns 0x1400492c3
lea rcx, str.Failed_to_set_sampling_frequency_to__Hz___
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], 0x2e
mov dword [rbp - 0x21], 0x1f4000
mov dword [rbp - 0x11], eax
vmovups ymm0, ymmword [rbp - 0x21]
vmovups ymmword [rbp - 0x21], ymm0
mov qword [rbp - 0x39], Ordinal_23
lea rax, [rbp - 0x21]
mov qword [rbp - 0x31], rax
vmovups xmm0, xmmword [rbp - 0x39]
vmovdqa xmmword [rbp - 0x39], xmm0
vmovups xmm1, xmmword [rbp - 0x49]
vmovdqa xmmword [rbp - 0x49], xmm1
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
vzeroupper
call fcn.140048a50
nop
lea rdx, [rbp + 7]
mov rcx, rbx
call fcn.14004a190
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400492c3
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400492be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400492be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
xor edx, edx
mov rcx, qword [r14 + 0x60]
call qword [sym.imp.librtlsdr.dll_rtlsdr_set_bias_tee]
test eax, eax
jns 0x140049378
lea rcx, str.Failed_to_disable_bias_tee___
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], 0x1f
mov dword [rbp - 0x39], eax
vmovups xmm0, xmmword [rbp - 0x39]
vmovdqa xmmword [rbp + 7], xmm0
mov qword [rbp - 0x39], 1
lea rax, [rbp + 7]
mov qword [rbp - 0x31], rax
vmovups xmm0, xmmword [rbp - 0x39]
vmovdqa xmmword [rbp - 0x39], xmm0
vmovups xmm1, xmmword [rbp - 0x49]
vmovdqa xmmword [rbp - 0x49], xmm1
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x21]
call fcn.140048a50
nop
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.14004a190
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140049378
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049373
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049373
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov rcx, qword [r14 + 0x60]
call qword [sym.imp.librtlsdr.dll_rtlsdr_reset_buffer]
test eax, eax
jns 0x14004942b
lea rcx, str.Failed_to_reset_buffer___
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], 0x1b
mov dword [rbp + 7], eax
vmovups xmm0, xmmword [rbp + 7]
vmovdqa xmmword [rbp + 7], xmm0
mov qword [rbp - 0x39], 1
lea rax, [rbp + 7]
mov qword [rbp - 0x31], rax
vmovups xmm0, xmmword [rbp - 0x39]
vmovdqa xmmword [rbp - 0x39], xmm0
vmovups xmm1, xmmword [rbp - 0x49]
vmovdqa xmmword [rbp - 0x49], xmm1
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x21]
call fcn.140048a50
nop
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.14004a190
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x14004942b
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049426
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049426
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov ecx, Ordinal_17
call fcn.1400fcfc0
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140049488
mov ecx, 8
call fcn.1400fcfc0
test rax, rax
je 0x140049455
mov qword [rax], r14
jmp 0x140049458
mov rax, r15
mov qword [rbp - 0x39], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140048ea0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400494d6
jmp 0x14004948b
mov rbx, r15
mov rcx, qword [r14 + 0x70]
mov qword [r14 + 0x70], rbx
test rcx, rcx
je 0x1400494b0
cmp dword [rcx + 8], 0
je 0x1400494a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov edx, Ordinal_17
call fcn.1400fcffc
nop
mov rax, r14
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400fd350
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [rdi], r15d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3