Function at 0x14000a420
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 [0x14002d008]
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 0x14000a8f8
nop dword [rax]
cmp cx, 0x25
jne 0x14000a8c5
test rax, rax
jne 0x14000a48c
lea rax, [rbp - 0x50]
mov word [rbp - 0x50], si
jmp 0x14000a8e6
lea rdx, str.TEMP
mov word [rax], si
lea rcx, [rbp - 0x50]
xor r12b, r12b
call fcn.140013f1c
test eax, eax
jne 0x14000a4ba
mov rdx, rdi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12b, 1
jmp 0x14000a695
lea rdx, str.PROGRAM
lea rcx, [rbp - 0x50]
call fcn.140013f1c
test eax, eax
jne 0x14000a52d
mov rbx, r15
call fcn.14000fd20
cmp word [rdi], 0
mov rcx, qword [rax]
mov rax, rdi
mov rdx, qword [rcx]
je 0x14000a4fd
nop word [rax + rax]
add rax, 2
dec rbx
cmp word [rax], 0
jne 0x14000a4f0
movzx ecx, word [rdx]
test cx, cx
je 0x14000a525
cmp rbx, 1
jb 0x14000a931
add rdx, 2
mov word [rax], cx
add rax, 2
dec rbx
movzx ecx, word [rdx]
test cx, cx
jne 0x14000a505
mov word [rax], si
jmp 0x14000a695
lea rdx, str.PROGRAM_BASE
lea rcx, [rbp - 0x50]
call fcn.140013f1c
test eax, eax
jne 0x14000a5b9
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000a550
mov r8, r15
lea rdx, str._PROGRAM_
sub r8, rax
mov rcx, rdi
call fcn.14000a420
test al, al
je 0x14000a927
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000a580
cmp rax, 4
jb 0x14000a695
lea rbx, [rdi + rax*2]
lea rcx, [rbx - 8]
lea rdx, str..exe
call fcn.140013f1c
test eax, eax
jne 0x14000a695
mov word [rbx - 8], si
jmp 0x14000a695
lea rdx, [0x1400286f8]
lea rcx, [rbp - 0x50]
call fcn.140013f1c
test eax, eax
jne 0x14000a6d9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140028700]
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 0x14000a60e
add rbx, 2
dec rsi
cmp word [rbx], 0
jne 0x14000a601
movzx edx, byte [rsp + 0x30]
test dl, dl
je 0x14000a693
nop word [rax + rax]
cmp word [rbx], 0
mov rcx, rsi
mov rax, rbx
je 0x14000a63d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000a630
cmp rcx, 1
jb 0x14000a92b
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], r12b
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000a660
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14000faac
movzx edx, byte [r14 + 1]
inc r14
add rbx, 2
dec rsi
test dl, dl
jne 0x14000a620
xor esi, esi
cmp word [rdi], 0
je 0x14000a6ad
nop dword [rax + rax]
add rdi, 2
dec r15
cmp word [rdi], 0
jne 0x14000a6a0
test r12b, r12b
je 0x14000a6d1
cmp word [rdi - 2], 0x5c
jne 0x14000a6d1
nop dword [rax]
sub rdi, 2
inc r15
mov word [rdi], si
cmp word [rdi - 2], 0x5c
je 0x14000a6c0
mov rax, rsi
jmp 0x14000a8e6
lea rdx, str.HOME
lea rcx, [rbp - 0x50]
call fcn.140013f1c
test eax, eax
jne 0x14000a6f2
lea edx, [rax + 0x28]
jmp 0x14000a709
lea rdx, str.CACHE_DIR
lea rcx, [rbp - 0x50]
call fcn.140013f1c
test eax, eax
jne 0x14000a724
lea edx, [rax + 0x1c]
mov r8, r15
mov rcx, rdi
call fcn.14000a360
test al, al
je 0x14000a927
mov r12b, 1
jmp 0x14000a695
lea rdx, str.COMPANY
lea rcx, [rbp - 0x50]
call fcn.140013f1c
test eax, eax
jne 0x14000a789
mov rdx, r15
mov rcx, rdi
cmp word [rdi], ax
je 0x14000a750
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000a743
lea r8, [0x140028740]
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000a931
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000a760
mov word [rcx], si
jmp 0x14000a695
lea rdx, str.PRODUCT
lea rcx, [rbp - 0x50]
call fcn.140013f1c
test eax, eax
jne 0x14000a7f9
mov rdx, r15
mov rcx, rdi
cmp word [rdi], ax
je 0x14000a7bd
nop dword [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000a7b0
lea r8, [0x140028760]
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000a931
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000a7d0
mov word [rcx], si
jmp 0x14000a695
lea rdx, str.VERSION
lea rcx, [rbp - 0x50]
call fcn.140013f1c
test eax, eax
jne 0x14000a869
mov rdx, r15
mov rcx, rdi
cmp word [rdi], ax
je 0x14000a82d
nop dword [rax + rax]
add rcx, 2
dec rdx
cmp word [rcx], 0
jne 0x14000a820
lea r8, [0x140028780]
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000a931
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], 0
jne 0x14000a840
mov word [rcx], si
jmp 0x14000a695
lea rdx, str.TIME
lea rcx, [rbp - 0x50]
call fcn.140013f1c
test eax, eax
jne 0x14000a927
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.14000a940
jmp 0x14000a695
test rax, rax
je 0x14000a8d3
mov word [rax], cx
add rax, 2
jmp 0x14000a8e6
cmp r15, 1
jb 0x14000a927
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 0x14000a470
mov word [rdi], si
mov al, 1
mov rcx, qword [rbp + 0xbb0]
xor rcx, rsp
call fcn.14000b690
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 0x14000a8fd
call fcn.14000f770
int3
call fcn.14000f770
int3