Function at 0x1400a5520
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
cmp qword [rcx + 0x150], 0
jne 0x1400a556d
xor eax, eax
jmp 0x1400a5cab
xor edx, edx
add rcx, 0x248
call fcn.14015f68c
lea rcx, [rdi + 0x330]
xor edx, edx
call fcn.14015f68c
xor edx, edx
lea rcx, [rdi + 0x418]
call fcn.14015f68c
xor edx, edx
lea rcx, [rdi + 0x500]
call fcn.14015f68c
lea r14, [rdi + 0x5e8]
xor edx, edx
mov rcx, r14
call fcn.14015f68c
lea rsi, [rdi + 0x6d0]
xor edx, edx
mov rcx, rsi
call fcn.14015f68c
mov rax, qword [rdi + 0x150]
xor r15d, r15d
cmp dword [rax + 0x3c], r15d
je 0x1400a581f
lea edx, [r15 + 5]
lea rcx, [rdi + 0x500]
call fcn.14015f68c
xor r9d, r9d
mov edx, 0x414
lea r8d, [r15 + 0x14]
mov rcx, qword [rdi + 0x540]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9d, [r15 + 1]
xor r8d, r8d
mov edx, 0x417
mov rcx, qword [rdi + 0x540]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9d, [r15 + 0x14]
xor r8d, r8d
mov edx, 0x415
mov rcx, qword [rdi + 0x540]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea r9d, [r15 + 1]
lea r8d, [r15 + 0x64]
lea rcx, [rdi + 0x500]
call fcn.140168d00
mov rcx, qword [rdi + 0x148]
lea r15, [rdi + 0x7b8]
test rcx, rcx
je 0x1400a5676
mov r9d, 0x957
lea r8, [rdi + 0x500]
mov rdx, r15
call fcn.14003db50
jmp 0x1400a568b
mov r8d, 0x957
lea rdx, [rdi + 0x500]
mov rcx, r15
call fcn.14003dac0
mov dword [rbp - 0x65], 0
mov rcx, qword [rdi + 0x150]
mov rax, qword [rcx]
lea rdx, [rbp - 0x65]
call qword [rax + 0x40]
test eax, eax
je 0x1400a581c
mov eax, dword [rbp - 0x65]
test al, 1
jne 0x1400a581c
cmp eax, 2
jb 0x1400a581c
xor ebx, ebx
mov rax, qword [rdi + 0x148]
lea edx, [rbx + 1]
test dword [rax + 0x13c], 0x10000000
je 0x1400a56ec
mov rcx, qword [rdi + 0x158]
test rcx, rcx
je 0x1400a56ec
cmp dword [rcx + 0xc8], edx
cmove ebx, edx
test dword [rax + 0x38], 0x100
je 0x1400a570b
mov rcx, qword [rdi + 0x158]
test rcx, rcx
je 0x1400a570b
cmp dword [rcx + 0xc8], 4
cmove ebx, edx
test rax, rax
je 0x1400a575a
mov rcx, qword [rdi + 0x158]
test rcx, rcx
je 0x1400a575a
mov dword [rbp - 0x61], 0
mov rcx, qword [rcx + 0x28]
sub rcx, 0x18
call fcn.140012250
add rax, 0x18
mov qword [rbp - 0x39], rax
lea r8, [rbp - 0x61]
lea rdx, [0x1403961a8]
lea rcx, [rbp - 0x39]
call fcn.1401028d0
test eax, eax
je 0x1400a575a
cmp dword [rbp - 0x61], 0
jne 0x1400a581c
test ebx, ebx
jne 0x1400a581c
lea edx, [rbx + 5]
lea rcx, [rdi + 0x418]
call fcn.14015f68c
lea edx, [rbx + 5]
lea rcx, [rdi + 0x248]
call fcn.14015f68c
lea edx, [rbx + 5]
lea rcx, [rdi + 0x330]
call fcn.14015f68c
mov r13d, 1
mov r9d, r13d
xor r8d, r8d
mov edx, 0x417
mov rcx, qword [rdi + 0x458]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9d, [rbx + 5]
xor r8d, r8d
mov edx, 0x415
mov rcx, qword [rdi + 0x458]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, r13d
lea edx, [rbx - 0xa]
lea r8d, [rbx + 0xa]
lea rcx, [rdi + 0x418]
call fcn.140168d00
mov rcx, qword [rdi + 0x148]
test rcx, rcx
je 0x1400a5802
mov r9d, 0x956
lea r8, [rdi + 0x418]
mov rdx, r15
call fcn.14003db50
xor r15d, r15d
jmp 0x1400a5825
mov r8d, 0x956
lea rdx, [rdi + 0x418]
mov rcx, r15
call fcn.14003dac0
xor r15d, r15d
jmp 0x1400a5825
xor r15d, r15d
mov r13d, 1
mov rax, qword [rdi + 0x150]
cmp dword [rax + 0x34], 0
je 0x1400a5877
mov edx, 5
mov rcx, r14
call fcn.14015f68c
mov rcx, qword [rdi + 0x148]
test rcx, rcx
je 0x1400a5862
lea rdx, [rdi + 0x7b8]
mov r9d, 0x958
mov r8, r14
call fcn.14003db50
jmp 0x1400a5877
lea rcx, [rdi + 0x7b8]
mov r8d, 0x958
mov rdx, r14
call fcn.14003dac0
mov rax, qword [rdi + 0x150]
cmp dword [rax + 0x44], 0
jne 0x1400a588e
cmp dword [rax + 0x4c], 0
je 0x1400a592b
mov edx, 5
mov rcx, rsi
call fcn.14015f68c
mov rcx, qword [rdi + 0x148]
test rcx, rcx
je 0x1400a58be
lea rdx, [rdi + 0x7b8]
mov r9d, 0x95f
mov r8, rsi
call fcn.14003db50
jmp 0x1400a58d3
lea rcx, [rdi + 0x7b8]
mov r8d, 0x95f
mov rdx, rsi
call fcn.14003dac0
mov rax, qword [rdi + 0x150]
cmp dword [rax + 0x34], 0
jne 0x1400a592b
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
test r14, r14
je 0x1400a5907
lea rdx, [rbp + 7]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.140160bc4
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, dword [rbp + 0xb]
mov r8d, dword [rbp + 7]
xor edx, edx
mov rcx, rsi
call fcn.14015f5bc
mov rax, qword [rdi + 0x150]
cmp dword [rax + 0x58], 0
je 0x1400a5ca8
mov edx, 5
mov rcx, rsi
call fcn.14015f68c
mov rcx, qword [rdi + 0x148]
test rcx, rcx
je 0x1400a596c
lea rdx, [rdi + 0x7b8]
mov r9d, 0xc7c
mov r8, rsi
call fcn.14003db50
jmp 0x1400a5981
lea rcx, [rdi + 0x7b8]
mov r8d, 0xc7c
mov rdx, rsi
call fcn.14003dac0
mov rax, qword [rdi + 0x150]
cmp dword [rax + 0x34], 0
jne 0x1400a59d9
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
test r14, r14
je 0x1400a59b5
lea rdx, [rbp + 0x17]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp + 0x17]
mov rcx, rdi
call fcn.140160bc4
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, dword [rbp + 0x1b]
mov r8d, dword [rbp + 0x17]
xor edx, edx
mov rcx, rsi
call fcn.14015f5bc
mov rax, qword [rdi + 0x148]
test dword [rax + 0x190], 0x10000000
je 0x1400a5ca8
mov eax, dword [rax + 0x210]
mov dword [rdi + 0x140], eax
mov dword [rbp - 0x59], r15d
lea rdx, [rbp - 0x59]
mov rcx, qword [rdi + 0x150]
call fcn.1400f0330
test eax, eax
jne 0x1400a5a21
lea rcx, str._CPL__CLineVolumeDlg::InitVolumeCtrls____GetEarProtect_bEnabled__fail___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rbp - 0x5d], r15d
mov ebx, r15d
call fcn.14003c770
test rax, rax
je 0x1400a5a8d
mov rcx, qword [rax + 0x4d0]
test rcx, rcx
je 0x1400a5a80
mov dword [rbp - 0x55], r15d
movups xmm0, xmmword [0x140397828]
movaps xmmword [rbp - 0x29], xmm0
lea rax, [rbp - 0x55]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x5d]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x3b]
lea rdx, [rbp - 0x29]
call fcn.14003b1f0
test eax, eax
je 0x1400a5a80
mov ebx, dword [rbp - 0x5d]
jmp 0x1400a5a8d
lea rcx, str._CPL__CLineVolumeDlg::InitVolumeCtrls____get_KsProperty_IsHeadPhone_fail___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rbp - 0x59], 0
je 0x1400a5c42
mov rax, qword [rdi + 0x158]
test rax, rax
je 0x1400a5beb
test ebx, ebx
je 0x1400a5beb
mov rax, qword [rax + 0xd8]
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x1400a5beb
cmp dword [rbx + 0x3c], 0
je 0x1400a5beb
mov dword [rbp - 0x69], r15d
mov rax, qword [rbx]
lea rdx, [rbp - 0x69]
mov rcx, rbx
call qword [rax + 0x40]
test eax, eax
je 0x1400a5beb
mov ecx, dword [rbp - 0x69]
mov eax, 4
mul rcx
mov r14, 0xffffffffffffffff
cmovo rax, r14
mov rcx, rax
call fcn.140153a84
mov rsi, rax
test rax, rax
je 0x1400a5beb
mov r9, qword [rbx]
mov r8d, dword [rbp - 0x69]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x98]
mov r15d, eax
xor edx, edx
mov r9d, dword [rbp - 0x69]
test r9d, r9d
je 0x1400a5b4e
mov r8d, dword [rdi + 0x140]
cmp dword [rsi + rdx*4], r8d
jle 0x1400a5b47
mov dword [rsi + rdx*4], r8d
mov r9d, dword [rbp - 0x69]
inc edx
cmp edx, r9d
jb 0x1400a5b32
mov rax, qword [rdi + 0x148]
test dword [rax + 0x194], 0x4000000
jne 0x1400a5b76
mov rax, qword [rbx]
mov r8d, r9d
mov rdx, rsi
mov rcx, rbx
call qword [rax + 0x90]
mov r15d, eax
mov rcx, rdi
call fcn.1400a5d40
test r15d, r15d
jne 0x1400a5be0
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x1400a5cd8
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x41], rax
mov r8d, dword [rdi + 0x140]
lea rdx, str._CPL__CLineVolumeDlg::InitVolumeCtrls____SetVolume_fail____d__n
lea rcx, [rbp - 0x41]
call fcn.140012720
mov rbx, qword [rbp - 0x41]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x1400a5be0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rsi
call fcn.140153a7c
xor r15d, r15d
mov dword [rbp - 0x4d], r13d
call fcn.14003c770
test rax, rax
je 0x1400a5ca8
mov rcx, qword [rdi + 0x148]
test dword [rcx + 0x194], 0x4000000
jne 0x1400a5ca8
mov rcx, qword [rax + 0x4d0]
test rcx, rcx
je 0x1400a5c9b
mov dword [rbp - 0x51], r15d
movups xmm0, xmmword [0x140397828]
movaps xmmword [rbp - 0x19], xmm0
lea rax, [rbp - 0x51]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x4d]
lea rdx, [rbp - 0x19]
jmp 0x1400a5c7c
mov dword [rbp - 0x45], r15d
call fcn.14003c770
test rax, rax
je 0x1400a5ca8
mov rcx, qword [rax + 0x4d0]
test rcx, rcx
je 0x1400a5c9b
mov dword [rbp - 0x49], r15d
movups xmm0, xmmword [0x140397828]
movaps xmmword [rbp - 9], xmm0
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x45]
lea rdx, [rbp - 9]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8d, 0x3b
call fcn.14003b1f0
test eax, eax
jne 0x1400a5ca8
lea rcx, str._CPL__CLineVolumeDlg::InitVolumeCtrls____set_KsProperty_PROPERTY_CUSTOMIZED_HPLimitedOutputWithEerProtection_fail___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, r13d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1402ecc20
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140012800
int3