Function at 0x140011c00
Capabilities:
Get common file path
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
mov eax, 0x12d0
call fcn.14001c270
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x14008f088]
xor rax, rsp
mov qword [rsp + 0x12c0], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x2c0]
call fcn.14001ead0
lea rdi, [rsp + 0x12f8]
mov qword [rsp + 0x70], rdi
call fcn.140005ee0
mov rcx, qword [rax]
or rcx, 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov r9, rbx
mov r8d, 0xfff
lea rdx, [rsp + 0x2c0]
call fcn.1400426a4
cmp qword [0x1400901f8], 0
je 0x140011eba
lea rcx, [0x1400901f8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0xb0]
call fcn.14001ead0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
lea r8, [0x140070b78]
mov edx, 0x105
lea rcx, [rsp + 0xb0]
call fcn.140042d3c
xor r8d, r8d
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290]
lea r8, str.BTDevManager_sub.log
mov edx, 0x105
lea rcx, [rsp + 0xb0]
call fcn.140042d3c
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
lea rdx, [0x140073d50]
xor ecx, ecx
call fcn.1400448c0
lea rdx, [0x140073d54]
lea rcx, [rsp + 0xb0]
call fcn.140044228
mov rdi, rax
test rax, rax
jne 0x140011ddd
call fcn.140002de0
mov rcx, rax
test rax, rax
je 0x140011ed5
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0xb0]
lea rdx, [0x140073d58]
lea rcx, [rsp + 0x60]
call fcn.140006100
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [0x1400901f8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140011dd8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140011eba
lea rcx, [rsp + 0x88]
call fcn.140011000
mov r8, rax
cmp qword [rax + 0x18], 8
jb 0x140011df7
mov r8, qword [rax]
movzx eax, word [rsp + 0x86]
movzx ecx, word [rsp + 0x84]
movzx edx, word [rsp + 0x82]
movzx r10d, word [rsp + 0x80]
movzx r11d, word [rsp + 0x78]
movzx ebx, word [rsp + 0x7e]
movzx r9d, word [rsp + 0x7a]
lea rsi, [rsp + 0x2c0]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea rdx, str.__s___02d__02d__04d___02d:_02d:_02d:_02d_n_____s_n_n
mov rcx, rdi
call fcn.140012100
mov rdx, qword [rsp + 0xa0]
cmp rdx, 8
jb 0x140011ea3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011ee0
call fcn.14001b8fc
mov rcx, rdi
call fcn.140044388
nop
lea rcx, [0x1400901f8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop
mov rcx, qword [rsp + 0x12c0]
xor rcx, rsp
call fcn.14001c180
add rsp, 0x12d0
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.140002520
int3
call fcn.14002a224
int3