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 [0x14002a008]
xor rax, rsp
mov qword [rbp + 0xbb0], rax
xor edi, edi
mov r15, r8
mov word [rcx], di
mov r13, rdx
movzx eax, word [rdx]
mov rsi, rcx
mov r9d, edi
test ax, ax
je 0x14000ab69
nop dword [rax]
cmp ax, 0x7b
jne 0x14000a6e3
lea r9, [rbp - 0x50]
mov word [rbp - 0x50], di
jmp 0x14000ab57
cmp ax, 0x7d
jne 0x14000ab35
lea rdx, [0x140025728]
mov word [r9], di
lea rcx, [rbp - 0x50]
xor r12b, r12b
call fcn.140011530
test eax, eax
jne 0x14000a71c
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12b, 1
jmp 0x14000a8f9
lea rdx, [0x140025738]
lea rcx, [rbp - 0x50]
call fcn.140011530
test eax, eax
jne 0x14000a78d
mov rbx, r15
call fcn.14000e030
cmp word [rsi], 0
mov rcx, qword [rax]
mov rax, rsi
mov rdx, qword [rcx]
je 0x14000a75d
nop word [rax + rax]
add rax, 2
dec rbx
cmp word [rax], 0
jne 0x14000a750
movzx ecx, word [rdx]
test cx, cx
je 0x14000a785
cmp rbx, 1
jb 0x14000aba2
add rdx, 2
mov word [rax], cx
add rax, 2
dec rbx
movzx ecx, word [rdx]
test cx, cx
jne 0x14000a765
mov word [rax], di
jmp 0x14000a8f9
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp - 0x50]
call fcn.140011530
test eax, eax
jne 0x14000a819
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000a7b0
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rsi
call fcn.14000a680
test al, al
je 0x14000ab98
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000a7e0
cmp rax, 4
jb 0x14000a8f9
lea rbx, [rsi + rax*2]
lea rcx, [rbx - 8]
lea rdx, str..exe
call fcn.140011530
test eax, eax
jne 0x14000a8f9
mov word [rbx - 8], di
jmp 0x14000a8f9
lea rdx, [0x140025798]
lea rcx, [rbp - 0x50]
call fcn.140011530
test eax, eax
jne 0x14000a93b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140025724]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.140001060
cmp word [rsi], 0
lea r14, [rsp + 0x30]
mov rdi, r15
mov rbx, rsi
je 0x14000a86e
add rbx, 2
dec rdi
cmp word [rbx], 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.14000de3c
cmp rax, 1
jne 0x14000ab9c
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000a8cd
nop dword [rax]
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000a8c0
cmp rcx, 1
jb 0x14000ab9c
movzx ecx, word [rsp + 0x24]
inc r14
mov word [rax], cx
add rbx, 2
xor ecx, ecx
dec rdi
mov word [rax + 2], cx
movzx eax, byte [r14]
test al, al
jne 0x14000a880
xor edi, edi
cmp word [rsi], 0
je 0x14000a90d
nop
add rsi, 2
dec r15
cmp word [rsi], 0
jne 0x14000a900
test r12b, r12b
je 0x14000a933
cmp word [rsi - 2], 0x5c
lea rax, [rsi - 2]
jne 0x14000a933
nop dword [rax]
mov word [rax], di
mov rsi, rax
add rax, 0xfffffffffffffffe
inc r15
cmp word [rax], 0x5c
je 0x14000a920
mov r9, rdi
jmp 0x14000ab57
lea rdx, [0x1400257a0]
lea rcx, [rbp - 0x50]
call fcn.140011530
test eax, eax
jne 0x14000a954
lea edx, [rax + 0x28]
jmp 0x14000a96b
lea rdx, str.CACHE_DIR
lea rcx, [rbp - 0x50]
call fcn.140011530
test eax, eax
jne 0x14000a986
lea edx, [rax + 0x1c]
mov r8, r15
mov rcx, rsi
call fcn.14000a5c0
test al, al
je 0x14000ab98
mov r12b, 1
jmp 0x14000a8f9
lea rdx, str.COMPANY
lea rcx, [rbp - 0x50]
call fcn.140011530
test eax, eax
jne 0x14000a9f9
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000a9bd
nop word [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000a9b0
lea r8, str.Microsoft_Corporation
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000aba2
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000a9d0
mov word [rcx], di
jmp 0x14000a8f9
lea rdx, str.PRODUCT
lea rcx, [rbp - 0x50]
call fcn.140011530
test eax, eax
jne 0x14000aa69
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000aa2d
nop dword [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000aa20
lea r8, str.Microsoft
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000aba2
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000aa40
mov word [rcx], di
jmp 0x14000a8f9
lea rdx, str.VERSION
lea rcx, [rbp - 0x50]
call fcn.140011530
test eax, eax
jne 0x14000aad9
mov rdx, r15
mov rcx, rsi
cmp word [rsi], ax
je 0x14000aa9d
nop dword [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000aa90
lea r8, str.10.0.19041.3636
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000aba2
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000aab0
mov word [rcx], di
jmp 0x14000a8f9
lea rdx, str.TIME
lea rcx, [rbp - 0x50]
call fcn.140011530
test eax, eax
jne 0x14000ab98
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rdi
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, r15
lea rdx, [rbp + 0x7b0]
mov rcx, rsi
call fcn.14000abb0
jmp 0x14000a8f9
test r9, r9
je 0x14000ab44
mov word [r9], ax
add r9, 2
jmp 0x14000ab57
cmp r15, 1
jb 0x14000ab98
mov word [rsi], ax
add rsi, 2
dec r15
mov word [rsi], di
movzx eax, word [r13 + 2]
add r13, 2
test ax, ax
jne 0x14000a6d0
mov word [rsi], di
mov al, 1
mov rcx, qword [rbp + 0xbb0]
xor rcx, rsp
call fcn.14000bad0
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 0x14000ab6e
call fcn.14000db40
int3
call fcn.14000db40
int3