Function at 0x1400013e8
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x368]
sub rsp, 0x440
mov rax, qword [0x14000d958]
xor rax, rsp
mov qword [rbp + 0x330], rax
xor r9d, r9d
mov r15, rdx
mov r12d, ecx
xor r8d, r8d
xor ecx, ecx
lea ebx, [r9 + 1]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
nop dword [rax + rax]
mov ecx, ebx
call fcn.140009428
mov rcx, rax
call fcn.140001fb8
mov ecx, eax
mov edx, 0x40000
call fcn.140001dc8
lea ecx, [rbx + 0x1f]
call fcn.140001bc4
xor r13d, r13d
mov rdi, rax
test rax, rax
je 0x14000147f
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], r13
jmp 0x140001482
mov rdi, r13
mov qword [0x14000eec0], rdi
test rdi, rdi
jne 0x1400014ad
mov ebx, 0x8007000e
lea r8, str.WsTraceDumpResources.dll
mov edx, ebx
lea rcx, str.Error__x_happened_while_loading_resource_file__s._n
call fcn.140001b1c
jmp 0x1400015e0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
movzx esi, ax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
nop dword [rax + rax]
mov r14d, eax
mov ecx, 0x3ff
movzx eax, si
and ax, cx
mov ecx, 0x409
cmp ax, bx
je 0x1400014e6
cmp ax, 0xd
jne 0x1400014e8
mov esi, ecx
movzx ebx, si
lea r8, [rsp + 0x28]
mov ecx, ebx
mov r9d, 2
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop dword [rax + rax]
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x20001004
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop dword [rax + rax]
cmp r14d, 0xfde9
je 0x14000154a
cmp r14d, dword [rsp + 0x28]
je 0x14000154a
cmp r14d, dword [rsp + 0x20]
mov r14d, 0x409
je 0x140001550
movzx esi, r14w
jmp 0x140001550
mov r14d, 0x409
movzx edx, si
mov rcx, rdi
call fcn.140001200
mov ebx, eax
cmp eax, 1
jne 0x14000159f
movzx ecx, si
and ecx, 0x3ff
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
nop dword [rax + rax]
movzx edx, ax
mov rcx, rdi
call fcn.140001200
mov ebx, eax
cmp eax, 1
jne 0x14000159f
mov edx, r14d
mov rcx, rdi
call fcn.140001200
cmp eax, 1
mov ebx, 0x80070717
cmovne ebx, eax
test ebx, ebx
jns 0x1400015d5
lea r8, str.WsTraceDumpResources.dll
mov edx, ebx
lea rcx, str.Error__x_happened_while_loading_resource_file__s._n
call fcn.140001b1c
mov rcx, qword [0x14000eec0]
test rcx, rcx
je 0x1400015c9
call fcn.140001c04
mov rcx, r13
mov qword [0x14000eec0], rcx
jmp 0x1400015dc
mov rcx, qword [0x14000eec0]
test ebx, ebx
jns 0x1400015e7
mov eax, ebx
jmp 0x140001762
cmp r12d, 2
je 0x1400015fe
mov rcx, qword [rcx + 0x10]
call fcn.140001b1c
or eax, 0xffffffff
jmp 0x140001762
mov rcx, qword [r15 + 8]
lea rdx, str..etl
mov word [rsp + 0x30], r13w
call fcn.140001ff4
lea rcx, [rsp + 0x30]
lea r8, str._convert
test rax, rax
jne 0x14000162c
lea r8, str._output__session
call fcn.140001348
mov r8, qword [r15 + 8]
lea rcx, [rsp + 0x30]
call fcn.140001348
test eax, eax
jns 0x14000164f
mov rcx, qword [0x14000eec0]
mov rcx, qword [rcx]
jmp 0x1400015f1
or qword [rsp + 0x20], 0xffffffffffffffff
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140001088
test eax, eax
jns 0x140001698
mov rcx, qword [0x14000eec0]
mov rcx, qword [rcx + 8]
call fcn.140001b1c
mov rcx, qword [rsp + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x1400015f6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x1400015f6
mov rbx, qword [rsp + 0x20]
or edi, 0xffffffff
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x1400016d5
cmp eax, edi
jne 0x1400016c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x1400016d8
mov edi, r13d
test edi, edi
jns 0x1400016f5
cmp rbx, 0xffffffffffffffff
je 0x1400016f1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, edi
jmp 0x140001762
mov rsi, qword [0x14000eec0]
mov r14d, 3
mov rdi, rsi
mov rcx, qword [rdi]
test rcx, rcx
je 0x140001715
call fcn.140001c04
mov qword [rdi], r13
add rdi, 8
sub r14, 1
jne 0x140001705
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov rcx, qword [0x14000eec0]
mov qword [rsi + 0x18], r13
test rcx, rcx
je 0x140001744
call fcn.140001c04
mov qword [0x14000eec0], r13
cmp rbx, 0xffffffffffffffff
je 0x140001760
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1400019f0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret