Function at 0x140006a40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14009e080]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rdx
xor r14d, r14d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call fcn.140041850
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x140006b03
lea rcx, [rbp - 0x50]
mov r8, 0xffffffffffffffff
mov rax, r8
lea rax, [rax + 1]
cmp word [rcx + rax*2], r14w
jne 0x140006ab3
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x140006ae0
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x140006d0d
mov word [rbp + rax - 0x50], r14w
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rbp - 0x50]
inc r8
cmp word [rax + r8*2], r14w
jne 0x140006af3
lea rdx, [rbp - 0x50]
jmp 0x140006b1c
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
xor r8d, r8d
lea rdx, [0x1400969ac]
lea rcx, [rbp - 0x70]
call fcn.14000a9c0
nop
mov rdi, qword [rbp - 0x60]
test rdi, rdi
jne 0x140006b98
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x1400969ac]
mov rcx, rbx
call fcn.14000a9c0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140006cd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006cd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d07
jmp 0x140006cd2
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.140006820
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rdi
cmp rcx, 1
jb 0x140006d13
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], 1
lea rax, [0x1400969b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x70]
call fcn.14000b370
nop
mov r9, rsi
lea r8, [rsp + 0x70]
mov rcx, rbx
call fcn.14000b150
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140006c45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d19
call fcn.140018480
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140006c87
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d1f
call fcn.140018480
movdqa xmm0, xmmword [0x140096ec0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140006cd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006cd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d01
call fcn.140018480
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140018460
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14002a220
int3
call fcn.14002a220
int3
call fcn.140018968
nop
call fcn.1400012d0
nop
call fcn.14002a220
nop
call fcn.14002a220
int3