Function at 0x180002060
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x180056060]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x60]
call fcn.180012250
lea rdx, [rbp - 0x60]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x180002131
lea rcx, [rbp - 0x60]
mov r8, 0xffffffffffffffff
mov rax, r8
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1800020d0
xor ebx, ebx
cmp word [rbp + rax*2 - 0x62], 0x5c
jne 0x1800020fe
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x180002374
mov word [rbp + rax - 0x60], bx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], bx
lea rax, [rbp - 0x60]
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180002120
lea rdx, [rbp - 0x60]
jmp 0x180002182
lea rax, str.Failed_to_get_temp_path
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x17
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [0x18005aa70]
call fcn.1800079a0
xor ebx, ebx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], bx
xor r8d, r8d
lea rdx, [0x18004672c]
lea rcx, [rbp - 0x80]
call fcn.180006ee0
nop
mov rsi, qword [rbp - 0x70]
test rsi, rsi
jne 0x180002202
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
xor r8d, r8d
lea rdx, [0x18004672c]
mov rcx, rdi
call fcn.180006ee0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x18000233e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002339
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000236e
jmp 0x180002339
lea rcx, [rsp + 0x60]
call fcn.180001ed0
mov r14, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rsi
cmp rcx, 1
jb 0x18000237a
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], 1
lea rax, [0x180046730]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x40]
call fcn.180009a00
nop
mov r9, r14
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.1800097f0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800022ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800022a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002380
call fcn.18000f980
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1800022ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800022ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002386
call fcn.18000f980
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], bx
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x18000233e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002339
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002368
call fcn.18000f980
mov rax, rdi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.18000f960
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.18001b3c0
int3
call fcn.18001b3c0
int3
call fcn.18000fda0
nop
call fcn.180001330
nop
call fcn.18001b3c0
nop
call fcn.18001b3c0
int3