Function at 0x1400112e0
Capabilities:
Get geographical location
Get keyboard layout
Identify system language via api

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x330
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003f4c0]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x50], 7
xor r15d, r15d
mov qword [rbp - 0x58], r15
mov word [rbp - 0x68], r15w
cmp word [rdx], r15w
jne 0x140011340
mov r8d, r15d
jmp 0x14001134e
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140011344
lea rcx, [rbp - 0x68]
call fcn.140017c60
nop
call fcn.140013750
mov rdx, rax
mov r8, rdi
mov rcx, r14
call fcn.140013bb0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140011929
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rdx, rax
mov r8, rdi
mov rcx, r14
call fcn.140013bb0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140011929
mov qword [rbp - 0x70], r15
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x14002bc60]
xor edx, edx
lea r8d, [rbx + 0x18]
lea rcx, [0x14002b9b0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
js 0x1400113fe
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ole32.dll_OleRun]
mov esi, eax
test eax, eax
js 0x1400113ea
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea r8, [rbp - 0x70]
lea rdx, [0x14002d5b8]
call qword [rax]
mov esi, eax
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
js 0x1400113fe
mov rcx, qword [rbp - 0x70]
jmp 0x14001140d
mov rcx, r15
mov qword [rbp - 0x70], rcx
test esi, esi
js 0x1400117e0
test rcx, rcx
sete al
test al, al
jne 0x1400117e0
mov rbx, r15
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, str.HotkeyActionRotateZeroDefault
lea rcx, [rsp + 0x60]
call fcn.14000f8c0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jne 0x140011453
mov ecx, 0x80004003
call fcn.14001adb0
nop
mov r8, rax
lea rdx, [rsp + 0x70]
call fcn.140014750
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x140011480
mov rbx, qword [rax]
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x140011480
lock inc dword [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001148f
call fcn.140016720
test rbx, rbx
je 0x1400117d5
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400114be
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400114be
mov r8, qword [rbx]
mov edx, 0x40
lea rcx, [rbp + 0x120]
call fcn.14001d1c0
cmp dword [rbx + 0x10], 1
jne 0x1400117d5
mov qword [rbx], r15
mov rcx, rbx
call fcn.140016720
mov rbx, r15
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
lea rdx, str.HotkeyActionRotate90Default
lea rcx, [rsp + 0x48]
call fcn.14000f8c0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jne 0x14001150b
mov ecx, 0x80004003
call fcn.14001adb0
nop
mov r8, rax
lea rdx, [rsp + 0x50]
call fcn.140014750
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x140011538
mov rbx, qword [rax]
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x140011538
lock inc dword [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140011547
call fcn.140016720
test rbx, rbx
je 0x1400117ca
mov rcx, qword [rbx]
test rcx, rcx
je 0x140011573
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x140011573
mov r8, qword [rbx]
mov edx, 0x40
lea rcx, [rbp + 0x20]
call fcn.14001d1c0
cmp dword [rbx + 0x10], 1
jne 0x1400117ca
mov qword [rbx], r15
mov rcx, rbx
call fcn.140016720
mov rbx, r15
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rdx, str.HotkeyActionRotate270Default
lea rcx, [rsp + 0x58]
call fcn.14000f8c0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jne 0x1400115c0
mov ecx, 0x80004003
call fcn.14001adb0
nop
mov r8, rax
lea rdx, [rsp + 0x68]
call fcn.140014750
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x1400115ed
mov rbx, qword [rax]
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x1400115ed
lock inc dword [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400115fc
call fcn.140016720
test rbx, rbx
je 0x1400117bf
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001162b
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x14001162b
mov r8, qword [rbx]
mov edx, 0x40
lea rcx, [rbp + 0xa0]
call fcn.14001d1c0
cmp dword [rbx + 0x10], 1
jne 0x1400117bf
mov qword [rbx], r15
mov rcx, rbx
call fcn.140016720
mov rbx, r15
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rdx, str.HotkeyActionRotate180Default
lea rcx, [rsp + 0x78]
call fcn.14000f8c0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jne 0x140011678
mov ecx, 0x80004003
call fcn.14001adb0
nop
mov r8, rax
lea rdx, [rsp + 0x38]
call fcn.140014750
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x1400116a5
mov rbx, qword [rax]
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x1400116a5
lock inc dword [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400116b4
call fcn.140016720
test rbx, rbx
je 0x1400117b4
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400116e3
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400116e3
mov r8, qword [rbx]
mov edx, 0x40
lea rcx, [rbp + 0x1a0]
call fcn.14001d1c0
cmp dword [rbx + 0x10], 1
jne 0x1400117b4
mov qword [rbx], r15
mov rcx, rbx
call fcn.140016720
mov qword [rsp + 0x30], r15
mov rdx, rdi
lea rcx, [rbp + 0x120]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x140011721
mov r8d, 2
lea rdx, [0x14002d7f8]
jmp 0x140011782
mov rdx, rdi
lea rcx, [rbp + 0x20]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x14001173c
lea rdx, str.Left
jmp 0x14001177c
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x140011760
mov r8d, 5
lea rdx, str.Right
jmp 0x140011782
mov rdx, rdi
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x14001178b
lea rdx, str.Down
mov r8d, 4
lea rcx, [rbp - 0x68]
call fcn.140017c60
lea rbx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rbx, qword [rbp - 0x68]
call fcn.140013750
mov rdx, rax
mov r8, rbx
mov rcx, r14
call fcn.140013bb0
mov ebx, eax
mov rcx, qword [rbp - 0x70]
jmp 0x1400117e0
mov ecx, 0x80004003
call fcn.14001adb0
int3
mov ecx, 0x80004003
call fcn.14001adb0
int3
mov ecx, 0x80004003
call fcn.14001adb0
int3
mov ecx, 0x80004003
call fcn.14001adb0
nop
test rcx, rcx
je 0x1400117eb
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp ebx, 0xffffffff
jne 0x140011929
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov word [rbp - 0x38], ax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov word [rbp + 0x10], ax
xor r9d, r9d
lea r8, str._04x
lea edx, [rbx + 0xa]
lea rcx, [rbp - 0x48]
call fcn.14001d508
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ecx, ax
and ecx, 0x3ff
lea r9d, [rbx + 0xa]
lea r8, [rbp]
lea edx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14001188e
lea r8, [rbp]
lea edx, [rbx + 0xa]
lea rcx, [rbp - 0x48]
call fcn.14001d138
lea edx, [rbx + 2]
lea rcx, [rbp - 0x48]
call qword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
test rax, rax
je 0x14001188e
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r8, qword [rbp - 0x68]
mov rdx, rax
mov rcx, r14
call fcn.140013bb0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140011929
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov word [rbp - 0x20], ax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov word [rbp - 8], ax
mov r9d, 9
lea r8, str._04x
mov edx, r9d
lea rcx, [rbp - 0x30]
call fcn.14001d508
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
and ecx, 0x3ff
mov r9d, 9
lea r8, [rbp - 0x18]
lea edx, [r9 - 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140011929
lea r8, [rbp - 0x18]
mov edx, 9
lea rcx, [rbp - 0x30]
call fcn.14001d138
mov edx, 1
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
test rax, rax
je 0x140011929
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r8, qword [rbp - 0x68]
mov rdx, rax
mov rcx, r14
call fcn.140013bb0
mov ebx, eax
cmp qword [rbp - 0x50], 8
jb 0x140011939
mov rcx, qword [rbp - 0x68]
call fcn.14001b2d0
mov eax, ebx
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14001c700
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret