Function at 0x1400adf50
Capabilities:
Print debug messages

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov rsi, rcx
mov r8d, 4
lea rdx, str.CppWindowsService_in_OnStop
call fcn.1400aff40
lea rdi, [rsi - 0x168]
lea rbx, [rsi + 0x40]
xor ebp, ebp
test rdi, rdi
cmove rbx, rbp
call fcn.140014070
lea rcx, [rax + 0x20]
mov rdx, rbx
call fcn.14000b5f0
lea rbx, [rsi + 0x38]
test rdi, rdi
cmove rbx, rbp
call fcn.14000b690
lea rcx, [rax + 0x28]
mov rdx, rbx
call fcn.14000b5f0
mov r8d, 0x113
lea rdx, str.CServiceMain::OnStop
lea rcx, str._s__d_Start
call fcn.14005f240
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x1400adff4
call fcn.140034e00
mov qword [rsi + 0x60], rbp
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x1400ae00c
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x20]
mov qword [rsi + 0x68], rbp
mov rbx, qword [rsi + 0x70]
test rbx, rbx
je 0x1400ae02e
mov rcx, rbx
call fcn.1400890b0
mov edx, 0x10
mov rcx, rbx
call fcn.1400c094c
mov qword [rsi + 0x70], rbp
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x1400ae040
call fcn.140020000
mov qword [rsi + 0x78], rbp
mov rdi, qword [rsi + 0x80]
test rdi, rdi
je 0x1400ae0dd
lea rax, vtable.CRtkAudioDriverHelper.2.0
mov qword [rdi], rax
lea rax, vtable.CRtkAudioDriverHelper.1.0
mov qword [rdi + 8], rax
lea rax, vtable.CRtkAudioDriverHelper.0
mov qword [rdi + 0x10], rax
call fcn.14000b520
lea rcx, [rax + 0x10]
lea rdx, [rdi + 8]
call fcn.14000b5f0
call fcn.140014070
lea rcx, [rax + 0x20]
mov rdx, rdi
call fcn.14000b5f0
call fcn.14000b240
test byte [rax + 0xc8], 0x10
jne 0x1400ae0ad
cmp dword [rdi + 0x24], 0
jne 0x1400ae0ad
cmp dword [rdi + 0x28], 0
je 0x1400ae0bf
call fcn.140013fa0
lea rcx, [rax + 0x18]
lea rdx, [rdi + 0x10]
call fcn.14000b5f0
lea rcx, [rdi + 0x18]
call fcn.1400890b0
nop
mov edx, 0x30
mov rcx, rdi
call fcn.1400c094c
mov qword [rsi + 0x80], rbp
mov rbx, qword [rsi + 0xb0]
test rbx, rbx
je 0x1400ae119
lea rax, vtable.CSurfaceDolbyDSPControl.0
mov qword [rbx], rax
call fcn.14000b520
lea rcx, [rax + 0x10]
mov rdx, rbx
call fcn.14000b5f0
nop
mov edx, 0x28
mov rcx, rbx
call fcn.1400c094c
mov qword [rsi + 0xb0], rbp
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
je 0x1400ae13a
add rcx, 0x58
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsi + 0xb8], rbp
mov rcx, qword [rsi + 0xc0]
test rcx, rcx
je 0x1400ae157
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsi + 0xc0], rbp
mov r14, qword [rsi + 0xc8]
test r14, r14
je 0x1400ae1cd
lea rax, vtable.CRtkBssGen4PresetLoader.1.0
mov qword [r14], rax
lea rax, vtable.CRtkBssGen4PresetLoader.2.0
mov qword [r14 + 8], rax
lea rax, vtable.CRtkBssGen4PresetLoader.0
mov qword [r14 + 0x10], rax
call fcn.14000b690
lea rcx, [rax + 0x28]
lea rdx, [r14 + 0x10]
call fcn.14000b5f0
call fcn.140014070
lea rcx, [rax + 0x20]
lea rdx, [r14 + 8]
call fcn.14000b5f0
call fcn.14000b520
lea rcx, [rax + 0x10]
mov rdx, r14
call fcn.14000b5f0
nop
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r14
call fcn.1400c094c
mov qword [rsi + 0xc8], rbp
mov r8d, LPSAFEARRAY_UserUnmarshal
lea rdx, str.CServiceMain::OnStop
lea rcx, str._s__d_End
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
jmp fcn.14005f240