Function at 0x1400ba330
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.1400bc350
lea rdi, [rsi - 0x168]
lea rbx, [rsi + 0x40]
xor ebp, ebp
test rdi, rdi
cmove rbx, rbp
call fcn.140014660
lea rcx, [rax + 0x20]
mov rdx, rbx
call fcn.14000bac0
lea rbx, [rsi + 0x38]
test rdi, rdi
cmove rbx, rbp
call fcn.14000bb60
lea rcx, [rax + 0x28]
mov rdx, rbx
call fcn.14000bac0
mov r8d, 0x113
lea rdx, str.CServiceMain::OnStop
lea rcx, str._s__d_Start
call fcn.140064950
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x1400ba3d4
call fcn.140037cf0
mov qword [rsi + 0x60], rbp
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x1400ba3ec
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 0x1400ba40e
mov rcx, rbx
call fcn.14008f800
mov edx, 0x10
mov rcx, rbx
call fcn.1400ce23c
mov qword [rsi + 0x70], rbp
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x1400ba420
call fcn.140021190
mov qword [rsi + 0x78], rbp
mov rdi, qword [rsi + 0x80]
test rdi, rdi
je 0x1400ba4bd
lea rax, vtable.CRtkAudioDriverHelper.2.0
mov qword [rdi], rax
lea rax, vtable.CRtkAudioDriverHelper.0
mov qword [rdi + 8], rax
lea rax, vtable.CRtkAudioDriverHelper.1.0
mov qword [rdi + 0x10], rax
call fcn.14000b9e0
lea rcx, [rax + 0x10]
lea rdx, [rdi + 8]
call fcn.14000bac0
call fcn.140014660
lea rcx, [rax + 0x20]
mov rdx, rdi
call fcn.14000bac0
call fcn.14000b810
test byte [rax + 0xc8], 0x10
jne 0x1400ba48d
cmp dword [rdi + 0x24], 0
jne 0x1400ba48d
cmp dword [rdi + 0x28], 0
je 0x1400ba49f
call fcn.140014580
lea rcx, [rax + 0x18]
lea rdx, [rdi + 0x10]
call fcn.14000bac0
lea rcx, [rdi + 0x18]
call fcn.14008f800
nop
mov edx, 0x30
mov rcx, rdi
call fcn.1400ce23c
mov qword [rsi + 0x80], rbp
mov rbx, qword [rsi + 0xb0]
test rbx, rbx
je 0x1400ba4f9
lea rax, vtable.CSurfaceDolbyDSPControl.0
mov qword [rbx], rax
call fcn.14000b9e0
lea rcx, [rax + 0x10]
mov rdx, rbx
call fcn.14000bac0
nop
mov edx, 0x28
mov rcx, rbx
call fcn.1400ce23c
mov qword [rsi + 0xb0], rbp
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
je 0x1400ba51a
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 0x1400ba537
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsi + 0xc0], rbp
mov r14, qword [rsi + 0xc8]
test r14, r14
je 0x1400ba5ad
lea rax, vtable.CRtkBssGen4PresetLoader.2.0
mov qword [r14], rax
lea rax, vtable.CRtkBssGen4PresetLoader.1.0
mov qword [r14 + 8], rax
lea rax, vtable.CRtkBssGen4PresetLoader.0
mov qword [r14 + 0x10], rax
call fcn.14000bb60
lea rcx, [rax + 0x28]
lea rdx, [r14 + 0x10]
call fcn.14000bac0
call fcn.140014660
lea rcx, [rax + 0x20]
lea rdx, [r14 + 8]
call fcn.14000bac0
call fcn.14000b9e0
lea rcx, [rax + 0x10]
mov rdx, r14
call fcn.14000bac0
nop
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r14
call fcn.1400ce23c
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.140064950