Function at 0x1400012f0
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 [section..data]
xor rax, rsp
mov qword [rbp + 0xbb0], rax
xor esi, esi
mov rdi, rcx
mov word [rcx], si
mov r15, r8
movzx ecx, word [rdx]
mov r13, rdx
mov eax, esi
test cx, cx
je 0x140001768
nop dword [rax]
cmp cx, 0x7b
jne 0x140001353
lea rax, [rbp - 0x50]
mov word [rbp - 0x50], si
jmp 0x140001756
movzx ecx, word [r13]
cmp cx, 0x7d
jne 0x140001735
lea rdx, str.TEMP
mov word [rax], si
lea rcx, [rbp - 0x50]
xor r12b, r12b
call fcn.14000b16c
test eax, eax
jne 0x140001390
mov rdx, rdi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12b, 1
jmp 0x140001569
lea rdx, [0x140020708]
lea rcx, [rbp - 0x50]
call fcn.14000b16c
test eax, eax
jne 0x1400013fd
mov rbx, r15
call fcn.140006ecc
cmp word [rdi], 0
mov rcx, qword [rax]
mov rax, rdi
mov rdx, qword [rcx]
je 0x1400013cd
nop dword [rax + rax]
add rax, 2
dec rbx
cmp word [rax], 0
jne 0x1400013c0
movzx ecx, word [rdx]
test cx, cx
je 0x1400013f5
cmp rbx, 1
jb 0x1400017a1
add rdx, 2
mov word [rax], cx
add rax, 2
dec rbx
movzx ecx, word [rdx]
test cx, cx
jne 0x1400013d5
mov word [rax], si
jmp 0x140001569
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp - 0x50]
call fcn.14000b16c
test eax, eax
jne 0x140001489
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140001420
mov r8, r15
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rdi
call fcn.1400012f0
test al, al
je 0x140001797
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x140001450
cmp rax, 4
jb 0x140001569
lea rbx, [rdi + rax*2]
lea rcx, [rbx - 8]
lea rdx, str..exe
call fcn.14000b16c
test eax, eax
jne 0x140001569
mov word [rbx - 8], si
jmp 0x140001569
lea rdx, [0x140020768]
lea rcx, [rbp - 0x50]
call fcn.14000b16c
test eax, eax
jne 0x1400015a9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x1400206f0]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.140001060
cmp word [rdi], 0
lea r14, [rsp + 0x30]
mov rsi, r15
mov rbx, rdi
je 0x1400014de
add rbx, 2
dec rsi
cmp word [rbx], 0
jne 0x1400014d1
movzx eax, byte [rsp + 0x30]
test al, al
je 0x140001567
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.140006c58
cmp rax, 1
jne 0x14000179b
cmp word [rbx], 0
mov rcx, rsi
mov rax, rbx
je 0x14000153d
nop dword [rax]
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x140001530
cmp rcx, 1
jb 0x14000179b
movzx ecx, word [rsp + 0x24]
inc r14
mov word [rax], cx
add rbx, 2
xor ecx, ecx
dec rsi
mov word [rax + 2], cx
movzx eax, byte [r14]
test al, al
jne 0x1400014f0
xor esi, esi
cmp word [rdi], 0
je 0x14000157d
nop
add rdi, 2
dec r15
cmp word [rdi], 0
jne 0x140001570
test r12b, r12b
je 0x1400015a1
cmp word [rdi - 2], 0x5c
jne 0x1400015a1
nop dword [rax]
sub rdi, 2
inc r15
mov word [rdi], si
cmp word [rdi - 2], 0x5c
je 0x140001590
mov rax, rsi
jmp 0x140001756
lea rdx, [0x140020770]
lea rcx, [rbp - 0x50]
call fcn.14000b16c
test eax, eax
jne 0x1400015c4
mov edx, 0x28
jmp 0x1400015dd
lea rdx, str.CACHE_DIR
lea rcx, [rbp - 0x50]
call fcn.14000b16c
test eax, eax
jne 0x1400015f8
mov edx, 0x1c
mov r8, r15
mov rcx, rdi
call fcn.140001230
test al, al
je 0x140001797
mov r12b, 1
jmp 0x140001569
lea rdx, str.PRODUCT
lea rcx, [rbp - 0x50]
call fcn.14000b16c
test eax, eax
jne 0x140001669
mov rdx, r15
mov rcx, rdi
cmp word [rdi], ax
je 0x14000162d
nop word [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x140001620
lea r8, [0x1400207a8]
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x1400017a1
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x140001640
mov word [rcx], si
jmp 0x140001569
lea rdx, str.VERSION
lea rcx, [rbp - 0x50]
call fcn.14000b16c
test eax, eax
jne 0x1400016d9
mov rdx, r15
mov rcx, rdi
cmp word [rdi], ax
je 0x14000169d
nop dword [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x140001690
lea r8, str.0.4.16
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x1400017a1
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x1400016b0
mov word [rcx], si
jmp 0x140001569
lea rdx, str.TIME
lea rcx, [rbp - 0x50]
call fcn.14000b16c
test eax, eax
jne 0x140001797
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, r15
lea rdx, [rbp + 0x7b0]
mov rcx, rdi
call fcn.1400017b0
jmp 0x140001569
test rax, rax
je 0x140001743
mov word [rax], cx
add rax, 2
jmp 0x140001756
cmp r15, 1
jb 0x140001797
mov word [rdi], cx
add rdi, 2
dec r15
mov word [rdi], si
movzx ecx, word [r13 + 2]
add r13, 2
test cx, cx
jne 0x140001340
mov word [rdi], si
mov al, 1
mov rcx, qword [rbp + 0xbb0]
xor rcx, rsp
call fcn.140003140
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 0x14000176d
call fcn.140006924
int3
call fcn.140006924
int3