Function at 0x14000e6f0
Capabilities:
Get common file path
Get file version info
Identify system language via api

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402526c8]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r14, rcx
mov qword [rbp - 0x40], rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
call fcn.14002dca4
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14000e75e
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14], rax
mov r13d, 1
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x48], r15
call fcn.14002dca4
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14000e79b
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov edx, 0x104
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.14002dca4
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14000e7d9
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rcx, [rbp - 0x30]
lea rax, [rbp - 0x30]
or rsi, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x14000e824
movzx edi, cx
mov ecx, edi
call fcn.1400402fc
test rax, rax
je 0x14000e917
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400054e0
jmp 0x14000e917
xor eax, eax
mov rcx, rsi
lea rdi, [rbp - 0x30]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14000e899
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14000e917
cmp dword [rdx + 0x10], eax
jge 0x14000e86f
cmp dword [rbx - 0xc], eax
jge 0x14000e862
mov ecx, 0x80070057
call fcn.140001900
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14000e917
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000e885
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
jmp 0x14000e917
mov r15d, dword [rbx - 0x10]
lea r12, [rbp - 0x30]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x14000e8b6
mov ecx, 0x80070057
call fcn.140001900
int3
sub r13d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ecx
or eax, r13d
jge 0x14000e8d5
mov edx, ecx
lea rcx, [rsp + 0x40]
call fcn.140001650
mov rbx, qword [rsp + 0x40]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
lea r13, [rax + rax]
add rdx, rdx
mov r9, r13
cmp r12, r15
ja 0x14000e8f9
lea r8, [rbx + r12*2]
call fcn.14017e198
jmp 0x14000e902
lea r8, [rbp - 0x30]
call fcn.14017e110
cmp edi, dword [rbx - 0xc]
jg 0x14000ed71
mov dword [rbx - 0x10], edi
xor r15d, r15d
mov word [r13 + rbx], r15w
mov r8d, SafeArrayGetDim
lea rdx, str.kernel32.dll
lea rcx, [rsp + 0x40]
call fcn.140005330
lea rdx, [rsp + 0x3c]
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r12d, eax
test eax, eax
je 0x14000ed34
lea ecx, [rax + 1]
call fcn.14017f28c
mov rbx, rax
mov r9, rax
mov r8d, r12d
mov edx, dword [rsp + 0x3c]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000ed26
mov r8d, 0x18
lea rdx, str.VarFileInfoTranslation
lea rcx, [rsp + 0x30]
call fcn.1400016b0
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000e9e6
cmp dword [rsp + 0x3c], 4
jne 0x14000e9e6
mov rax, qword [rsp + 0x48]
mov edx, dword [rax]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 0x18
movzx r9d, dl
shr edx, 8
movzx r8d, dl
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rdx, str.StringFileInfo_02X_02X_02X_02XFileVersion
lea rcx, [rsp + 0x30]
call fcn.140006220
jmp 0x14000ea01
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx r8d, ax
lea rdx, str.StringFileInfo_04X04B0FileVersion
lea rcx, [rsp + 0x30]
call fcn.140006220
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000ed26
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x14000ea30
mov ecx, r15d
jmp 0x14000ea41
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x30]
call fcn.1400016b0
mov dword [rsp + 0x38], r15d
lea r9, [rsp + 0x38]
lea r8, [0x140206e8c]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.14001ccc0
nop
lea r8, [rsp + 0x70]
lea rdx, str._KernelMajorVersion___
lea rcx, [rbp - 0x50]
call fcn.1400050b0
nop
lea r8, [0x140206e90]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140005260
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r14
call fcn.140005330
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000eaca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000eae8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [rsp + 0x38]
lea r8, [0x140206e8c]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14001ccc0
nop
lea r8, [rsp + 0x60]
lea rdx, str._KernelMinorVersion___
lea rcx, [rbp - 0x58]
call fcn.1400050b0
nop
lea r8, [0x140206e90]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140005260
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r14
call fcn.140005330
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000eb5d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000eb7b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [rsp + 0x38]
lea r8, [0x140206e8c]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.14001ccc0
nop
lea r8, [rsp + 0x68]
lea rdx, str._KernelBuildNum___
lea rcx, [rbp - 0x80]
call fcn.1400050b0
nop
lea r8, [0x140206e90]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140005260
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r14
call fcn.140005330
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000ebf0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000ec0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [rsp + 0x38]
lea r8, [0x140206ca4]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.14001ccc0
nop
lea r8, [rsp + 0x58]
lea rdx, str._KernelReleaseNum___
lea rcx, [rbp - 0x68]
call fcn.1400050b0
nop
lea r8, [0x140206e90]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140005260
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r14
call fcn.140005330
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000ec83
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000eca2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000ecc2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000ece2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000ed02
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000ed21
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x40]
test rbx, rbx
je 0x14000ed34
mov rcx, rbx
call fcn.14017f1f0
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000ed4f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14000ed6c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r14
jmp 0x14000ed7c
mov ecx, 0x80070057
call fcn.140001900
nop
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14017e0f0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret