Function at 0x1400b1980
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.1400b39a0
lea rdi, [rsi - 0x168]
lea rbx, [rsi + 0x40]
xor ebp, ebp
test rdi, rdi
cmove rbx, rbp
call fcn.140013f90
lea rcx, [rax + 0x20]
mov rdx, rbx
call fcn.14000b510
lea rbx, [rsi + 0x38]
test rdi, rdi
cmove rbx, rbp
call fcn.14000b5b0
lea rcx, [rax + 0x28]
mov rdx, rbx
call fcn.14000b510
mov r8d, 0x113
lea rdx, str.CServiceMain::OnStop
lea rcx, str._s__d_Start
call fcn.140061d00
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x1400b1a24
call fcn.1400363a0
mov qword [rsi + 0x60], rbp
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x1400b1a3c
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 0x1400b1a5e
mov rcx, rbx
call fcn.14008bf30
mov edx, 0x10
mov rcx, rbx
call fcn.1400c588c
mov qword [rsi + 0x70], rbp
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x1400b1a70
call fcn.140020070
mov qword [rsi + 0x78], rbp
mov rdi, qword [rsi + 0x80]
test rdi, rdi
je 0x1400b1b0d
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.14000b440
lea rcx, [rax + 0x10]
lea rdx, [rdi + 8]
call fcn.14000b510
call fcn.140013f90
lea rcx, [rax + 0x20]
mov rdx, rdi
call fcn.14000b510
call fcn.14000b280
test byte [rax + 0xc8], 0x10
jne 0x1400b1add
cmp dword [rdi + 0x24], 0
jne 0x1400b1add
cmp dword [rdi + 0x28], 0
je 0x1400b1aef
call fcn.140013ec0
lea rcx, [rax + 0x18]
lea rdx, [rdi + 0x10]
call fcn.14000b510
lea rcx, [rdi + 0x18]
call fcn.14008bf30
nop
mov edx, 0x30
mov rcx, rdi
call fcn.1400c588c
mov qword [rsi + 0x80], rbp
mov rbx, qword [rsi + 0xb0]
test rbx, rbx
je 0x1400b1b49
lea rax, vtable.CSurfaceDolbyDSPControl.0
mov qword [rbx], rax
call fcn.14000b440
lea rcx, [rax + 0x10]
mov rdx, rbx
call fcn.14000b510
nop
mov edx, 0x28
mov rcx, rbx
call fcn.1400c588c
mov qword [rsi + 0xb0], rbp
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
je 0x1400b1b6a
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 0x1400b1b87
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsi + 0xc0], rbp
mov r14, qword [rsi + 0xc8]
test r14, r14
je 0x1400b1bfd
lea rax, vtable.CRtkBssGen4PresetLoader.0
mov qword [r14], rax
lea rax, vtable.CRtkBssGen4PresetLoader.1.0
mov qword [r14 + 8], rax
lea rax, vtable.CRtkBssGen4PresetLoader.2.0
mov qword [r14 + 0x10], rax
call fcn.14000b5b0
lea rcx, [rax + 0x28]
lea rdx, [r14 + 0x10]
call fcn.14000b510
call fcn.140013f90
lea rcx, [rax + 0x20]
lea rdx, [r14 + 8]
call fcn.14000b510
call fcn.14000b440
lea rcx, [rax + 0x10]
mov rdx, r14
call fcn.14000b510
nop
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r14
call fcn.1400c588c
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.140061d00