Function at 0x1400abd20
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
mov r8d, 4
lea rdx, str.CppWindowsService_in_OnStop
call fcn.1400ae400
lea rdi, [rsi - 0x168]
lea rbx, [rsi + 0x40]
xor ebp, ebp
test rdi, rdi
cmove rbx, rbp
call fcn.1400141e0
lea rcx, [rax + 0x20]
mov rdx, rbx
call fcn.14000b680
lea rbx, [rsi + 0x38]
test rdi, rdi
cmove rbx, rbp
call fcn.14000b740
lea rcx, [rax + 0x28]
mov rdx, rbx
call fcn.14000b680
mov r8d, 0x112
lea rdx, str.CServiceMain::OnStop
lea rcx, str._s__d_Start
call fcn.14005b9a0
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x1400abdb9
call fcn.140037280
mov qword [rsi + 0x60], rbp
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x1400abdd8
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x20]
call qword [case.0x140048c62.0]
mov qword [rsi + 0x68], rbp
mov rbx, qword [rsi + 0x70]
mov edi, 0xffffffff
test rbx, rbx
je 0x1400abe41
mov eax, dword [0x140143c58]
cmp eax, 1
jne 0x1400abe01
call fcn.14008ae30
call fcn.14008ce70
mov eax, dword [0x140143c58]
dec eax
mov dword [0x140143c58], eax
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400abe30
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
nop
mov edx, 0x10
mov rcx, rbx
call fcn.1400c1818
mov qword [rsi + 0x70], rbp
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x1400abe53
call fcn.140020150
mov qword [rsi + 0x78], rbp
mov r14, qword [rsi + 0x80]
test r14, r14
je 0x1400abf24
lea rax, vtable.CRtkAudioDriverHelper.1.0
mov qword [r14], rax
lea rax, vtable.CRtkAudioDriverHelper.2.0
mov qword [r14 + 8], rax
lea rax, vtable.CRtkAudioDriverHelper.0
mov qword [r14 + 0x10], rax
call fcn.14000b5c0
lea rcx, [rax + 0x10]
lea rdx, [r14 + 8]
call fcn.14000b680
call fcn.1400141e0
lea rcx, [rax + 0x20]
mov rdx, r14
call fcn.14000b680
call fcn.14000b2a0
test byte [rax + 0xc8], 0x10
je 0x1400abec7
call fcn.140014120
lea rcx, [rax + 0x18]
lea rdx, [r14 + 0x10]
call fcn.14000b680
nop
mov eax, dword [0x140143c58]
cmp eax, 1
jne 0x1400abee2
call fcn.14008ae30
call fcn.14008ce70
mov eax, dword [0x140143c58]
dec eax
mov dword [0x140143c58], eax
mov rdx, qword [r14 + 0x18]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400abf10
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
nop
mov edx, 0x28
mov rcx, r14
call fcn.1400c1818
mov qword [rsi + 0x80], rbp
mov rbx, qword [rsi + 0xb0]
test rbx, rbx
je 0x1400abf60
lea rax, vtable.CSurfaceDolbyDSPControl.0
mov qword [rbx], rax
call fcn.14000b5c0
lea rcx, [rax + 0x10]
mov rdx, rbx
call fcn.14000b680
nop
mov edx, 0x28
mov rcx, rbx
call fcn.1400c1818
mov qword [rsi + 0xb0], rbp
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
je 0x1400abf88
add rcx, 0x58
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x140048c62.0]
mov qword [rsi + 0xb8], rbp
mov rcx, qword [rsi + 0xc0]
test rcx, rcx
je 0x1400abfac
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x140048c62.0]
mov qword [rsi + 0xc0], rbp
mov r14, qword [rsi + 0xc8]
test r14, r14
je 0x1400ac022
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.14000b740
lea rcx, [rax + 0x28]
lea rdx, [r14 + 0x10]
call fcn.14000b680
call fcn.1400141e0
lea rcx, [rax + 0x20]
lea rdx, [r14 + 8]
call fcn.14000b680
call fcn.14000b5c0
lea rcx, [rax + 0x10]
mov rdx, r14
call fcn.14000b680
nop
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r14
call fcn.1400c1818
mov qword [rsi + 0xc8], rbp
mov r8d, LPSAFEARRAY_UserFree
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]
add rsp, 0x20
pop r15
pop r14
pop rdi
jmp fcn.14005b9a0