Function at 0x14000b340
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xcc0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xcb0], rax
mov rsi, rdx
mov qword [rsp + 0x20], rdx
xor edx, edx
mov rdi, r8
mov eax, edx
mov word [rcx], dx
mov rbx, rcx
cmp word [rsi], ax
je 0x14000b6a3
nop
movzx ecx, word [rsi]
cmp cx, 0x7b
jne 0x14000b39e
lea rax, [rsp + 0xb0]
mov word [rsp + 0xb0], dx
jmp 0x14000b690
cmp cx, 0x7d
jne 0x14000b66b
mov word [rax], dx
lea rcx, [rsp + 0xb0]
lea rdx, str.TEMP
xor bpl, bpl
call fcn.140012e1c
test eax, eax
jne 0x14000b41b
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov bpl, 1
xor edx, edx
cmp word [rbx], 0
je 0x14000b3ed
nop dword [rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000b3e0
test bpl, bpl
je 0x14000b413
cmp word [rbx - 2], 0x5c
lea rax, [rbx - 2]
jne 0x14000b413
nop dword [rax]
mov word [rax], dx
mov rbx, rax
add rax, 0xfffffffffffffffe
inc rdi
cmp word [rax], 0x5c
je 0x14000b400
mov rax, rdx
jmp 0x14000b690
lea rdx, [0x14002a520]
lea rcx, [rsp + 0xb0]
call fcn.140012e1c
test eax, eax
jne 0x14000b44c
mov r8d, edi
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14000b3d4
xor al, al
jmp 0x14000b6a8
lea rdx, str.PROGRAM_BASE
lea rcx, [rsp + 0xb0]
call fcn.140012e1c
test eax, eax
jne 0x14000b4dc
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000b470
mov r8, rdi
lea rdx, str.PROGRAM
sub r8, rax
mov rcx, rbx
call fcn.14000b340
test al, al
je 0x14000b445
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000b4a0
cmp rax, 4
jb 0x14000b3d4
lea rsi, [rbx + rax*2]
lea rcx, [rsi - 8]
lea rdx, str..exe
call fcn.140012e1c
xor edx, edx
test eax, eax
jne 0x14000b4d2
mov word [rsi - 8], dx
mov rsi, qword [rsp + 0x20]
jmp 0x14000b3d6
lea rdx, [0x14002a578]
lea rcx, [rsp + 0xb0]
call fcn.140012e1c
test eax, eax
jne 0x14000b528
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14002a4c4]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.140001060
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b730
jmp 0x14000b3d4
lea rdx, [0x14002a580]
lea rcx, [rsp + 0xb0]
call fcn.140012e1c
test eax, eax
jne 0x14000b55b
lea edx, [rax + 0x28]
mov r8, rdi
mov rcx, rbx
call fcn.14000b280
test al, al
je 0x14000b445
jmp 0x14000b3d1
lea rdx, str.CACHE_DIR
lea rcx, [rsp + 0xb0]
call fcn.140012e1c
test eax, eax
jne 0x14000b578
lea edx, [rax + 0x1c]
jmp 0x14000b543
lea rdx, str.COMPANY
lea rcx, [rsp + 0xb0]
call fcn.140012e1c
test eax, eax
jne 0x14000b5a7
mov r8, rdi
lea rdx, [0x14002a5b8]
mov rcx, rbx
call fcn.14000b6d0
jmp 0x14000b3d4
lea rdx, str.PRODUCT
lea rcx, [rsp + 0xb0]
call fcn.140012e1c
test eax, eax
jne 0x14000b5d6
mov r8, rdi
lea rdx, [0x14002a5e8]
mov rcx, rbx
call fcn.14000b6d0
jmp 0x14000b3d4
lea rdx, str.VERSION
lea rcx, [rsp + 0xb0]
call fcn.140012e1c
test eax, eax
jne 0x14000b605
mov r8, rdi
lea rdx, [0x14002a610]
mov rcx, rbx
call fcn.14000b6d0
jmp 0x14000b3d4
lea rdx, str.TIME
lea rcx, [rsp + 0xb0]
call fcn.140012e1c
test eax, eax
jne 0x14000b445
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
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
mov r8, rdi
lea rdx, [rsp + 0x8b0]
mov rcx, rbx
call fcn.14000b730
jmp 0x14000b3d4
test rax, rax
je 0x14000b679
mov word [rax], cx
add rax, 2
jmp 0x14000b690
cmp rdi, 1
jb 0x14000b445
mov word [rbx], cx
add rbx, 2
dec rdi
mov word [rbx], dx
add rsi, 2
mov qword [rsp + 0x20], rsi
cmp word [rsi], 0
jne 0x14000b380
mov word [rbx], dx
mov al, 1
mov rcx, qword [rsp + 0xcb0]
xor rcx, rsp
call fcn.14000c720
mov rbx, qword [rsp + 0xce8]
add rsp, 0xcc0
pop rdi
pop rsi
pop rbp
ret