Function at 0x14001a864
Capabilities:
Get geographical location
Identify system language via api
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xa38]
sub rsp, 0xb10
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rbp + 0xa00], rax
mov eax, dword [0x140027628]
xor r13d, r13d
movsd xmm0, qword [str.UI.dll]
or r14, 0xffffffffffffffff
mov dword [rsp + 0x50], eax
mov r12b, r13b
movzx eax, word [0x14002762c]
mov r15, r14
mov word [rsp + 0x54], ax
lea rax, [rsp + 0x48]
movsd qword [rsp + 0x48], xmm0
inc r15
cmp word [rax + r15*2], r13w
jne 0x14001a41d
mov edi, 0x104
lea rdx, [rbp - 0x40]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movsxd rcx, eax
cmp ecx, edi
jl 0x14001a44a
mov word [rbp + 0x1c6], r13w
jmp 0x14001a46c
mov rax, rcx
mov ebx, 0x208
add rax, rax
cmp rax, rbx
jae 0x14001a85d
mov word [rbp + rax - 0x40], r13w
test ecx, ecx
jle 0x14001a810
lea eax, [rcx - 1]
mov rdx, r13
movsxd rcx, eax
mov rsi, r13
mov eax, 1
lea r8d, [rax + 0x5b]
test rsi, rsi
jne 0x14001a4b0
cmp word [rbp + rcx*2 - 0x40], 0x2e
jne 0x14001a4a6
mov rdx, rcx
cmp word [rbp + rcx*2 - 0x40], r8w
je 0x14001a4a3
test rcx, rcx
je 0x14001a4b0
sub rcx, rax
jmp 0x14001a491
mov rsi, rcx
test rcx, rcx
je 0x14001a4b0
sub rcx, rax
jmp 0x14001a481
mov rbx, rdx
mov qword [rsp + 0x38], rdx
sub rbx, rsi
lea r8, [rbp - 0x3e]
sub rbx, rax
lea r8, [r8 + rsi*2]
mov r9, rbx
lea rcx, [rbp + 0x1d0]
mov rdx, rdi
call fcn.140011b4c
mov rdx, rdi
lea rcx, [rbp + 0x1d0]
sub rdx, rbx
lea rcx, [rcx + rbx*2]
lea r9, [r15 + 1]
lea r8, [rsp + 0x48]
call fcn.140011b4c
lea rax, [rbp + 0x1d0]
inc r14
cmp word [rax + r14*2], r13w
jne 0x14001a4fe
mov edi, 0xa
lea rdx, [rsp + 0x58]
mov r8d, edi
lea rcx, str.VSLANG
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14001a536
lea rcx, [rsp + 0x58]
call fcn.14000ef0c
mov ebx, eax
test eax, eax
jne 0x14001a53f
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, str.TRACKER_CONSOLEPAGE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14001a568
lea rcx, [rsp + 0x70]
call fcn.14000ef0c
mov edi, eax
test eax, eax
jne 0x14001a570
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov edi, eax
mov ecx, 0x3ff
movzx eax, bx
and ax, cx
lea edx, [rcx + 0xa]
mov ecx, 1
cmp ax, cx
je 0x14001a58e
cmp ax, 0xd
jne 0x14001a594
movzx ebx, dx
mov r12b, cl
xor r9d, r9d
movzx r13d, bx
xor r8d, r8d
mov ecx, r13d
lea edx, [r9 + 0xb]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rcx, eax
add rcx, rcx
mov dword [rsp + 0x20], eax
call fcn.14000c52c
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14001a809
mov r9d, dword [rsp + 0x20]
mov r8, rax
mov edx, 0xb
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rcx, qword [rsp + 0x28]
call fcn.14000ef0c
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor r8d, r8d
mov edx, 0x1004
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rcx, eax
add rcx, rcx
mov dword [rsp + 0x20], eax
call fcn.14000c52c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14001a809
mov r9d, dword [rsp + 0x20]
mov r8, rax
mov edx, 0xb
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r13, qword [rsp + 0x40]
mov rcx, r13
call fcn.14000ef0c
cmp edi, 0xfde9
je 0x14001a65a
cmp edi, dword [rsp + 0x30]
je 0x14001a65a
cmp edi, eax
je 0x14001a65a
mov ebx, 0x409
mov r12b, 1
mov rcx, qword [rsp + 0x28]
call fcn.14000c534
mov rcx, r13
call fcn.14000c534
mov edi, 2
mov r9d, 0xa
movzx ecx, bx
lea rdx, [rbp - 0x78]
lea r8d, [r9 + 0xf]
call fcn.140017d3c
mov edx, 0x19
lea rcx, [rbp - 0x78]
call fcn.14000f770
mov r13, qword [rsp + 0x38]
add r13, rdi
mov qword [rsp + 0x28], rax
add r13, rax
add r13, r15
cmp r13, 0x104
ja 0x14001a7ec
lea r9, [rsi + 1]
mov rdx, r13
lea r8, [rbp - 0x40]
lea rcx, [rbp + 0x3e0]
call fcn.140011b4c
mov r9, qword [rsp + 0x28]
lea rbx, [rbp + 0x3e2]
lea rbx, [rbx + rsi*2]
mov rdx, r13
mov rcx, rbx
lea r8, [rbp - 0x78]
sub rdx, rsi
call fcn.140011b4c
mov rax, qword [rsp + 0x28]
lea r9, [r14 + 1]
sub r13, rax
lea r8, [rbp + 0x1d0]
mov ecx, 0x5c
sub r13, rsi
mov rdx, r13
mov word [rbx + rax*2], cx
inc rax
lea rcx, [rbx + rax*2]
call fcn.140011b4c
mov r8d, edi
lea rcx, [rbp + 0x3e0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x14001a7d9
test r12b, r12b
jne 0x14001a749
mov r12b, 1
mov ebx, 0x409
jmp 0x14001a671
lea r9, [rsi + 1]
lea r8, [rbp - 0x40]
lea rdx, [rsi + 2]
lea rcx, [rbp + 0x5f0]
call fcn.140011b4c
mov r9, r14
lea r8, [rbp + 0x1d0]
lea rdx, [rsi + 2]
lea rcx, [rbp + 0x5f0]
call fcn.14001a1f8
test rax, rax
jne 0x14001a7d9
mov ecx, edi
call fcn.14000ca24
mov rcx, rax
lea r9, [rbp + 0x5f0]
lea r8, [rbp + 0x1d0]
lea rdx, str.FileTracker_:_ERROR_:_Could_not_load_UI_satellite_dll__ls.__Make_sure_it_exists_in_an_LCID_subdirectory_of__ls._n
call fcn.14001ab08
mov eax, 9
mov rcx, qword [rbp + 0xa00]
xor rcx, rsp
call fcn.140004f90
lea r11, [rsp + 0xb10]
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
mov rdx, rax
lea rcx, [0x14002cd80]
call fcn.140019ba0
xor eax, eax
jmp 0x14001a7a9
mov ecx, edi
call fcn.14000ca24
mov rcx, rax
lea rdx, str.FileTracker_:_ERROR_:_Path_to_localized_DLL_exceeds_MAX_PATH._n
call fcn.14001ab08
mov eax, 8
jmp 0x14001a7a9
mov eax, 1
jmp 0x14001a7a9
xor edx, edx
lea rcx, [rbp + 0x5f0]
mov r8d, 0x410
call fcn.140005db0
mov rdx, rbx
lea rcx, [rbp + 0x5f0]
call fcn.14001a1b0
mov ecx, 2
call fcn.14000ca24
mov rcx, rax
lea r8, [rbp + 0x5f0]
lea rdx, str.FileTracker_:_ERROR_:_Unable_to_get_filename_for_current_module.__ls_n
call fcn.14001ab08
mov eax, 7
jmp 0x14001a7a9
call fcn.1400050c4
int3
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
add rsp, 0x28
jmp 0x14001a3b0