Function at 0x140003400
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3e0
mov qword [rbp + 0x148], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14005d030]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov rsi, rdx
mov qword [rbp - 0x38], rdx
mov qword [rbp + 0x150], rdx
xor r15d, r15d
lea ebx, [r15 + 1]
cmp qword [0x140060288], 0xffffffffffffffff
jne 0x140003478
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140060288], rax
cmp qword [0x140060290], 0xffffffffffffffff
jne 0x140003499
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140060290], rax
cmp qword [0x1400602d0], 0xffffffffffffffff
jne 0x1400034ba
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400602d0], rax
cmp qword [0x1400602d8], 0xffffffffffffffff
jne 0x1400034db
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400602d8], rax
cmp qword [0x1400602e0], 0xffffffffffffffff
jne 0x1400034fc
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400602e0], rax
cmp qword [0x1400603b8], 0xffffffffffffffff
jne 0x14000351d
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400603b8], rax
cmp qword [0x1400603c0], 0xffffffffffffffff
jne 0x14000353e
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400603c0], rax
cmp qword [0x1400602e8], 0xffffffffffffffff
jne 0x14000355f
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400602e8], rax
cmp qword [0x1400602f0], 0xffffffffffffffff
jne 0x140003580
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400602f0], rax
cmp qword [0x1400602f8], 0xffffffffffffffff
jne 0x1400035a1
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400602f8], rax
cmp qword [0x140060300], 0xffffffffffffffff
jne 0x1400035c2
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140060300], rax
cmp qword [0x140060308], 0xffffffffffffffff
jne 0x1400035e3
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140060308], rax
lea r13, [0x1400600f0]
cmp qword [0x140060280], 0
jne 0x140003690
mov ecx, 0x10
call fcn.140024808
mov rbx, rax
mov qword [rbp - 0x40], rax
lea rax, [0x140007890]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], r15d
mov ecx, 0x18
call fcn.140024808
mov qword [rax], r13
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rax + 8], xmm0
mov qword [rbp + 0x140], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140016ae0]
xor edx, edx
xor ecx, ecx
call fcn.14002aea4
mov qword [rbx], rax
test rax, rax
je 0x14000476b
mov rcx, qword [0x140060280]
mov qword [0x140060280], rbx
test rcx, rcx
je 0x14000368b
cmp dword [rcx + 8], 0
jne 0x140004765
mov edx, 0x10
call fcn.140024800
mov ebx, 1
mov dword [0x140060180], r15d
mov byte [0x140060338], 0
mov byte [0x140060398], 0
mov word [0x1400601c0], 0
mov byte [0x140060408], 0
mov qword [0x1400603f8], r15
lea rax, [0x1400603e8]
cmp qword [0x140060400], 8
cmovae rax, qword [0x1400603e8]
mov word [rax], r15w
mov byte [0x1400601c3], 0
mov r14, 0xffffffffffffffff
cmp qword [rsi], 0
je 0x14000377d
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400036fc
lock inc dword [rax + 8]
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [0x140060170], rax
mov rbx, qword [0x140060178]
mov qword [0x140060178], rcx
test rbx, rbx
je 0x140003748
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140003748
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140003748
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], r15
mov r8d, 0x22
lea rdx, str.initializing_device_event_listener
lea rcx, [rbp + 0x40]
call fcn.140015710
mov ebx, 1
mov edx, ebx
lea rcx, [rbp + 0x40]
call fcn.140002680
mov rcx, qword [0x140060320]
test rcx, rcx
je 0x140003799
mov rax, qword [0x140060388]
cmp qword [0x140060380], rax
jne 0x1400037e1
lea rax, [0x140060320]
mov qword [rsp + 0x20], rax
lea r9, [0x140050890]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x14004ee00]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400037da
mov rcx, qword [0x140060320]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x20]
test eax, eax
jne 0x1400046fc
mov rcx, qword [0x140060320]
mov qword [rbp - 0x50], r15
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
call qword [rax + 0x18]
movabs r12, 0x6666666666666667
test eax, eax
js 0x140004181
mov qword [rbp - 0x58], r15
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1400508a0]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x14004edf0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140003d7b
mov qword [rsp + 0x60], r15
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
lea r9, [rsp + 0x60]
xor edx, edx
lea r8d, [rdx + 0xf]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x60]
test eax, eax
js 0x140003d55
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
call qword [rax + 0x18]
test eax, eax
js 0x140003d3b
mov esi, r15d
cmp dword [rbp - 0x70], r15d
jbe 0x140003d3b
nop word [rax + rax]
mov qword [rsp + 0x58], r15
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
mov edx, esi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x58]
test eax, eax
js 0x140003d20
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
call qword [rax + 0x28]
test eax, eax
js 0x140003d06
mov qword [rsp + 0x78], r15
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
mov rdx, qword [rbp - 0x30]
call qword [rax + 0x28]
test eax, eax
js 0x140003ceb
cmp qword [rsp + 0x78], 0
je 0x140003ceb
lea rcx, [rbp + 0x230]
call fcn.1400024b0
nop
mov rcx, qword [rbp + 0x298]
mov rbx, qword [rsp + 0x78]
cmp rcx, rbx
je 0x140003927
test rbx, rbx
je 0x140003915
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x298]
mov qword [rbp + 0x298], rbx
test rcx, rcx
je 0x140003927
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r9, qword [rbp - 0x30]
mov rdx, r14
nop
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140003930
mov rax, qword [rbp + 0x260]
cmp rdx, rax
ja 0x14000397a
lea rdi, [rbp + 0x248]
cmp rax, 8
cmovae rdi, qword [rbp + 0x248]
mov qword [rbp + 0x258], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.140026830
mov word [rdi + rbx], r15w
jmp 0x140003986
lea rcx, [rbp + 0x248]
call fcn.140015b00
mov byte [rbp + 0x230], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], r15
mov qword [rbp + 0x188], r15
xor r8d, r8d
lea rdx, [0x14004bda8]
lea rcx, [rbp + 0x170]
call fcn.140015710
nop
mov qword [rbp - 0x68], r15
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r8, [rbp - 0x68]
xor edx, edx
call qword [rax + 0x20]
test eax, eax
js 0x140003ad3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], rax
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
lea r8, [rbp + 8]
lea rdx, [0x140051390]
call qword [rax + 0x28]
test eax, eax
js 0x140003ab6
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x170]
call fcn.140014a40
cmp qword [rbp + 0x180], 0
je 0x140003ab6
lea rcx, [rbp + 0x170]
cmp qword [rbp + 0x188], 8
cmovae rcx, qword [rbp + 0x170]
lea rdx, [rbp + 0x268]
call qword [sym.imp.ole32.dll_CLSIDFromString]
lea r9, [rbp + 0x170]
cmp qword [rbp + 0x188], 8
cmovae r9, qword [rbp + 0x170]
mov rdx, r14
nop
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140003a60
mov rax, qword [rbp + 0x290]
cmp rdx, rax
ja 0x140003aaa
lea rdi, [rbp + 0x278]
cmp rax, 8
cmovae rdi, qword [rbp + 0x278]
mov qword [rbp + 0x288], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.140026830
mov word [rdi + rbx], r15w
jmp 0x140003ab6
lea rcx, [rbp + 0x278]
call fcn.140015b00
lea rcx, [rbp + 8]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140003ad3
mov qword [rbp - 0x68], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
mov qword [rbp - 0x18], rcx
test rcx, rcx
je 0x140003ae7
mov rax, qword [rcx]
call qword [rax + 8]
lea r8, [rbp + 0x248]
cmp qword [rbp + 0x260], 8
cmovae r8, qword [rbp + 0x248]
lea rdx, [rbp + 0x278]
cmp qword [rbp + 0x290], 8
cmovae rdx, qword [rbp + 0x278]
lea r9, [rbp - 0x18]
lea rcx, [rbp + 0x238]
call fcn.1400208d0
mov rcx, qword [rsp + 0x58]
mov qword [rbp - 0x10], rcx
test rcx, rcx
je 0x140003b39
mov rax, qword [rcx]
call qword [rax + 8]
movups xmm0, xmmword [0x140051360]
movaps xmmword [rbp + 0x120], xmm0
mov eax, dword [reloc.OLEAUT32.dll_SysStringLen]
mov dword [rbp + 0x130], eax
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x120]
call fcn.140020700
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov qword [rbp - 8], rcx
test rcx, rcx
je 0x140003b79
mov rdx, qword [rcx]
call qword [rdx + 8]
movups xmm0, xmmword [0x140051d78]
movaps xmmword [rbp + 0x100], xmm0
mov eax, dword [0x140051d88]
mov dword [rbp + 0x110], eax
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x100]
call fcn.140020700
cmp ebx, 3
sete cl
je 0x140003bb1
cmp eax, 3
sete cl
mov byte [rbp + 0x232], cl
mov qword [rbp + 0x23c], r15
cmp dword [rbp + 0x238], 3
je 0x140003c17
lea rdx, [rbp + 0x158]
lea rcx, [0x14004eeb0]
call qword [sym.imp.PROPSYS.dll_InitPropVariantFromCLSID]
test eax, eax
js 0x140003c17
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rbp + 0x2c8]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x158]
mov r8d, 0x17
lea rdx, [0x14004edd0]
call qword [rax + 0x18]
lea rcx, [rbp + 0x158]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov rax, qword [0x140060388]
cmp rax, qword [0x140060390]
je 0x140003c43
lea rdx, [rbp + 0x230]
mov rcx, rax
call fcn.140016dc0
add qword [0x140060388], 0xa0
jmp 0x140003c59
lea r8, [rbp + 0x230]
mov rdx, rax
lea rcx, [0x140060380]
call fcn.140016440
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140003c6f
mov qword [rsp + 0x78], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140003c7f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rbp + 0x188]
cmp rdx, 8
jb 0x140003cc5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003cc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004779
call fcn.140024800
mov qword [rbp + 0x180], r15
mov qword [rbp + 0x188], 7
mov word [rbp + 0x170], r15w
lea rcx, [rbp + 0x230]
call fcn.1400032b0
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140003d06
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140003d20
mov qword [rsp + 0x58], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140003d2b
mov rax, qword [rcx]
call qword [rax + 0x10]
inc esi
cmp esi, dword [rbp - 0x70]
jb 0x140003880
mov ebx, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140003d55
mov qword [rsp + 0x60], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x140003d70
mov qword [rbp - 0x58], r15
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140003d7b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140003d8e
mov qword [rbp - 0x50], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], r15
mov r8d, 0x4e
lea rdx, str.DtsService::ApoControllerSystem::Initialize:Completed_DTS_endpont_Enumeration
lea rcx, [rbp + 0x60]
call fcn.140015710
mov edx, ebx
lea rcx, [rbp + 0x60]
call fcn.140002680
mov r8, qword [0x140060380]
mov rcx, qword [0x140060388]
cmp r8, rcx
je 0x14000416e
mov r13d, r15d
sub rcx, r8
mov rax, r12
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140004167
mov r12, r15
nop dword [rax + rax]
mov qword [rsp + 0x50], r15
mov rcx, qword [r8 + r12 + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x48]
test eax, eax
js 0x14000410b
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
call qword [rax + 0x40]
test eax, eax
js 0x140003e43
cmp dword [rbp - 0x80], 1
jne 0x140003e43
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov edx, ebx
call qword [rax + 0x48]
cmp byte [0x140060398], 0
jne 0x140003f55
mov qword [rbp - 0x60], r15
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
call qword [rax + 0x50]
test eax, eax
js 0x140003f4b
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov r8d, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
mov qword [rbp + 0x220], r15
mov qword [rbp + 0x228], r15
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp + 0x210]
call fcn.140015710
lea rdx, [rbp + 0x210]
lea rcx, [0x1400603e8]
call fcn.140014bb0
mov rdx, qword [rbp + 0x228]
cmp rdx, 8
jb 0x140003ef9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ef4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004785
call fcn.140024800
lea rcx, [0x1400603e8]
cmp qword [0x140060400], 8
cmovae rcx, qword [0x1400603e8]
mov qword [rsp + 0x20], 0x14
lea r9, str.DTS_Audio_Processing
mov rdx, qword [0x1400603f8]
call fcn.140015650
movzx ecx, byte [0x140060398]
cmp rax, 0xffffffffffffffff
cmovne ecx, ebx
mov byte [0x140060398], cl
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [0x140060380]
mov rbx, qword [rsp + 0x50]
cmp qword [rdi + r12 + 0x70], rbx
je 0x140003f90
test rbx, rbx
je 0x140003f76
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rdi + r12 + 0x70]
mov qword [rdi + r12 + 0x70], rbx
test rcx, rcx
je 0x140003f8b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x140060380]
mov rcx, qword [rax + r12 + 0x68]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x40]
mov qword [rbp - 0x48], r15
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
call qword [rax + 0x20]
test eax, eax
js 0x1400040d3
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
mov qword [rbp + 0x200], r15
mov qword [rbp + 0x208], r15
mov rdx, qword [rbp - 0x48]
mov r8, r14
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140003fe0
lea rcx, [rbp + 0x1f0]
call fcn.140015710
mov edi, r15d
cmp qword [rbp + 0x208], 8
setae sil
lea rbx, str.APO4_Music
mov r14, qword [rbp + 0x200]
mov r15, qword [rbp + 0x1f0]
nop dword [rax + rax]
mov r9, qword [rbx]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r9 + rax*2], 0
jne 0x140004030
lea rcx, [rbp + 0x1f0]
test sil, sil
cmovne rcx, r15
mov qword [rsp + 0x20], rax
mov rdx, r14
call fcn.140015650
cmp rax, 0xffffffffffffffff
jne 0x140004070
inc edi
add rbx, 8
lea rax, [0x14004eeb0]
cmp rbx, rax
jl 0x140004020
jmp 0x14000407c
mov rax, qword [0x140060380]
mov dword [rax + r12 + 0xc], edi
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdx, qword [rbp + 0x208]
cmp rdx, 8
jb 0x1400040cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400040c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000478b
call fcn.140024800
xor r15d, r15d
lea r14, [r15 - 1]
cmp dword [rbp - 0x80], 1
jne 0x1400040e6
mov rax, qword [0x140060380]
mov byte [rax + r12 + 4], 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400040fc
mov qword [rsp + 0x50], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000411b
mov rax, qword [rcx]
call qword [rax + 0x10]
inc r13d
add r12, 0xa0
mov rcx, qword [0x140060388]
mov r8, qword [0x140060380]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r13d
cmp rax, rdx
jb 0x140003e00
movabs r12, 0x6666666666666667
lea r13, [0x1400600f0]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14000417d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rsi, qword [rbp - 0x38]
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
mov r8d, 0x57
lea rdx, str.DtsService::ApoControllerSystem::Initialize:Completed:Setting_OpMode_for_each_endpoint
lea rcx, [rbp + 0x20]
call fcn.140015710
mov edx, ebx
lea rcx, [rbp + 0x20]
call fcn.140002680
call fcn.140013110
call fcn.140012320
test al, al
jne 0x14000433b
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], r15
mov qword [rbp + 0x1c8], 7
mov word [rbp + 0x1b0], r15w
lea rax, [rbp - 0x28]
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x28], r15
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], r15
mov r8d, 0x11
lea rdx, str.APO4_Bypass_Count
lea rcx, [rbp + 0x80]
call fcn.140015710
nop
lea r9, [rbp - 0x28]
lea r8, [rbp + 0x1b0]
lea rdx, [rbp + 0x80]
mov rcx, r13
call fcn.14000d390
test al, al
je 0x1400042f5
cmp qword [rbp + 0x1c0], 0
je 0x1400042f5
mov qword [rbp], r15
lea rax, [rbp - 0x38]
mov qword [rsp + 0x40], rax
lea rax, [rbp]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x6011f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareDTSAPO4x
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400042f5
mov rbx, qword [rbp]
lea rcx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 8
cmovae rcx, qword [rbp + 0x1b0]
call fcn.14002b818
mov dword [rbp - 0x78], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.BypassCount
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x1400042f5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 8
jb 0x14000433b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004336
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000477f
call fcn.140024800
cmp byte [0x140060310], 0
jne 0x140004462
cmp byte [0x140060398], 0
jne 0x140004462
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], r15
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], r15w
lea rax, [rbp - 0x20]
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x20], r15
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xb8], r15
mov r8d, 0x15
lea rdx, str.APO4_Rotation_Support
lea rcx, [rbp + 0xa0]
call fcn.140015710
nop
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x1d0]
lea rdx, [rbp + 0xa0]
mov rcx, r13
call fcn.14000d390
test al, al
je 0x140004406
cmp qword [rbp + 0x1e0], 0
je 0x140004406
lea rcx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 8
cmovae rcx, qword [rbp + 0x1d0]
call fcn.14002b818
test eax, eax
setne al
mov byte [0x140060310], al
jmp 0x14000440d
movzx eax, byte [0x140060310]
test al, al
jne 0x14000441c
call fcn.1400126a0
mov byte [0x140060310], al
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 8
jb 0x140004462
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000445d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004791
call fcn.140024800
lea rdx, [0x1400601a0]
call fcn.140012980
call fcn.1400050b0
call fcn.1400052e0
mov rcx, r13
call fcn.1400047a0
cmp byte [0x140060310], 0
je 0x1400044cc
cmp byte [0x140060398], 0
jne 0x1400045cc
lea rcx, [0x1400601c8]
call fcn.1400243a4
test eax, eax
jne 0x140004797
mov rcx, r13
call fcn.140013290
mov byte [0x140060311], al
mov rcx, r13
call fcn.14000ff70
lea rcx, [0x1400601c8]
call fcn.1400243ac
cmp byte [0x140060398], 0
jne 0x1400045cc
xorps xmm0, xmm0
movups xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1a0], r15
mov qword [rbp + 0x1a8], 7
mov word [rbp + 0x190], r15w
lea rax, [rbp - 0x40]
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x40], r15
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], r15
mov r8d, 0x24
lea rdx, str.APO4_Voice_Mode_Support_For_VoIP_App
lea rcx, [rbp + 0xc0]
call fcn.140015710
nop
lea r9, [rbp - 0x40]
lea r8, [rbp + 0x190]
lea rdx, [rbp + 0xc0]
mov rcx, r13
call fcn.14000d390
test al, al
je 0x140004586
cmp qword [rbp + 0x1a0], 0
je 0x140004586
lea rcx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rcx, qword [rbp + 0x190]
call fcn.14002b818
test eax, eax
setne byte [0x14006031c]
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 8
jb 0x1400045cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000475f
call fcn.140024800
cmp byte [0x14006031c], 0
je 0x1400046a9
cmp qword [0x140060460], 0
jne 0x1400046a9
mov r8, qword [0x140060380]
mov r9, qword [0x140060388]
cmp r8, r9
je 0x14000467b
mov edi, r15d
mov rcx, r9
sub rcx, r8
mov rax, r12
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14000467b
mov rbx, r15
cmp dword [r8 + rbx + 8], 3
je 0x140004650
mov rcx, qword [r8 + rbx + 0x98]
test rcx, rcx
je 0x140004650
mov rax, qword [rcx]
lea rdx, [0x1400600f8]
call qword [rax + 0x40]
mov r9, qword [0x140060388]
mov r8, qword [0x140060380]
inc edi
add rbx, 0xa0
mov rcx, r9
sub rcx, r8
mov rax, r12
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, edi
cmp rax, rdx
jb 0x140004620
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 0xbb8
mov dword [rsp + 0x20], 0xbb8
mov r9, r13
lea r8, [0x140013540]
xor edx, edx
lea rcx, [0x140060460]
call qword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], r15
mov qword [rbp + 0xf8], r15
mov r8d, 0x69
lea rdx, str.DtsService::ApoControllerSystem::Initialize:Completed:Enumerated_All_Content_Modes_for_each_DTS_endpoint
lea rcx, [rbp + 0xe0]
call fcn.140015710
mov edx, 1
lea rcx, [rbp + 0xe0]
call fcn.140002680
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400046fc
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14000472f
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000472f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x14000472f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1400247e0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14002bf94
nop
call fcn.14002b8c8
nop
mov dword [rdi], r15d
mov ecx, 6
call fcn.140023ebc
nop
call fcn.14002bf94
nop
call fcn.14002bf94
nop
call fcn.14002bf94
nop
call fcn.14002bf94
nop
call fcn.14002bf94
int3
mov ecx, eax
call fcn.140023e80
int3