Function at 0x1400bf390
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.1400c1400
lea rdi, [rsi - 0x168]
lea rbx, [rsi + 0x40]
xor ebp, ebp
test rdi, rdi
cmove rbx, rbp
call fcn.1400148c0
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, 0x114
lea rdx, str.CServiceMain::OnStop
lea rcx, str._s__d_Start
call fcn.140065460
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x1400bf434
call fcn.1400383c0
mov qword [rsi + 0x60], rbp
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x1400bf44c
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 0x1400bf46e
mov rcx, rbx
call fcn.1400903d0
mov edx, 0x10
mov rcx, rbx
call fcn.1400d37cc
mov qword [rsi + 0x70], rbp
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x1400bf480
call fcn.1400212d0
mov qword [rsi + 0x78], rbp
mov rdi, qword [rsi + 0x80]
test rdi, rdi
je 0x1400bf51d
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.1400148c0
lea rcx, [rax + 0x20]
mov rdx, rdi
call fcn.14000bac0
call fcn.14000b810
test byte [rax + 0xc8], 0x10
jne 0x1400bf4ed
cmp dword [rdi + 0x24], 0
jne 0x1400bf4ed
cmp dword [rdi + 0x28], 0
je 0x1400bf4ff
call fcn.1400147e0
lea rcx, [rax + 0x18]
lea rdx, [rdi + 0x10]
call fcn.14000bac0
lea rcx, [rdi + 0x18]
call fcn.1400903d0
nop
mov edx, 0x30
mov rcx, rdi
call fcn.1400d37cc
mov qword [rsi + 0x80], rbp
mov rbx, qword [rsi + 0xb0]
test rbx, rbx
je 0x1400bf559
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.1400d37cc
mov qword [rsi + 0xb0], rbp
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
je 0x1400bf57a
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 0x1400bf597
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsi + 0xc0], rbp
mov r14, qword [rsi + 0xc8]
test r14, r14
je 0x1400bf60d
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.1400148c0
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.1400d37cc
mov qword [rsi + 0xc8], rbp
mov r8d, reloc.OLEAUT32.dll_LPSAFEARRAY_UserMarshal
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.140065460