Function at 0x18006a9f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xd8
lea eax, [rdx + 0xf]
mov r14, rcx
mov dword [rbp - 0x49], eax
cmp edx, eax
jae 0x18006b28b
mov r13, qword [rbp - 9]
movzx r15d, byte [rbp + 0x5f]
mov r12, qword [rbp - 0x31]
mov esi, dword [rbp - 0x71]
mov edx, dword [rbp + 0x5f]
lea eax, [rdx - 0x105]
lea rbx, [0x180000000]
cmp eax, 0x3f
ja case.0x18006aa67.276
movzx eax, byte [rbx + rax + 0x6b2e4]
mov ecx, dword [rbx + rax*4 + 0x6b2a4]
add rcx, rbx
jmp rcx
movsxd rcx, dword [rbp - 0x71]
xor r11d, r11d
mov rsi, rcx
mov qword [rbp - 0x59], rcx
cmp dword [rbp - 0x6d], r11d
jle 0x18006ac47
movzx r12d, byte [rsp + 0x40]
nop word [rax + rax]
mov r14d, 0x114
mov ebx, ecx
mov dword [rbp - 0x61], r14d
imul ebx, r11d
cmp r14d, 0x114
jne 0x18006ac1b
xor edi, edi
xor r9d, r9d
test rsi, rsi
jle 0x18006ac1b
movzx r14d, byte [rsp + 0x41]
movzx esi, byte [rsp + 0x42]
mov r10d, 0x70
mov dword [rbp - 0x69], r10d
mov eax, r10d
sub eax, 0x70
je 0x18006aaf8
sub eax, 1
je 0x18006aaef
cmp eax, 1
jne 0x18006abf4
inc qword [rbp - 0x41]
jmp 0x18006abf4
inc qword [rbp - 0x39]
jmp 0x18006abf4
mov rax, qword [rbp - 0x39]
movzx edx, byte [rax]
cmp dl, byte [r8]
jne 0x18006abf4
mov r10, qword [rbp - 0x41]
mov r8d, 0x80
cmp r8d, 0x80
je 0x18006ab93
cmp r8d, 0x1700
je 0x18006ab78
cmp r8d, 0x2d80
je 0x18006ab5a
cmp r8d, 0x4400
jne 0x18006abc9
cmp sil, dl
jne 0x18006ab4e
cmp r15b, dl
jne 0x18006ab4e
cmp r14b, dl
jne 0x18006ab4e
cmp r12b, dl
je 0x18006abc9
mov rax, qword [rbp + 0x7f]
movzx eax, byte [rax]
mov byte [r10], al
jmp 0x18006abc9
lea eax, [r11 + 1]
cmp eax, dword [rbp - 0x6d]
jge 0x18006ab72
imul eax, ecx
cdqe
add rax, r9
movzx r12d, byte [rax + r13]
jmp 0x18006abc9
movzx r12d, dl
jmp 0x18006abc9
lea eax, [rdi + 1]
cmp eax, ecx
jge 0x18006ab8d
movsxd rax, ebx
add rax, r9
movzx r14d, byte [rax + r13 + 1]
jmp 0x18006abc9
movzx r14d, dl
jmp 0x18006abc9
test r9, r9
je 0x18006aba6
movsxd rax, ebx
add rax, r9
movzx esi, byte [rax + r13 - 1]
jmp 0x18006aba9
movzx esi, dl
test r11d, r11d
je 0x18006abc5
lea eax, [r11 - 1]
imul eax, ecx
movsxd rcx, eax
add rcx, r9
movzx r15d, byte [rcx + r13]
mov ecx, dword [rbp - 0x71]
jmp 0x18006abc9
movzx r15d, dl
add r8d, 0x1680
cmp r8d, 0x5a00
jbe 0x18006ab12
mov r10d, dword [rbp - 0x69]
mov r8, qword [rbp + 0x67]
mov byte [rsp + 0x40], r12b
mov byte [rsp + 0x41], r14b
mov byte [rsp + 0x42], sil
inc r10d
mov dword [rbp - 0x69], r10d
cmp r10d, 0x73
jb 0x18006aad0
mov rsi, qword [rbp - 0x59]
inc edi
inc r9
cmp r9, rsi
jl 0x18006aac1
mov r14d, dword [rbp - 0x61]
add r14d, 0x3b4c
mov dword [rbp - 0x61], r14d
cmp r14d, 0x3b4c
jbe 0x18006aaa0
inc r11d
cmp r11d, dword [rbp - 0x6d]
jl 0x18006aa90
mov r12, qword [rbp - 0x31]
mov edx, dword [rbp + 0x5f]
mov esi, dword [rbp - 0x71]
inc edx
mov dword [rbp + 0x5f], edx
cmp edx, dword [rbp - 0x49]
jae 0x18006b28b
mov r8, qword [rbp + 0x67]
mov r14, qword [rbp + 0x57]
mov r9, qword [rbp + 0x6f]
jmp 0x18006aa3f
mov rcx, qword [rbp + 0x77]
mov rax, qword [r14]
movsxd r8, dword [r14 + 8]
mov qword [rbp - 0x41], rax
cmp dword [rcx], 0
mov rcx, rax
je 0x18006ac8d
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rbp + 0x5f]
jmp case.0x18006aa67.276
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [rbp + 0x5f]
jmp case.0x18006aa67.276
mov eax, 0x2a
nop
cmp eax, 0x2a
je 0x18006b204
add eax, 0x16ce
cmp eax, 0x16ce
jbe 0x18006aca0
mov r9d, 0x2f
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.1800aa6a0
cmp al, 0xf
jne 0x18006acd3
mov r14, qword [r14]
mov qword [rbp + 0x57], r14
mov r9d, 0x2f
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.1800aa6a0
cmp al, 8
jne 0x18006ad37
xor r9d, r9d
xor edx, edx
mov r8d, 0xc6
mov rcx, r14
call fcn.1800330d0
cmp eax, 1
jne 0x18006ad37
mov eax, 0xbe
cmp eax, 0xbe
je 0x18006ad1b
cmp eax, 0x182
je 0x18006b28b
jmp 0x18006ad23
mov dword [rsp + 0x48], 1
add eax, 0xc4
cmp eax, 0x246
jb 0x18006ad07
mov edx, dword [rbp + 0x5f]
jmp case.0x18006aa67.276
mov ecx, 0xa5
xor ebx, ebx
nop
mov eax, ecx
sub eax, 0xa5
je 0x18006ad54
cmp eax, 1
je 0x18006b28b
jmp 0x18006ad58
mov dword [rsp + 0x48], ebx
inc ecx
cmp ecx, 0xa7
jb 0x18006ad40
mov edx, dword [rbp + 0x5f]
jmp case.0x18006aa67.276
mov eax, dword [rbp - 0x6d]
lea r9, [rbp - 0x69]
mov dword [rbp - 0x69], eax
lea rdx, [rbp - 0x59]
lea rax, [rbp - 0x61]
mov dword [rbp - 0x61], 1
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x79]
mov r8, r14
mov dword [rsp + 0x20], 0x82
mov dword [rbp - 0x59], esi
mov byte [rbp - 0x79], 3
call fcn.1800afe10
mov edx, dword [rbp + 0x5f]
jmp case.0x18006aa67.276
mov r13, qword [r9]
jmp case.0x18006aa67.276
cmp qword [r14], 0
jne 0x18006ade3
mov ecx, 0xea
nop
mov eax, ecx
sub eax, 0xea
je 0x18006add4
cmp eax, 1
je 0x18006b28b
jmp 0x18006add9
mov byte [rsp + 0x48], 0
inc ecx
cmp ecx, 0xec
jb 0x18006adc0
mov r9, r14
mov dword [rbp - 0x59], 1
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, [rbp - 0x59]
mov ecx, 0x9e
call fcn.180068550
mov edx, dword [rbp + 0x5f]
jmp case.0x18006aa67.276
mov qword [rsp + 0x28], 0
lea r8, [0x18000dda0]
mov r9, r14
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [rbp + 0x5f]
mov qword [r14], rax
jmp case.0x18006aa67.276
mov rax, qword [r14 + 0x1e0]
test rax, rax
je case.0x18006aa67.276
mov r8d, dword [r8]
mov rcx, r14
mov edx, dword [r9]
call rax
mov edx, dword [rbp + 0x5f]
jmp case.0x18006aa67.276
mov esi, dword [r9 + 0xc]
mov dword [rbp - 0x71], esi
mov qword [rbp - 0x39], r13
jmp case.0x18006aa67.276
mov eax, dword [r9 + 0x10]
mov dword [rbp - 0x6d], eax
jmp case.0x18006aa67.276
mov r9d, 0x2f
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.1800aa6a0
movzx ecx, al
dec ecx
cmp ecx, 9
ja case.default.0x18006aeac
movsxd rax, ecx
mov ecx, dword [rbx + rax*4 + 0x6b324]
add rcx, rbx
jmp rcx
mov eax, 0x11c
cmp eax, 0x11c
je 0x18006b1d4
add eax, 0x13f8
cmp eax, 0x13f8
jbe 0x18006aeb3
mov ecx, 0x99
nop
mov eax, ecx
sub eax, 0x98
je 0x18006b28b
cmp eax, 1
jne 0x18006aeed
movsd xmm0, qword [r14]
movsd qword [rsp + 0x48], xmm0
dec ecx
cmp ecx, 0x97
ja 0x18006aed0
mov ebx, 0x9b
nop dword [rax]
mov eax, ebx
sub eax, 0x9b
je 0x18006af14
cmp eax, 0x69
je 0x18006b28b
jmp 0x18006af29
mov rcx, qword [r14]
xor edx, edx
add rcx, 0x18
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtod]
movsd qword [rsp + 0x48], xmm0
add ebx, 0x69
cmp ebx, 0x16d
jb 0x18006af00
mov eax, 0xc6
nop dword [rax]
cmp eax, 0xc6
je 0x18006b1e8
add eax, 0x3f
cmp eax, 0x105
jb 0x18006af40
mov edi, 0x8b
xor ebx, ebx
nop dword [rax]
mov eax, edi
sub eax, 0x89
je 0x18006b12a
sub eax, 1
je 0x18006af83
cmp eax, 1
jne 0x18006b16f
mov dword [rbp - 0x21], ebx
jmp 0x18006b16f
mov rax, qword [r14]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x18006aff1
mov r8d, 5
lea rdx, [rbp - 0x29]
mov rcx, r14
call rax
cmp eax, 0xffffffff
jne 0x18006b16f
xor r9d, r9d
mov dword [rbp - 0x59], 5
xor r8d, r8d
lea rcx, [rbp - 0x59]
mov edx, 0xe4
call fcn.1800403f0
mov rcx, qword [r14]
mov r9, rax
mov rdx, qword [rcx + 0x10]
mov ecx, 0x1000
mov r8, qword [rdx + 8]
lea rdx, str.content::MediaStreamManager::DoEnumerateDevices
add r8, 0x18
call fcn.1800eba40
jmp 0x18006b16f
cmp qword [rcx + 0x48], 0
je 0x18006b16f
mov ebx, 0xf
cmp ebx, 0xf
je 0x18006b112
cmp ebx, 0x933
jne 0x18006b0f8
mov r14, qword [rbp - 9]
mov r9d, 0x2f
mov rcx, r14
xor r8d, r8d
xor edx, edx
call fcn.1800aa6a0
cmp al, 8
je 0x18006b0f4
mov r8d, dword [rbp - 0x51]
mov edx, 0xa2
mov r9, qword [rbp - 0x11]
mov r10, qword [rbp - 0x19]
mov r11d, dword [rbp - 0x4d]
mov dword [rbp - 0x51], r8d
nop
mov eax, edx
sub eax, 0xa2
je 0x18006b0b3
sub eax, 0x26
je 0x18006b0aa
cmp eax, 0x26
jne 0x18006b0ba
mov ecx, 0xc1
nop dword [rax + rax]
mov eax, ecx
sub eax, 0xc1
je 0x18006b095
sub eax, 0x4f
je 0x18006b08a
cmp eax, 0x4f
jne 0x18006b099
mov dword [r12 + 8], r11d
jmp 0x18006b099
mov qword [r12], r10
mov dword [r12 + 4], r8d
jmp 0x18006b099
mov r8d, dword [r9 + 4]
add ecx, 0x4f
cmp ecx, 0x1ae
jb 0x18006b070
mov dword [rbp - 0x51], r8d
jmp 0x18006b0ba
mov r10, qword [r9]
mov r11d, dword [r9 + 8]
jmp 0x18006b0ba
lea r12, [rbp - 0x29]
mov r9, r14
add edx, 0x26
cmp edx, 0x114
jb 0x18006b050
xor eax, eax
mov qword [rbp - 0x11], r9
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rbp - 0x4d], r11d
lea r9d, [rax + 0x6b]
mov qword [rbp - 0x19], r10
mov qword [rsp + 0x20], rax
call fcn.1800a74e0
mov r14, qword [rbp + 0x57]
add ebx, 0x924
cmp ebx, 0x1248
jbe 0x18006b001
mov qword [rbp - 0x31], r12
xor ebx, ebx
jmp 0x18006b16f
mov rax, qword [r14]
lea rdx, [rbp - 0x29]
mov rcx, r14
mov r8, qword [rax + 0x18]
call qword [r8 + 0x48]
mov qword [rbp - 9], rax
jmp 0x18006b0f8
mov r9d, 0x2f
lea rcx, [rbp - 0x29]
xor r8d, r8d
xor edx, edx
call fcn.1800aa6a0
cmp al, 5
jne 0x18006b1f1
movsd xmm0, qword [rbp - 0x29]
mov ecx, 0x70
mov eax, ecx
sub eax, 0x70
je 0x18006b162
cmp eax, 1
je 0x18006b28b
jmp 0x18006b168
movsd qword [rsp + 0x48], xmm0
inc ecx
cmp ecx, 0x72
jb 0x18006b150
dec edi
cmp edi, 0x88
ja 0x18006af60
mov eax, 0x97
cmp eax, 0x97
je 0x18006b19a
cmp eax, 0x71d7
jne 0x18006b1a5
mov edx, 0x141
jmp case.0x18006aa67.276
mov r14, qword [r14]
add r14, 8
mov qword [rbp + 0x57], r14
add eax, 0x7140
cmp eax, 0xe280
jbe 0x18006b182
mov eax, 0x3f
cmp eax, 0x3e
je case.0x18006aa67.274
dec eax
cmp eax, 0x3d
ja 0x18006b1b6
mov edx, dword [rbp + 0x5f]
jmp case.0x18006aa67.276
mov edx, 0x143
jmp case.0x18006aa67.276
movd xmm0, dword [r14]
cvtdq2pd xmm0, xmm0
movsd qword [rsp + 0x48], xmm0
jmp 0x18006b28b
mov rax, qword [r14]
cmp dword [rax + 0x1c], 0
je 0x18006b204
movsd xmm0, qword [0x180174550]
movsd qword [rsp + 0x48], xmm0
jmp 0x18006b28b
xorps xmm0, xmm0
movsd qword [rsp + 0x48], xmm0
jmp 0x18006b28b
mov eax, 0xdc
xorps xmm0, xmm0
nop word [rax + rax]
cmp eax, 0xdc
je 0x18006b230
cmp eax, 0x9588
je 0x18006b28b
jmp 0x18006b236
movsd qword [rsp + 0x48], xmm0
add eax, 0x94ac
cmp eax, 0x12958
jbe 0x18006b220
movsd xmm0, qword [0x180174550]
mov eax, 0xf2
nop
cmp eax, 0xf2
je 0x18006b260
cmp eax, 0x1d4e
je 0x18006b28b
jmp 0x18006b266
movsd qword [rsp + 0x48], xmm0
add eax, 0x1c5c
cmp eax, 0x38b8
jbe 0x18006b250
mov rax, qword [r14]
movd xmm0, dword [rax + 8]
cvtdq2pd xmm0, xmm0
movsd qword [rsp + 0x48], xmm0
jmp 0x18006b28b
mov byte [rsp + 0x48], 1
mov rax, qword [rsp + 0x48]
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret