Function at 0x14006a3f0
Capabilities:
Check if file exists
Check mutex on windows
Create process on windows
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x7d8
mov r12, rcx
lea rcx, str.DBusAutolaunchMutex
call fcn.140065f50
lea rcx, str.UniqueDBusInitMutex
mov rbp, rax
call fcn.140065f50
lea r8, str.DBusDaemonMutex
xor edx, edx
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xa
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
cmp eax, 0x102
jne 0x14006a4a0
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
call fcn.1402a30d0
mov rcx, rsi
mov r13, qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rdi, rax
call r13
mov rcx, rsi
call rbx
test rdi, rdi
je 0x14006a4c1
mov rcx, rbp
call r13
mov rcx, rbp
call rbx
mov rax, rdi
add rsp, 0x7d8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r13, qword [sym.imp.KERNEL32.dll_ReleaseMutex]
call r13
mov rcx, rbx
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, rsi
call r13
mov rcx, rsi
call rbx
mov ecx, dword [0x1404ca85c]
test ecx, ecx
jne 0x14006a62c
mov rsi, qword [0x14048dd40]
mov rax, qword [0x14048f6b0]
mov rdx, qword [rsi]
mov rdi, qword [rax + 0x78]
test rdx, rdx
je 0x14006a6c0
lea rcx, str.gdbus.exe
call rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
mov rdi, rax
call fcn.1402b3210
mov rcx, rdi
mov rsi, rax
call fcn.14034efb0
test rsi, rsi
je 0x14006a6e5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006a6dd
lea r15, [rsp + 0x70]
xor eax, eax
mov ecx, 0xd
mov rdx, rsi
mov rdi, r15
pxor xmm0, xmm0
lea r14, [rsp + 0x2f0]
mov qword [rsp + 0x60], 0
rep stosq qword [rdi], rax
mov ecx, 0x9b
mov rdi, r14
movaps xmmword [rsp + 0x50], xmm0
rep stosq qword [rdi], rax
lea rdi, [rsp + 0xe0]
mov ecx, 0x41
rep stosq qword [rdi], rax
mov dword [rdi], 0
lea rdi, [rsp + 0xe0]
mov rcx, rdi
call sub.msvcrt.dll_wcscpy
mov edx, 0x5c
mov rcx, rdi
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x14006a5a9
xor edx, edx
mov word [rax], dx
lea rdx, [0x140378a34]
mov rcx, r14
call sub.msvcrt.dll_wcscpy
mov rdx, rsi
mov rcx, r14
call sub.msvcrt.dll_wcscat
lea rdx, [0x140378a38]
mov rcx, r14
call sub.msvcrt.dll_wcscat
lea rdx, str._win32_run_session_bus
mov rcx, r14
call sub.msvcrt.dll_wcscat
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000028
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14006a6a0
mov rcx, rsi
call fcn.14034efb0
mov rcx, rbp
call r13
mov rcx, rbp
call rbx
mov rcx, qword [0x14048def0]
mov rax, qword [rcx]
test rax, rax
je 0x14006a690
lea rdx, str.Session_dbus_not_running__and_autolaunch_failed
lea rcx, [0x140378022]
call fcn.1400c7f40
mov rsi, qword [0x14048eee0]
mov rbx, rax
mov edx, dword [rsi]
test edx, edx
jne 0x14006a679
lea rcx, [0x140378029]
call fcn.1400daa90
mov dword [rsi], eax
mov edx, eax
mov r9, rbx
xor r8d, r8d
mov rcx, r12
xor edi, edi
call fcn.1400cab90
jmp 0x14006a483
call fcn.1400e7370
test eax, eax
je 0x14006a646
call fcn.1400cb3d0
jmp 0x14006a646
call fcn.1402a30d0
mov rdi, rax
test rax, rax
je 0x14006a717
mov rcx, rsi
call fcn.14034efb0
jmp 0x14006a478
mov rdx, qword [0x14048c2b0]
mov r8, rsi
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
mov rdx, qword [rsi]
jmp 0x14006a4ed
mov rcx, rsi
call fcn.14034efb0
lea r8, str.win32_session_dbus_binary_not_found
mov edx, 0x10
lea rcx, [0x1403783b7]
mov dword [0x1404ca85c], 1
call fcn.1400d2190
mov rcx, rbp
call r13
mov rcx, rbp
call rbx
jmp 0x14006a637
mov r9, rsi
lea r8, str._S_dbus_binary_failed_to_launch_bus__maybe_incompatible_version
mov edx, 0x10
lea rcx, [0x1403783b7]
call fcn.1400d2190
jmp 0x14006a624