Function at 0x14000b3c0
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 [0x14002e008]
xor rax, rsp
mov qword [rsp + 0xcb0], rax
xor r15d, r15d
mov rbx, rcx
mov word [rcx], r15w
mov rsi, r8
movzx ecx, word [rdx]
mov r14, rdx
mov eax, r15d
test cx, cx
je 0x14000b6b9
cmp cx, 0x25
jne 0x14000b689
test rax, rax
jne 0x14000b429
lea rax, [rsp + 0xb0]
mov word [rsp + 0xb0], r15w
jmp 0x14000b6a7
lea rdx, str.TEMP
mov word [rax], r15w
lea rcx, [rsp + 0xb0]
xor bpl, bpl
call fcn.140015864
test eax, eax
jne 0x14000b45b
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov bpl, 1
jmp 0x14000b648
lea rdx, str.PROGRAM
lea rcx, [rsp + 0xb0]
call fcn.140015864
test eax, eax
jne 0x14000b4ce
mov rdi, rsi
call fcn.140010778
mov rcx, qword [rax]
mov rax, rbx
mov rdx, qword [rcx]
cmp word [rbx], r15w
je 0x14000b49d
nop word [rax + rax]
add rax, 2
dec rdi
cmp word [rax], r15w
jne 0x14000b490
movzx ecx, word [rdx]
test cx, cx
je 0x14000b4c5
cmp rdi, 1
jb 0x14000b6ea
add rdx, 2
mov word [rax], cx
add rax, 2
dec rdi
movzx ecx, word [rdx]
test cx, cx
jne 0x14000b4a5
mov word [rax], r15w
jmp 0x14000b648
lea rdx, str.PROGRAM_BASE
lea rcx, [rsp + 0xb0]
call fcn.140015864
test eax, eax
jne 0x14000b55a
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], r15w
jne 0x14000b4f0
mov r8, rsi
lea rdx, str._PROGRAM_
sub r8, rax
mov rcx, rbx
call fcn.14000b3c0
test al, al
je 0x14000b6e6
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], r15w
jne 0x14000b520
cmp rax, 4
jb 0x14000b648
lea rdi, [rbx + rax*2]
lea rcx, [rdi - 8]
lea rdx, str..exe
call fcn.140015864
test eax, eax
jne 0x14000b648
mov word [rdi - 8], r15w
jmp 0x14000b648
lea rdx, [0x14002a308]
lea rcx, [rsp + 0xb0]
call fcn.140015864
test eax, eax
jne 0x14000b59b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14002a310]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.140001060
lea rdx, [rsp + 0x30]
jmp 0x14000b63d
lea rdx, str.HOME
lea rcx, [rsp + 0xb0]
call fcn.140015864
test eax, eax
jne 0x14000b5b8
lea edx, [rax + 0x28]
jmp 0x14000b5d3
lea rdx, str.CACHE_DIR
lea rcx, [rsp + 0xb0]
call fcn.140015864
test eax, eax
jne 0x14000b5eb
lea edx, [rax + 0x1c]
mov r8, rsi
mov rcx, rbx
call fcn.14000b300
test al, al
je 0x14000b6e6
mov bpl, 1
jmp 0x14000b648
lea rdx, str.TIME
lea rcx, [rsp + 0xb0]
call fcn.140015864
test eax, eax
jne 0x14000b6e6
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.140001060
lea rdx, [rsp + 0x8b0]
mov r8, rsi
mov rcx, rbx
call fcn.14000b6f0
cmp word [rbx], r15w
je 0x14000b65d
nop
add rbx, 2
dec rsi
cmp word [rbx], r15w
jne 0x14000b650
test bpl, bpl
je 0x14000b684
cmp word [rbx - 2], 0x5c
lea rax, [rbx - 2]
jne 0x14000b684
nop dword [rax]
mov word [rax], r15w
mov rbx, rax
add rax, 0xfffffffffffffffe
inc rsi
cmp word [rax], 0x5c
je 0x14000b670
mov rax, r15
jmp 0x14000b6a7
test rax, rax
je 0x14000b697
mov word [rax], cx
add rax, 2
jmp 0x14000b6a7
cmp rsi, 1
jb 0x14000b6e6
mov word [rbx], cx
add rbx, 2
dec rsi
movzx ecx, word [r14 + 2]
add r14, 2
test cx, cx
jne 0x14000b404
mov word [rbx], r15w
mov al, 1
mov rcx, qword [rsp + 0xcb0]
xor rcx, rsp
call fcn.14000c470
mov rbx, qword [rsp + 0xcf8]
add rsp, 0xcc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor al, al
jmp 0x14000b6bf
call fcn.1400101c4
int3