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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400335a0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, r8
mov qword [rbp - 0x51], rbx
mov r13, rdx
mov rdi, rcx
mov qword [rbp - 0x49], rcx
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [rbp - 0x21], eax
mov ecx, eax
shr ecx, 0x10
and ecx, 0xf
shl ecx, 0x10
mov edx, 0x3ff
and eax, edx
or ecx, eax
bts ecx, 0xa
mov dword [rbp - 0x1d], ecx
mov dword [rbp - 0x19], 0x409
xor r15d, r15d
lea r12, [rbp - 0x21]
lea r14, [0x1400239ac]
lea esi, [r15 + 1]
mov r9d, 0xa
lea r8d, [r9 + 2]
lea rdx, [rbp + 7]
mov ecx, dword [r12]
call fcn.140011170
mov dword [rbp - 0x69], 2
mov dword [rbp - 0x65], 2
mov dword [rbp - 0x61], 0x10
mov qword [rbp - 0x59], r14
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x69]
call fcn.14000b870
nop
mov r9, rbx
lea r8, [rbp - 0x69]
mov rdx, r13
lea rcx, [rbp - 0x41]
call fcn.1400078ac
mov rbx, rax
test rax, rax
jne 0x140007c4a
xor edx, edx
jmp 0x140007c56
mov rcx, rax
call fcn.14000ba80
mov rdx, qword [rbx + 0x10]
mov dword [rsp + 0x28], 2
mov dword [rbp - 0x7d], 2
mov dword [rbp - 0x79], 0x10
mov qword [rbp - 0x71], r14
lea rcx, [rsp + 0x28]
call fcn.14000b870
nop
test byte [rbp - 0x39], 8
je 0x140007c8b
mov rcx, qword [rbp - 0x31]
call fcn.140008a60
nop
test byte [rbp - 0x61], 8
je 0x140007c9a
mov rcx, qword [rbp - 0x59]
call fcn.140008a60
lea rcx, [rsp + 0x28]
call fcn.14000796c
test al, al
je 0x140007d5d
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov esi, eax
test eax, eax
je 0x140007d9a
cmp dword [r12], 0x409
je 0x140007d9a
movzx eax, word [r12]
mov ecx, 0x3ff
and ax, cx
mov ecx, 1
cmp ax, cx
je 0x140007d4c
cmp ax, 0xd
je 0x140007d4c
movzx ebx, word [r12]
lea r9d, [rcx + 0xb]
lea r8, [rbp - 0x11]
lea edx, [rcx + 0xa]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rbp - 0x11]
call fcn.140011164
mov r14d, eax
mov r9d, 0xc
lea r8, [rbp - 0x11]
lea edx, [r9 - 1]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rbp - 0x11]
call fcn.140011164
cmp esi, 0xfde9
je 0x140007d93
cmp esi, r14d
je 0x140007d93
cmp esi, eax
je 0x140007d93
test byte [rbp - 0x79], 8
je 0x140007d6e
mov rcx, qword [rbp - 0x71]
call fcn.140008a60
jmp 0x140007d6e
test byte [rbp - 0x79], 8
je 0x140007d75
mov rcx, qword [rbp - 0x71]
call fcn.140008a60
jmp 0x140007d75
test byte [rbp - 0x79], 8
je 0x140007d7a
mov rcx, qword [rbp - 0x71]
call fcn.140008a60
jmp 0x140007d7a
lea r14, [0x1400239ac]
mov esi, 1
add r15d, esi
add r12, 4
movsxd rax, r15d
cmp rax, 3
jae 0x140007de0
mov rbx, qword [rbp - 0x51]
jmp 0x140007bed
lea r14, [0x1400239ac]
lea rcx, [rsp + 0x28]
call fcn.14000ba80
mov eax, 2
mov dword [rdi], eax
mov dword [rdi + 4], eax
mov dword [rdi + 8], 0x10
mov qword [rdi + 0x10], r14
mov rdx, qword [rbp - 0x71]
mov rcx, rdi
call fcn.14000b870
nop
mov eax, 1
mov dword [rsp + 0x20], eax
test byte [rbp - 0x79], 8
je 0x140007e0c
mov rcx, qword [rbp - 0x71]
call fcn.140008a60
jmp 0x140007e0c
mov dword [rdi], 2
mov dword [rdi + 4], 2
mov dword [rdi + 8], 0x10
mov qword [rdi + 0x10], r14
lea rdx, [0x140028fc4]
mov rcx, rdi
call fcn.14000b870
nop
mov dword [rsp + 0x20], esi
mov rax, rdi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14000fbe0
mov rbx, qword [rsp + 0x128]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret