Function at 0x1400d62b0
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 [0x140375828]
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, [0x14020a3f8]
mov qword [rbp + 7], rax
lea rcx, [0x14020a400]
mov qword [rbp + 0xf], rcx
lea rcx, str.LOCALAPPDATA
mov qword [rbp + 0x17], rcx
lea rcx, [0x14020a430]
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.1400d6670
nop
cmp qword [rbp - 9], 0
sete al
test al, al
jne 0x1400d6401
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.140026920
cmp rdi, 2
jl 0x1400d6396
lea rdx, str.Temp
lea rcx, [rbp - 0x39]
call fcn.1400d71d0
mov dword [rbp - 0x71], r15d
call fcn.1400d2cb0
mov qword [rbp - 0x69], rax
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.1400d5ff0
mov ecx, dword [rax]
test ecx, ecx
je 0x1400d63eb
cmp ecx, 1
je 0x1400d63eb
cmp dword [rbp - 0x71], 0
sete al
test al, al
je 0x1400d63eb
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x41]
call fcn.1400d5ff0
cmp dword [rax], 3
jne 0x1400d63eb
cmp dword [rbp - 0x71], 0
sete al
test al, al
jne 0x1400d645a
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 0x1400d6448
inc rax
mov rcx, qword [rbp - 0x19]
cmp rax, r12
ja 0x1400d6493
add rax, rax
cmp rax, 0x1000
jb 0x1400d6442
test cl, 0x1f
jne 0x1400d648c
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400d6485
sub rcx, rax
cmp rcx, 8
jb 0x1400d647e
cmp rcx, 0x27
ja 0x1400d6477
mov rcx, rax
call fcn.1401dd1a0
nop
inc rdi
mov rax, qword [rbp + rdi*8 + 7]
test rax, rax
je 0x1400d649a
jmp 0x1400d6350
mov r8, qword [rbp - 1]
cmp r8, 8
jb 0x1400d6475
inc r8
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x19]
call fcn.1400271e0
nop
jmp 0x1400d649a
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 0x1400d65b2
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.14005b590
nop
mov rdi, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x69]
cmp rdi, rcx
sete al
test al, al
jne 0x1400d6538
sub rcx, rdi
sar rcx, 1
mov edx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1400d6538
cmp word [rdi], 0
jne 0x1400d64f2
mov rsi, r15
jmp 0x1400d64fc
inc rsi
cmp word [rdi + rsi*2], 0
jne 0x1400d64f2
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.140026520
lea rdx, str.Temp
lea rcx, [rbp - 0x39]
call fcn.1400d71d0
nop
mov r8, qword [rbp - 0x61]
sub r8, rdi
sar r8, 1
mov rdx, rdi
lea rcx, [rbp - 0x71]
call fcn.1400271e0
nop
jmp 0x1400d65b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea r8, str.boost::filesystem::temp_directory_path
mov rdx, r14
call fcn.1400d4f00
nop
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
cmp qword [rbx + 0x18], 8
jb 0x1400d6568
mov rax, qword [rbx]
jmp 0x1400d656b
mov rax, rbx
mov word [rax], r15w
mov dword [rbp - 0x79], 1
test rdi, rdi
je 0x1400d6592
mov r8, qword [rbp - 0x61]
sub r8, rdi
sar r8, 1
mov rdx, rdi
lea rcx, [rbp - 0x71]
call fcn.1400271e0
nop
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x1400d65ad
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400271e0
nop
jmp 0x1400d6641
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
cmp qword [rbx + 0x18], 8
jb 0x1400d65ca
mov rax, qword [rbx]
jmp 0x1400d65cd
mov rax, rbx
mov word [rax], r15w
lea rax, [rbp - 0x39]
cmp rbx, rax
je 0x1400d661f
cmp qword [rbx + 0x18], 8
jb 0x1400d65f3
mov r8, qword [rbx + 0x18]
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1400271e0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
cmp qword [rbx + 0x18], 8
jb 0x1400d660b
mov rax, qword [rbx]
jmp 0x1400d660e
mov rax, rbx
mov word [rax], r15w
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14003ef50
nop
mov dword [rbp - 0x79], 1
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x1400d6641
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400271e0
nop
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401dd140
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