Function at 0x14000b4d0
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 [0x14003f2f0]
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 [0x140040b60], ecx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov r9d, 0x20
movzx ecx, ax
lea r8, [0x140040b70]
lea edx, [r9 - 0x1a]
mov dword [0x140040b64], ecx
mov word [rsp + 0x20], cx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
lea rdx, [0x140040b70]
lea rcx, [0x140040bb8]
mov r8d, 2
call fcn.140016ce0
movzx eax, word [0x140040b60]
mov r9d, 0x20
lea r8, [0x140040b70]
lea edx, [r9 - 0x1a]
mov ecx, ebx
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
lea rdx, [0x140040b70]
lea rcx, [0x140040bc0]
mov r8d, 2
call fcn.140016ce0
lea rcx, [0x140040b70]
mov edx, 0x2d
call fcn.140016c54
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, [0x14000d500]
xor r8d, r8d
xor edx, edx
mov qword [0x140043500], rax
call qword [sym.imp.KERNEL32.dll_EnumUILanguagesW]
cmp dword [0x140041adc], 1
ja 0x14000b69e
mov qword [rsp + 0x90], rdi
call fcn.14000e320
lea rcx, str.C:_system.sav_flagslangpacks_available_languages
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rdi, [0x140040c10]
cmp eax, 0xffffffff
je 0x14000b637
xor edx, edx
mov r8d, 0x800
mov rcx, rdi
call fcn.1400166f0
lea rdx, str..flg
lea rcx, str.C:_system.sav_flagslangpacks_available_languages
mov dword [0x140041adc], 0
call fcn.14000d380
lea rcx, str.C:System.savLPLogs
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b696
xor edx, edx
mov r8d, 0x800
mov rcx, rdi
call fcn.1400166f0
mov dword [0x140041adc], 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 0x14000b670
lea rdx, str..LOG
lea rcx, str.C:System.savLPLogs
call fcn.14000d380
mov rdi, qword [rsp + 0x90]
mov r8d, dword [0x140041adc]
lea rdx, [0x14002ccc0]
lea rcx, [0x140041418]
call fcn.140018028
mov rax, qword [0x140043500]
mov ecx, dword [0x140040b60]
test rax, rax
jne 0x14000b73e
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 [0x140040b60]
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, [0x14002d350]
lea rcx, [0x140040bd0]
call fcn.140018028
jmp 0x14000b74e
xor r9d, r9d
lea rdx, [0x140040bd0]
lea r8d, [r9 + 0x20]
call rax
movzx eax, word [0x140040b60]
mov r9d, 3
lea r8, [0x140040b68]
lea edx, [r9 + 1]
mov ecx, ebx
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
movzx eax, word [0x140040b60]
mov r9d, 4
lea r8, [0x140040bb0]
lea edx, [r9 + 1]
mov ecx, ebx
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
movzx eax, word [0x140040b60]
lea r8, [0x140041420]
mov r9d, pe_nt_image_headers64
mov edx, 8
mov ecx, ebx
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov ecx, dword [0x140040b60]
mov r9d, 0x20
lea edx, [r9 - 0x1c]
lea r8, [0x140041660]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [0x140040b60]
mov r9d, 0x20
lea edx, [r9 - 0x1e]
lea r8, [0x1400416a0]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [0x140040b60]
lea r8, [0x140041620]
mov r9d, 0x20
mov edx, 0x1001
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [0x140040b60]
mov r9d, 4
lea edx, [r9 - 1]
lea r8, [0x140040bc8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400161c0
add rsp, 0x80
pop rbx
ret