Function at 0x14000a680
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xbc0]
sub rsp, 0xcc0
mov rax, qword [0x14002b008]
xor rax, rsp
mov qword [rbp + 0xbb0], rax
xor esi, esi
mov rbx, rcx
mov word [rcx], si
mov r14, r8
movzx ecx, word [rdx]
mov r13, rdx
mov eax, esi
test cx, cx
je 0x14000aa15
nop dword [rax]
cmp cx, 0x7b
jne 0x14000a6e3
lea rax, [rbp - 0x50]
mov word [rbp - 0x50], si
jmp 0x14000aa03
cmp cx, 0x7d
jne 0x14000a9e2
lea rdx, [0x140026758]
mov word [rax], si
lea rcx, [rbp - 0x50]
xor r12b, r12b
call fcn.14001183c
test eax, eax
jne 0x14000a71b
mov rdx, rbx
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12b, 1
jmp 0x14000a8f9
lea rdx, [0x140026768]
lea rcx, [rbp - 0x50]
call fcn.14001183c
test eax, eax
jne 0x14000a78d
mov rdi, r14
call fcn.14000e250
cmp word [rbx], 0
mov rcx, qword [rax]
mov rax, rbx
mov rdx, qword [rcx]
je 0x14000a75d
nop word [rax + rax]
add rax, 2
dec rdi
cmp word [rax], 0
jne 0x14000a750
movzx ecx, word [rdx]
test cx, cx
je 0x14000a785
cmp rdi, 1
jb 0x14000aa48
add rdx, 2
mov word [rax], cx
add rax, 2
dec rdi
movzx ecx, word [rdx]
test cx, cx
jne 0x14000a765
mov word [rax], si
jmp 0x14000a8f9
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp - 0x50]
call fcn.14001183c
test eax, eax
jne 0x14000a819
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000a7b0
mov r8, r14
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rbx
call fcn.14000a680
test al, al
je 0x14000aa44
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000a7e0
cmp rax, 4
jb 0x14000a8f9
lea rdi, [rbx + rax*2]
lea rcx, [rdi - 8]
lea rdx, str..exe
call fcn.14001183c
test eax, eax
jne 0x14000a8f9
mov word [rdi - 8], si
jmp 0x14000a8f9
lea rdx, [0x1400267c8]
lea rcx, [rbp - 0x50]
call fcn.14001183c
test eax, eax
jne 0x14000a93b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140026754]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.140001060
cmp word [rbx], 0
lea r15, [rsp + 0x30]
mov rsi, r14
mov rdi, rbx
je 0x14000a86e
add rdi, 2
dec rsi
cmp word [rdi], 0
jne 0x14000a861
movzx eax, byte [rsp + 0x30]
test al, al
je 0x14000a8f7
nop dword [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r12b
lea rcx, [rsp + 0x24]
call fcn.14000e05c
cmp rax, 1
jne 0x14000aa4e
cmp word [rdi], 0
mov rcx, rsi
mov rax, rdi
je 0x14000a8cd
nop dword [rax]
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000a8c0
cmp rcx, 1
jb 0x14000aa4e
movzx ecx, word [rsp + 0x24]
inc r15
mov word [rax], cx
add rdi, 2
xor ecx, ecx
dec rsi
mov word [rax + 2], cx
movzx eax, byte [r15]
test al, al
jne 0x14000a880
xor esi, esi
cmp word [rbx], 0
je 0x14000a90d
nop
add rbx, 2
dec r14
cmp word [rbx], 0
jne 0x14000a900
test r12b, r12b
je 0x14000a933
cmp word [rbx - 2], 0x5c
lea rax, [rbx - 2]
jne 0x14000a933
nop dword [rax]
mov word [rax], si
mov rbx, rax
add rax, 0xfffffffffffffffe
inc r14
cmp word [rax], 0x5c
je 0x14000a920
mov rax, rsi
jmp 0x14000aa03
lea rdx, [0x1400267d0]
lea rcx, [rbp - 0x50]
call fcn.14001183c
test eax, eax
jne 0x14000a954
lea edx, [rax + 0x28]
jmp 0x14000a96b
lea rdx, str.CACHE_DIR
lea rcx, [rbp - 0x50]
call fcn.14001183c
test eax, eax
jne 0x14000a986
lea edx, [rax + 0x1c]
mov r8, r14
mov rcx, rbx
call fcn.14000a5c0
test al, al
je 0x14000aa44
mov r12b, 1
jmp 0x14000a8f9
lea rdx, str.TIME
lea rcx, [rbp - 0x50]
call fcn.14001183c
test eax, eax
jne 0x14000aa44
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rsi
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r9, qword [rsp + 0x28]
lea r8, str._lld
mov edx, 0x400
lea rcx, [rbp + 0x7b0]
call fcn.140001060
mov r8, r14
lea rdx, [rbp + 0x7b0]
mov rcx, rbx
call fcn.14000aa60
jmp 0x14000a8f9
test rax, rax
je 0x14000a9f0
mov word [rax], cx
add rax, 2
jmp 0x14000aa03
cmp r14, 1
jb 0x14000aa44
mov word [rbx], cx
add rbx, 2
dec r14
mov word [rbx], si
movzx ecx, word [r13 + 2]
add r13, 2
test cx, cx
jne 0x14000a6d0
mov word [rbx], si
mov al, 1
mov rcx, qword [rbp + 0xbb0]
xor rcx, rsp
call fcn.14000bca0
mov rbx, qword [rsp + 0xd08]
add rsp, 0xcc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor al, al
jmp 0x14000aa1a
call fcn.14000dd60
int3
call fcn.14000dd60
int3