Function at 0x1400a7d90
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.1400a9d20
lea rdi, [rsi - 0x168]
lea rbx, [rsi + 0x40]
xor ebp, ebp
test rdi, rdi
cmove rbx, rbp
call fcn.140014060
lea rcx, [rax + 0x20]
mov rdx, rbx
call fcn.14000b590
lea rbx, [rsi + 0x38]
test rdi, rdi
cmove rbx, rbp
call fcn.14000b630
lea rcx, [rax + 0x28]
mov rdx, rbx
call fcn.14000b590
mov r8d, 0x113
lea rdx, str.CServiceMain::OnStop
lea rcx, str._s__d_Start
call fcn.14005c7e0
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x1400a7e34
call fcn.140033800
mov qword [rsi + 0x60], rbp
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x1400a7e4c
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 0x1400a7e6e
mov rcx, rbx
call fcn.140085bf0
mov edx, 0x10
mov rcx, rbx
call fcn.1400ba63c
mov qword [rsi + 0x70], rbp
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x1400a7e80
call fcn.14001f8a0
mov qword [rsi + 0x78], rbp
mov rdi, qword [rsi + 0x80]
test rdi, rdi
je 0x1400a7f11
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.14000b4c0
lea rcx, [rax + 0x10]
lea rdx, [rdi + 8]
call fcn.14000b590
call fcn.140014060
lea rcx, [rax + 0x20]
mov rdx, rdi
call fcn.14000b590
call fcn.14000b1e0
test byte [rax + 0xc8], 0x10
je 0x1400a7ef3
call fcn.140013f90
lea rcx, [rax + 0x18]
lea rdx, [rdi + 0x10]
call fcn.14000b590
lea rcx, [rdi + 0x18]
call fcn.140085bf0
nop
mov edx, 0x28
mov rcx, rdi
call fcn.1400ba63c
mov qword [rsi + 0x80], rbp
mov rbx, qword [rsi + 0xb0]
test rbx, rbx
je 0x1400a7f4d
lea rax, vtable.CSurfaceDolbyDSPControl.0
mov qword [rbx], rax
call fcn.14000b4c0
lea rcx, [rax + 0x10]
mov rdx, rbx
call fcn.14000b590
nop
mov edx, 0x28
mov rcx, rbx
call fcn.1400ba63c
mov qword [rsi + 0xb0], rbp
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
je 0x1400a7f6e
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 0x1400a7f8b
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsi + 0xc0], rbp
mov r14, qword [rsi + 0xc8]
test r14, r14
je 0x1400a8001
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.14000b630
lea rcx, [rax + 0x28]
lea rdx, [r14 + 0x10]
call fcn.14000b590
call fcn.140014060
lea rcx, [rax + 0x20]
lea rdx, [r14 + 8]
call fcn.14000b590
call fcn.14000b4c0
lea rcx, [rax + 0x10]
mov rdx, r14
call fcn.14000b590
nop
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r14
call fcn.1400ba63c
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.14005c7e0