Function at 0x14000bfa0
Capabilities:
Check if file exists
Get file attributes
Get geographical location
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1400623d0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov dword [0x140063de0], ecx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov r9d, 0x20
movzx ecx, ax
lea r8, [0x140063df0]
lea edx, [r9 - 0x1a]
mov dword [0x140063de4], ecx
mov word [rsp + 0x20], cx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
lea rdx, [0x140063df0]
lea rcx, [0x140063e38]
mov r8d, 2
call fcn.14001ae00
movzx eax, word [0x140063de0]
mov r9d, 0x20
lea r8, [0x140063df0]
lea edx, [r9 - 0x1a]
mov ecx, ebx
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
lea rdx, [0x140063df0]
lea rcx, [0x140063e40]
mov r8d, 2
call fcn.14001ae00
lea rcx, [0x140063df0]
mov edx, 0x2d
call fcn.14001ad74
mov ecx, 0x5f
mov word [rax], cx
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.LCIDToLocaleName
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14000e1c0]
xor r8d, r8d
xor edx, edx
mov qword [0x1400667c0], rax
call qword [sym.imp.KERNEL32.dll_EnumUILanguagesW]
cmp dword [0x140064d5c], 1
ja 0x14000c16e
mov qword [rsp + 0x90], rdi
call fcn.14000eff0
lea rcx, str.C:_system.sav_flagslangpacks_available_languages
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rdi, [0x140063e90]
cmp eax, 0xffffffff
je 0x14000c107
xor edx, edx
mov r8d, 0x800
mov rcx, rdi
call fcn.14001a650
lea rdx, str..flg
lea rcx, str.C:_system.sav_flagslangpacks_available_languages
mov dword [0x140064d5c], 0
call fcn.14000e040
lea rcx, str.C:System.savLPLogs
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000c166
xor edx, edx
mov r8d, 0x800
mov rcx, rdi
call fcn.14001a650
mov dword [0x140064d5c], 1
xor eax, eax
lea r8, str.en_US
nop dword [rax]
movzx edx, word [rax + r8]
lea rax, [rax + 2]
mov word [rax + rdi - 2], dx
test dx, dx
jne 0x14000c140
lea rdx, str..LOG
lea rcx, str.C:System.savLPLogs
call fcn.14000e040
mov rdi, qword [rsp + 0x90]
mov r8d, dword [0x140064d5c]
lea rdx, [0x140047560]
lea rcx, [0x140064698]
call fcn.14001c9d4
mov rax, qword [0x1400667c0]
mov ecx, dword [0x140063de0]
test rax, rax
jne 0x14000c20e
lea r9d, [rax + 8]
lea r8, [rsp + 0x50]
lea edx, [rax + 0x59]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [0x140063de0]
mov r9d, 8
lea r8, [rsp + 0x30]
lea edx, [r9 + 0x52]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [0x140047c40]
lea rcx, [0x140063e50]
call fcn.14001c9d4
jmp 0x14000c21e
xor r9d, r9d
lea rdx, [0x140063e50]
lea r8d, [r9 + 0x20]
call rax
movzx eax, word [0x140063de0]
mov r9d, 3
lea r8, [0x140063de8]
lea edx, [r9 + 1]
mov ecx, ebx
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
movzx eax, word [0x140063de0]
mov r9d, 4
lea r8, [0x140063e30]
lea edx, [r9 + 1]
mov ecx, ebx
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
movzx eax, word [0x140063de0]
lea r8, [0x1400646a0]
mov r9d, 0x100
mov edx, 8
mov ecx, ebx
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov ecx, dword [0x140063de0]
mov r9d, 0x20
lea edx, [r9 - 0x1c]
lea r8, [0x1400648e0]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [0x140063de0]
mov r9d, 0x20
lea edx, [r9 - 0x1e]
lea r8, [0x140064920]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [0x140063de0]
lea r8, [0x1400648a0]
mov r9d, 0x20
mov edx, 0x1001
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [0x140063de0]
mov r9d, 4
lea edx, [r9 - 1]
lea r8, [0x140063e48]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001a120
add rsp, 0x80
pop rbx
ret