Function at 0x1400086a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xcc0
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rsp + 0xcb0], rax
xor r15d, r15d
mov rbx, rcx
mov word [rcx], r15w
mov rdi, r8
movzx ecx, word [rdx]
mov r14, rdx
mov eax, r15d
test cx, cx
je 0x140008a3d
cmp cx, 0x25
jne 0x140008a09
test rax, rax
jne 0x140008709
lea rax, [rsp + 0xb0]
mov word [rsp + 0xb0], r15w
jmp 0x140008a2b
lea rdx, [0x14001ef28]
mov word [rax], r15w
lea rcx, [rsp + 0xb0]
xor bpl, bpl
call fcn.140011de4
test eax, eax
jne 0x14000873b
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov bpl, 1
jmp 0x1400089c3
lea rdx, str.PROGRAM
lea rcx, [rsp + 0xb0]
call fcn.140011de4
test eax, eax
jne 0x140008770
mov r8d, edi
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400089c3
xor al, al
jmp 0x140008a43
lea rdx, str.PROGRAM_BASE
lea rcx, [rsp + 0xb0]
call fcn.140011de4
test eax, eax
jne 0x1400087fa
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], r15w
jne 0x140008790
mov r8, rdi
lea rdx, str._PROGRAM_
sub r8, rax
mov rcx, rbx
call fcn.1400086a0
test al, al
je 0x140008769
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], r15w
jne 0x1400087c0
cmp rax, 4
jb 0x1400089c3
lea rsi, [rbx + rax*2]
lea rcx, [rsi - 8]
lea rdx, str..exe
call fcn.140011de4
test eax, eax
jne 0x1400089c3
mov word [rsi - 8], r15w
jmp 0x1400089c3
lea rdx, [0x14001ef90]
lea rcx, [rsp + 0xb0]
call fcn.140011de4
test eax, eax
jne 0x14000883b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14001ef98]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.14000bc00
lea rdx, [rsp + 0x30]
jmp 0x1400089b8
lea rdx, str.HOME
lea rcx, [rsp + 0xb0]
call fcn.140011de4
test eax, eax
jne 0x140008858
lea edx, [rax + 0x28]
jmp 0x140008873
lea rdx, str.CACHE_DIR
lea rcx, [rsp + 0xb0]
call fcn.140011de4
test eax, eax
jne 0x14000888e
lea edx, [rax + 0x1c]
mov r8, rdi
mov rcx, rbx
call fcn.1400082b0
test al, al
je 0x140008769
mov bpl, 1
jmp 0x1400089c3
lea rdx, str.PRODUCT
lea rcx, [rsp + 0xb0]
call fcn.140011de4
test eax, eax
jne 0x1400088f9
mov rdx, rdi
mov rcx, rbx
cmp word [rbx], r15w
je 0x1400088bf
add rcx, 2
dec rdx
cmp word [rcx], r15w
jne 0x1400088b2
lea r8, [0x14001efd8]
sub r8, rcx
nop dword [rax]
cmp rdx, 1
jb 0x140008a6a
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x1400088d0
mov word [rcx], r15w
jmp 0x1400089c3
lea rdx, str.VERSION
lea rcx, [rsp + 0xb0]
call fcn.140011de4
test eax, eax
jne 0x140008966
mov rdx, rdi
mov rax, rbx
cmp word [rbx], r15w
je 0x14000892d
nop dword [rax]
add rax, 2
dec rdx
cmp word [rax], r15w
jne 0x140008920
lea r8, [0x14001f000]
sub r8, rax
nop word [rax + rax]
cmp rdx, 1
jb 0x140008a6a
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], r15w
jne 0x140008940
mov word [rax], r15w
jmp 0x1400089c3
lea rdx, str.TIME
lea rcx, [rsp + 0xb0]
call fcn.140011de4
test eax, eax
jne 0x140008769
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r9, qword [rsp + 0x20]
lea r8, str._lld
mov edx, 0x400
lea rcx, [rsp + 0x8b0]
call fcn.14000bc00
lea rdx, [rsp + 0x8b0]
mov r8, rdi
mov rcx, rbx
call fcn.140008370
cmp word [rbx], r15w
je 0x1400089dd
nop dword [rax]
add rbx, 2
dec rdi
cmp word [rbx], r15w
jne 0x1400089d0
test bpl, bpl
je 0x140008a04
cmp word [rbx - 2], 0x5c
lea rax, [rbx - 2]
jne 0x140008a04
nop dword [rax]
mov word [rax], r15w
mov rbx, rax
add rax, 0xfffffffffffffffe
inc rdi
cmp word [rax], 0x5c
je 0x1400089f0
mov rax, r15
jmp 0x140008a2b
test rax, rax
je 0x140008a17
mov word [rax], cx
add rax, 2
jmp 0x140008a2b
cmp rdi, 1
jb 0x140008769
mov word [rbx], cx
add rbx, 2
dec rdi
movzx ecx, word [r14 + 2]
add r14, 2
test cx, cx
jne 0x1400086e4
mov word [rbx], r15w
mov al, 1
mov rcx, qword [rsp + 0xcb0]
xor rcx, rsp
call fcn.14000c2c0
mov rbx, qword [rsp + 0xcf8]
add rsp, 0xcc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14000e4d0
int3