Function at 0x1400b7198
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov ebx, 0x208
mov ecx, ebx
call fcn.14000c1bc
mov rsi, rax
mov qword [rsp + 0x38], rax
lea rdi, [rax + 0x208]
mov qword [rsp + 0x48], rdi
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rsp + 0x40], rdi
mov rdx, rsi
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
test eax, eax
je 0x1400b73b6
lea rcx, [rbp - 0x38]
call qword [sym.imp.ole32.dll_CoCreateGuid]
nop dword [rax + rax]
test eax, eax
js 0x1400b73f6
lea r8d, [r15 + 0x40]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ole32.dll_StringFromGUID2]
nop dword [rax + rax]
test eax, eax
je 0x1400b7405
mov qword [rbp - 0x80], r15
lea r12d, [r15 + 7]
mov qword [rbp - 0x78], r12
mov word [rsp + 0x70], r15w
lea rdx, str.appvtmp
lea rcx, [rsp + 0x70]
call fcn.14000954c
nop
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.14000f4cc
mov rbx, rax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov word [rsp + 0x50], r15w
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14000954c
nop
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.14006166c
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400b72f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
call fcn.14000c220
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov word [rsp + 0x50], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400b731b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14000c220
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r12
mov word [rbp - 0x70], r15w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400b7344
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.14000c220
mov rcx, r14
call fcn.1400c1f44
mov rdx, rax
shr rax, 0x27
not eax
test al, 1
jne 0x1400b739c
test rsi, rsi
je 0x1400b7370
sub rdi, rsi
sar rdi, 1
lea rdx, [rdi + rdi]
mov rcx, rsi
call fcn.14000c220
mov rax, r14
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400d24e0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [rbp - 0x70]
call fcn.14000df28
lea rdx, [0x14016b5e8]
lea rcx, [rbp - 0x70]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
call fcn.1400b6d78
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
or rdx, rbx
movabs rax, 0x72500000000
or rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14000df28
lea rdx, [0x14016b5e8]
lea rcx, [rbp - 0x70]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
mov r9d, eax
mov r8d, 0x3d
call fcn.1400b6e40
int3
call fcn.1400b6d78
movabs rdx, 0x8250000007a
or rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14000df28
lea rdx, [0x14016b5e8]
lea rcx, [rbp - 0x70]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3