Function at 0x1401fe3d0
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x14064a080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, rdx
mov r12, rcx
mov qword [rbp - 0x61], rcx
xor r15d, r15d
test rdx, rdx
je 0x1401fe420
xorps xmm0, xmm0
mov qword [rbp - 0x69], r15
movups xmmword [rdx], xmm0
movsd xmm0, qword [rbp - 0x69]
movsd qword [rdx + 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], 7
mov word [rbp - 9], r15w
mov rdi, 0xffffffffffffffff
lea rcx, [0x1404ec1a0]
mov eax, r15d
mov r14, qword [rcx + rax*8]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
je 0x1401fe4df
mov eax, 2
mul rsi
cmovb rax, rdi
mov rcx, rax
call fcn.1404a6358
mov rbx, rax
mov qword [rbp - 0x49], rax
mov r8d, esi
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1401fe4d2
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xor r14d, r14d
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
mov r8, rdi
inc r8
cmp word [rbx + r8*2], r14w
jne 0x1401fe4a4
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1401b58d0
nop
test rbx, rbx
je 0x1401fe4c8
mov rcx, rbx
call fcn.1404a5eec
mov r8, qword [rbp - 0x11]
mov r9, qword [rbp - 0x19]
jmp 0x1401fe4ff
test rbx, rbx
je 0x1401fe4df
mov rcx, rbx
call fcn.1404a5eec
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xor r14d, r14d
mov r9d, r14d
mov qword [rbp - 0x19], r14
mov r8d, 7
mov qword [rbp - 0x11], r8
mov word [rbp - 0x29], r14w
test r9, r9
je 0x1401fe5ff
lea rcx, [rbp - 0x29]
cmp r8, 7
cmova rcx, qword [rbp - 0x29]
lea rdx, [rbp - 0x29]
cmova rdx, qword [rbp - 0x29]
lea r8, [rcx + r9*2]
sub r8, rdx
sar r8, 1
lea rcx, [rbp - 9]
call fcn.1401fbef0
cmp r15d, 2
jb 0x1401fe54f
lea r8, [0x1404ec218]
lea rdx, str.Temp
lea rcx, [rbp - 9]
call fcn.1401ff610
nop
xorps xmm0, xmm0
mov qword [rbp - 0x31], r14
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [rbp - 0x31]
movsd qword [rbp - 0x69], xmm0
lea r8, [rbp - 0x79]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x51]
call fcn.1401fe070
cmp dword [rbp - 0x51], 1
seta al
test al, al
je 0x1401fe5e5
test byte [rbp - 0x69], 1
je 0x1401fe598
cmp qword [rbp - 0x69], 1
jne 0x1401fe5e5
cmp dword [rbp - 0x79], 0
setne al
test al, al
jne 0x1401fe5e5
xorps xmm0, xmm0
mov qword [rbp - 0x31], r14
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [rbp - 0x31]
movsd qword [rbp - 0x69], xmm0
lea r8, [rbp - 0x79]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x61]
call fcn.1401fe070
nop
cmp dword [rbp - 0x61], 3
jne 0x1401fe5e5
test byte [rbp - 0x69], 1
je 0x1401fe6d1
cmp qword [rbp - 0x69], 1
jne 0x1401fe5e5
cmp dword [rbp - 0x79], 0
setne al
test al, al
je 0x1401fe6d1
mov qword [rbp + 7], r14
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rax, qword [rbp - 9]
mov word [rax], r14w
mov r8, qword [rbp - 0x11]
cmp r8, 7
jbe 0x1401fe63b
lea rdx, [r8*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fe636
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fe813
call fcn.1404a5eec
inc r15d
cmp r15d, 4
jb 0x1401fe43f
cmp qword [rbp + 7], 0
jne 0x1401fe763
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, eax
test eax, eax
je 0x1401fe69e
mov eax, 2
mul rsi
cmovb rax, rdi
mov rcx, rax
call fcn.1404a6358
mov rbx, rax
mov qword [rbp - 0x49], rax
mov edx, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x1401fe720
test rbx, rbx
je 0x1401fe69e
mov rcx, rbx
call fcn.1404a5eec
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401fe7a0
test r13, r13
je 0x1401fe7b1
xorps xmm0, xmm0
mov qword [rbp - 0x31], r14
movups xmmword [r13], xmm0
movsd xmm0, qword [rbp - 0x31]
movsd qword [r13 + 0x10], xmm0
jmp 0x1401fe7b1
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x1401fe648
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fe710
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fe813
call fcn.1404a5eec
jmp 0x1401fe648
lea rdi, [rdi + 1]
cmp word [rbx + rdi*2], 0
jne 0x1401fe720
lea r8, [rdi + rdi]
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.1401fbef0
lea r8, [0x1404ec218]
lea rdx, str.Temp
lea rcx, [rbp - 9]
call fcn.1401ff610
nop
test rbx, rbx
je 0x1401fe763
mov rcx, rbx
call fcn.1404a5eec
movups xmm0, xmmword [rbp - 9]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [r12 + 0x10], xmm1
mov rax, r12
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1404a5b80
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, str.boost::filesystem::temp_directory_path
mov rdx, r13
mov ecx, eax
call fcn.140200df0
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], 7
mov word [r12], r14w
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x1401fe776
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fe803
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fe80d
call fcn.1404a5eec
jmp 0x1401fe776
call fcn.1404acd84
nop
call fcn.1404acd84
int3