Function at 0x1800084a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180074060]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x50], rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r15d, eax
xor esi, esi
test eax, eax
jne 0x18000850c
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
xor r8d, r8d
lea rdx, [0x180060b38]
mov rcx, rbx
call fcn.1800061c0
jmp 0x1800085f6
xorps xmm0, xmm0
xor eax, eax
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
lea r14, [r15 + r15]
cmp r14, 0x1000
jb 0x180008553
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x1800087a0
call fcn.1800248e0
mov rcx, rax
test rax, rax
je 0x18000879a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180008560
test r14, r14
je 0x180008560
mov rcx, r14
call fcn.1800248e0
mov qword [rbp - 0x48], rax
lea rdi, [r14 + rax]
mov qword [rbp - 0x38], rdi
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.180026ef0
mov qword [rbp - 0x40], rdi
mov rdx, qword [rbp - 0x48]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x18000861f
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
xor r8d, r8d
lea rdx, [0x180060b38]
mov rcx, rbx
call fcn.1800061c0
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800085f6
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800085f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000879a
call fcn.18002491c
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800248c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
mov rdx, qword [rbp - 0x48]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x180008640
lea rcx, [rbp - 0x30]
call fcn.18001b790
nop
lea rcx, [rbp - 0x30]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
cmovae rcx, r8
mov rax, qword [rbp - 0x20]
lea r14, [rcx + rax*2]
lea rdi, [rbp - 0x30]
cmovae rdi, r8
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, r14
sub rax, rdi
sar rax, 1
cmp rax, 0xf
jbe 0x1800086b1
mov rdx, rax
mov rcx, rbx
call fcn.18001d9f0
mov qword [rbx + 0x10], rsi
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
mov qword [rbp - 0x50], rbx
cmp rdi, r14
je 0x180008709
nop word [rax + rax]
movzx r9d, byte [rdi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1800086f0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1800086e5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800086f8
mov rcx, rbx
call fcn.18001dc80
add rdi, 2
cmp rdi, r14
jne 0x1800086c0
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
cmp rdx, 8
jb 0x180008740
lea rdx, [rdx*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x180008738
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008794
mov rcx, r8
call fcn.18002491c
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800085f6
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800085f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000879a
jmp 0x1800085f1
call fcn.18002b30c
nop
call fcn.18002b30c
int3
call fcn.180001240
int3