Function at 0x140022eb0
Capabilities:
Get common file path
Get file version info
Get startup folder

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x268]
sub rsp, 0x360
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
lea r8d, [rsi + 7]
lea rdx, [0x1400beb88]
lea rcx, [rsp + 0x58]
call fcn.140011970
nop
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x40]
call fcn.140077860
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x25]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x140022f81
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140011c00
mov dword [rsp + 0x30], 1
jmp 0x140023147
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
mov r8d, 0xd
lea rdx, str.kernel32.dll
lea rcx, [rbp - 0x80]
call fcn.140011970
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.1400144a0
nop
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x140022fdc
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400129b0
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x1400230f9
xor eax, eax
mov qword [rsp + 0x78], rax
mov edx, edi
lea rcx, [rsp + 0x78]
call fcn.140023e00
nop
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
mov r9, qword [rsp + 0x78]
mov r8d, edi
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
xor eax, eax
mov qword [rbp - 0x78], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x48]
lea rdx, [0x1400bfe8c]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140023080
cmp dword [rsp + 0x50], 0x34
jne 0x140023080
mov rax, qword [rsp + 0x48]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
xor edx, edx
lea r8d, [rdx + 0x58]
lea rcx, [rbp - 0x20]
call fcn.140077860
mov ecx, dword [rbp - 0x74]
movzx eax, cx
shr ecx, 0x10
mov r8d, dword [rbp - 0x78]
movzx r9d, r8w
shr r8d, 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._u._u._u._u
lea rcx, [rbp - 0x20]
call fcn.140023e70
cmp word [rbp - 0x20], 0
jne 0x1400230c8
mov r8, rsi
jmp 0x1400230db
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400230d0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140011970
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400230f9
call fcn.140056314
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140011c00
mov dword [rsp + 0x30], 1
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x140023137
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400129b0
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rsi
mov word [rbp - 0x48], si
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x140023164
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.1400129b0
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
mov rax, rbx
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140056280
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret