Function at 0x14001d7e0
Capabilities:
Print debug messages

Disassembly:
push rbp
mov eax, 0x1080
call fcn.14011c260
sub rsp, rax
cmp dword [rcx + 0x19380], 3
mov rbp, rcx
je 0x14001d806
xor eax, eax
add rsp, 0x1080
pop rbp
ret
mov qword [rsp + 0x10a0], rsi
xor edx, edx
lea rsi, [rcx + 0xa88]
lea r8d, [rdx + 9]
mov rcx, rsi
mov qword [rsp + 0x1070], r12
call fcn.140087d00
movsxd r12, eax
cmp r12d, 0xffffffff
jne 0x14001d83b
xor eax, eax
jmp 0x14001d970
mov qword [rsp + 0x1098], rbx
mov qword [rsp + 0x1078], rdi
lea rax, [rsp + 0x44]
xor edi, edi
mov ecx, 0x80
nop
nop
nop
mov dword [rax], edi
mov dword [rax + 4], edi
add rax, 8
sub rcx, 1
jne 0x14001d860
mov ebx, 0x40
lea rax, [rsp + 0x858]
mov rcx, rbx
nop
mov dword [rax - 4], edi
mov dword [rax], edi
mov dword [rax + 4], edi
mov dword [rax + 8], edi
mov dword [rax + 0xc], edi
mov dword [rax + 0x10], edi
mov dword [rax + 0x14], edi
mov dword [rax + 0x18], edi
add rax, 0x20
sub rcx, 1
jne 0x14001d880
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x404
call fcn.1400fce30
lea rcx, [rsp + 0x850]
lea rdx, [rsp + 0x40]
mov r8d, 0x404
mov dword [rsp + 0x40], 2
mov dword [rsp + 0x44], 0x1f1500
mov dword [rsp + 0x48], 0x1f8400
call fcn.1400fd180
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x14001d95e
lea rax, [rsp + 0x48]
nop
nop
nop
mov dword [rax - 4], edi
mov dword [rax], edi
mov dword [rax + 4], edi
mov dword [rax + 8], edi
mov dword [rax + 0xc], edi
mov dword [rax + 0x10], edi
mov dword [rax + 0x14], edi
mov dword [rax + 0x18], edi
add rax, 0x20
sub rbx, 1
jne 0x14001d900
mov qword [rsp + 0x30], rdi
lea r8d, [rbx + 3]
add rcx, 4
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbp, rax
jne 0x14001d989
lea rcx, str.SendHDAudCommand:_CreateFile:_INVALID_HANDLE_VALUE_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov rdi, qword [rsp + 0x1078]
mov rbx, qword [rsp + 0x1098]
mov rsi, qword [rsp + 0x10a0]
mov r12, qword [rsp + 0x1070]
add rsp, 0x1080
pop rbp
ret
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x1090]
lea r8, [rsp + 0x850]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov r9d, 0x404
mov edx, 0x220004
mov rcx, rbp
mov dword [rsp + 0x28], 0x804
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14001d9ea
lea rcx, str.SendHDAudCommand:_DeviceIoControl:_IOCTL_AZALIABUS_SENDVERBS_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14001d95e
mov ebx, dword [rsp + 0x44]
test bl, 2
jne 0x14001da7c
test r12d, r12d
mov dword [rsp + 0x1090], edi
js 0x14001da66
cmp r12, qword [rsi + 0x38]
mov rax, r12
jge 0x14001da66
cmp rax, qword [rsi + 0x38]
jge 0x14001da2b
test r12d, r12d
js 0x14001da2b
test r12d, r12d
mov rcx, qword [rsi + 0x28]
je 0x14001da2e
sub rax, 1
mov rcx, qword [rcx]
jne 0x14001da20
jmp 0x14001da2e
mov rcx, rdi
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x14001da3b
mov eax, edi
jmp 0x14001da68
cmp qword [rcx + 0x830], rdi
jne 0x14001da48
mov eax, edi
jmp 0x14001da68
mov rcx, qword [rcx + 0x830]
lea rdx, [rsp + 0x1090]
mov rax, qword [rcx]
call qword [rax + 0x78]
mov eax, dword [rsp + 0x1090]
jmp 0x14001da68
mov eax, edi
test eax, eax
mov r8d, edi
mov edx, r12d
sete r8b
mov rcx, rsi
call fcn.140088990
and bl, 3
cmp bl, 2
jne 0x14001dbfe
mov eax, dword [rsp + 0x4c]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x1f
bt eax, 0x15
jae 0x14001db5b
test r12d, r12d
movaps xmmword [rsp + 0x1060], xmm6
xorps xmm6, xmm6
movss dword [rsp + 0x1090], xmm6
js 0x14001db1a
cmp r12, qword [rsi + 0x38]
mov rax, r12
jge 0x14001db1a
cmp rax, qword [rsi + 0x38]
jge 0x14001dadd
test r12d, r12d
js 0x14001dadd
test r12d, r12d
mov rdi, qword [rsi + 0x28]
je 0x14001dadd
sub rax, 1
mov rdi, qword [rdi]
jne 0x14001dad4
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x14001daeb
movaps xmm2, xmm6
jmp 0x14001db1d
cmp qword [rcx + 0x830], 0
jne 0x14001dafa
movaps xmm2, xmm6
jmp 0x14001db1d
mov rcx, qword [rcx + 0x830]
lea rdx, [rsp + 0x1090]
mov rax, qword [rcx]
call qword [rax + 0x48]
movss xmm2, dword [rsp + 0x1090]
jmp 0x14001db1d
movaps xmm2, xmm6
mov eax, ebx
cvtsi2ss xmm0, rax
mulss xmm0, dword [0x14014426c]
subss xmm2, xmm0
comiss xmm6, xmm2
jbe 0x14001db38
movaps xmm2, xmm6
mov r9d, 1
mov edx, r12d
mov rcx, rsi
call fcn.140088370
mov eax, 1
movaps xmm6, xmmword [rsp + 0x1060]
jmp 0x14001d960
test r12d, r12d
xorps xmm0, xmm0
movss dword [rsp + 0x1090], xmm0
js 0x14001dbca
cmp r12, qword [rsi + 0x38]
mov rax, r12
jge 0x14001dbca
cmp rax, qword [rsi + 0x38]
jge 0x14001db99
test r12d, r12d
js 0x14001db99
test r12d, r12d
mov rdi, qword [rsi + 0x28]
je 0x14001db99
nop
nop
sub rax, 1
mov rdi, qword [rdi]
jne 0x14001db90
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14001dbca
cmp qword [rcx + 0x830], 0
je 0x14001dbca
mov rcx, qword [rcx + 0x830]
lea rdx, [rsp + 0x1090]
mov rax, qword [rcx]
call qword [rax + 0x48]
movss xmm0, dword [rsp + 0x1090]
movss xmm1, dword [0x140143b68]
mov eax, ebx
cvtsi2ss xmm2, rax
mulss xmm2, dword [0x14014426c]
addss xmm2, xmm0
comiss xmm2, xmm1
jbe 0x14001dbed
movaps xmm2, xmm1
mov r9d, 1
mov edx, r12d
mov rcx, rsi
call fcn.140088370
mov eax, 1
jmp 0x14001d960