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 [0x14002a008]
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 0x14000b799
cmp cx, 0x25
jne 0x14000b769
test rax, rax
jne 0x14000b429
lea rax, [rsp + 0xb0]
mov word [rsp + 0xb0], r15w
jmp 0x14000b787
lea rdx, str.TEMP
mov word [rax], r15w
lea rcx, [rsp + 0xb0]
xor bpl, bpl
call fcn.140011d80
test eax, eax
jne 0x14000b45b
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov bpl, 1
jmp 0x14000b723
lea rdx, str.PROGRAM
lea rcx, [rsp + 0xb0]
call fcn.140011d80
test eax, eax
jne 0x14000b4ce
mov rdi, rsi
call fcn.14000e7dc
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 0x14000b7ca
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 0x14000b723
lea rdx, str.PROGRAM_BASE
lea rcx, [rsp + 0xb0]
call fcn.140011d80
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 0x14000b7c6
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], r15w
jne 0x14000b520
cmp rax, 4
jb 0x14000b723
lea rdi, [rbx + rax*2]
lea rcx, [rdi - 8]
lea rdx, str..exe
call fcn.140011d80
test eax, eax
jne 0x14000b723
mov word [rdi - 8], r15w
jmp 0x14000b723
lea rdx, [0x140026068]
lea rcx, [rsp + 0xb0]
call fcn.140011d80
test eax, eax
jne 0x14000b59b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140026070]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.140001060
lea rdx, [rsp + 0x30]
jmp 0x14000b718
lea rdx, str.HOME
lea rcx, [rsp + 0xb0]
call fcn.140011d80
test eax, eax
jne 0x14000b5b8
lea edx, [rax + 0x28]
jmp 0x14000b5d3
lea rdx, str.CACHE_DIR
lea rcx, [rsp + 0xb0]
call fcn.140011d80
test eax, eax
jne 0x14000b5ee
lea edx, [rax + 0x1c]
mov r8, rsi
mov rcx, rbx
call fcn.14000b300
test al, al
je 0x14000b7c6
mov bpl, 1
jmp 0x14000b723
lea rdx, str.PRODUCT
lea rcx, [rsp + 0xb0]
call fcn.140011d80
test eax, eax
jne 0x14000b659
mov rdx, rsi
mov rcx, rbx
cmp word [rbx], r15w
je 0x14000b61f
add rcx, 2
dec rdx
cmp word [rcx], r15w
jne 0x14000b612
lea r8, str.Microsoft
sub r8, rcx
nop dword [rax]
cmp rdx, 1
jb 0x14000b7ca
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000b630
mov word [rcx], r15w
jmp 0x14000b723
lea rdx, str.VERSION
lea rcx, [rsp + 0xb0]
call fcn.140011d80
test eax, eax
jne 0x14000b6c6
mov rdx, rsi
mov rax, rbx
cmp word [rbx], r15w
je 0x14000b68d
nop dword [rax]
add rax, 2
dec rdx
cmp word [rax], r15w
jne 0x14000b680
lea r8, str.4.8.9037.0
sub r8, rax
nop word [rax + rax]
cmp rdx, 1
jb 0x14000b7ca
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], r15w
jne 0x14000b6a0
mov word [rax], r15w
jmp 0x14000b723
lea rdx, str.TIME
lea rcx, [rsp + 0xb0]
call fcn.140011d80
test eax, eax
jne 0x14000b7c6
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.14000b7d0
cmp word [rbx], r15w
je 0x14000b73d
nop dword [rax]
add rbx, 2
dec rsi
cmp word [rbx], r15w
jne 0x14000b730
test bpl, bpl
je 0x14000b764
cmp word [rbx - 2], 0x5c
lea rax, [rbx - 2]
jne 0x14000b764
nop dword [rax]
mov word [rax], r15w
mov rbx, rax
add rax, 0xfffffffffffffffe
inc rsi
cmp word [rax], 0x5c
je 0x14000b750
mov rax, r15
jmp 0x14000b787
test rax, rax
je 0x14000b777
mov word [rax], cx
add rax, 2
jmp 0x14000b787
cmp rsi, 1
jb 0x14000b7c6
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.14000c540
mov rbx, qword [rsp + 0xcf8]
add rsp, 0xcc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor al, al
jmp 0x14000b79f
call fcn.14000e2f0
int3