Function at 0x1400fb2d0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rdx
mov rbx, rcx
mov qword [rbp - 0x51], rcx
xor r15d, r15d
mov dword [rbp - 0x79], r15d
lea rax, [0x14025efc0]
mov qword [rbp + 7], rax
lea rcx, [0x14025efc8]
mov qword [rbp + 0xf], rcx
lea rcx, str.LOCALAPPDATA
mov qword [rbp + 0x17], rcx
lea rcx, [0x14025eff8]
mov qword [rbp + 0x1f], rcx
mov qword [rbp + 0x27], r15
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r15
mov word [rbp - 0x39], r15w
mov edi, r15d
or rsi, 0xffffffffffffffff
movabs r12, 0x7fffffffffffffff
nop word [rax + rax]
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.1400fb690
nop
cmp qword [rbp - 9], 0
sete al
test al, al
jne 0x1400fb421
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.140035ab0
cmp rdi, 2
jl 0x1400fb3b6
lea rdx, str.Temp
lea rcx, [rbp - 0x39]
call fcn.1400fc1f0
mov dword [rbp - 0x71], r15d
call fcn.1400f7cd0
mov qword [rbp - 0x69], rax
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.1400fb010
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fb40b
cmp ecx, 1
je 0x1400fb40b
cmp dword [rbp - 0x71], 0
sete al
test al, al
je 0x1400fb40b
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x41]
call fcn.1400fb010
cmp dword [rax], 3
jne 0x1400fb40b
cmp dword [rbp - 0x71], 0
sete al
test al, al
jne 0x1400fb47a
mov qword [rbp - 0x29], r15
lea rax, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rax, qword [rbp - 0x39]
mov word [rax], r15w
mov rax, qword [rbp - 1]
cmp rax, 8
jb 0x1400fb468
inc rax
mov rcx, qword [rbp - 0x19]
cmp rax, r12
ja 0x1400fb4b3
add rax, rax
cmp rax, 0x1000
jb 0x1400fb462
test cl, 0x1f
jne 0x1400fb4ac
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400fb4a5
sub rcx, rax
cmp rcx, 8
jb 0x1400fb49e
cmp rcx, 0x27
ja 0x1400fb497
mov rcx, rax
call fcn.14022a0d0
nop
inc rdi
mov rax, qword [rbp + rdi*8 + 7]
test rax, rax
je 0x1400fb4ba
jmp 0x1400fb370
mov r8, qword [rbp - 1]
cmp r8, 8
jb 0x1400fb495
inc r8
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x19]
call fcn.1400381b0
nop
jmp 0x1400fb4ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp qword [rbp - 0x29], 0
sete al
test al, al
je 0x1400fb5d2
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.14004f470
nop
mov rdi, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x69]
cmp rdi, rcx
sete al
test al, al
jne 0x1400fb558
sub rcx, rdi
sar rcx, 1
mov edx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1400fb558
cmp word [rdi], 0
jne 0x1400fb512
mov rsi, r15
jmp 0x1400fb51c
inc rsi
cmp word [rdi + rsi*2], 0
jne 0x1400fb512
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.140035960
lea rdx, str.Temp
lea rcx, [rbp - 0x39]
call fcn.1400fc1f0
nop
mov r8, qword [rbp - 0x61]
sub r8, rdi
sar r8, 1
mov rdx, rdi
lea rcx, [rbp - 0x71]
call fcn.1400381b0
nop
jmp 0x1400fb5d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea r8, str.boost::filesystem::temp_directory_path
mov rdx, r14
call fcn.1400f9f20
nop
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
cmp qword [rbx + 0x18], 8
jb 0x1400fb588
mov rax, qword [rbx]
jmp 0x1400fb58b
mov rax, rbx
mov word [rax], r15w
mov dword [rbp - 0x79], 1
test rdi, rdi
je 0x1400fb5b2
mov r8, qword [rbp - 0x61]
sub r8, rdi
sar r8, 1
mov rdx, rdi
lea rcx, [rbp - 0x71]
call fcn.1400381b0
nop
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x1400fb5cd
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400381b0
nop
jmp 0x1400fb661
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
cmp qword [rbx + 0x18], 8
jb 0x1400fb5ea
mov rax, qword [rbx]
jmp 0x1400fb5ed
mov rax, rbx
mov word [rax], r15w
lea rax, [rbp - 0x39]
cmp rbx, rax
je 0x1400fb63f
cmp qword [rbx + 0x18], 8
jb 0x1400fb613
mov r8, qword [rbx + 0x18]
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1400381b0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
cmp qword [rbx + 0x18], 8
jb 0x1400fb62b
mov rax, qword [rbx]
jmp 0x1400fb62e
mov rax, rbx
mov word [rax], r15w
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.140035f80
nop
mov dword [rbp - 0x79], 1
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x1400fb661
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400381b0
nop
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140229810
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret