Function at 0x1800084f0
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 [0x180073060]
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 0x18000855c
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
xor r8d, r8d
lea rdx, [0x18005fb38]
mov rcx, rbx
call fcn.180006210
jmp 0x180008646
xorps xmm0, xmm0
xor eax, eax
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
lea r14, [r15 + r15]
cmp r14, 0x1000
jb 0x1800085a3
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x1800087f0
call fcn.180024360
mov rcx, rax
test rax, rax
je 0x1800087ea
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800085b0
test r14, r14
je 0x1800085b0
mov rcx, r14
call fcn.180024360
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.180026970
mov qword [rbp - 0x40], rdi
mov rdx, qword [rbp - 0x48]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x18000866f
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
xor r8d, r8d
lea rdx, [0x18005fb38]
mov rcx, rbx
call fcn.180006210
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180008646
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008641
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800087ea
call fcn.18002439c
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180024340
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 0x180008690
lea rcx, [rbp - 0x30]
call fcn.18001b210
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 0x180008701
mov rdx, rax
mov rcx, rbx
call fcn.18001d470
mov qword [rbx + 0x10], rsi
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
mov qword [rbp - 0x50], rbx
cmp rdi, r14
je 0x180008759
nop word [rax + rax]
movzx r9d, byte [rdi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x180008740
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x180008735
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180008748
mov rcx, rbx
call fcn.18001d700
add rdi, 2
cmp rdi, r14
jne 0x180008710
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
cmp rdx, 8
jb 0x180008790
lea rdx, [rdx*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x180008788
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800087e4
mov rcx, r8
call fcn.18002439c
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180008646
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008641
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800087ea
jmp 0x180008641
call fcn.18002ad8c
nop
call fcn.18002ad8c
int3
call fcn.180001240
int3