Function at 0x1400072e0
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 [0x1400354c0]
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 0x140007340
mov r8d, r15d
jmp 0x14000734e
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140007344
lea rcx, [rbp - 0x68]
call fcn.14000dc60
nop
call fcn.140009750
mov rdx, rax
mov r8, rdi
mov rcx, r14
call fcn.140009bb0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140007929
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rdx, rax
mov r8, rdi
mov rcx, r14
call fcn.140009bb0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140007929
mov qword [rbp - 0x70], r15
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x140021c60]
xor edx, edx
lea r8d, [rbx + 0x18]
lea rcx, [0x1400219b0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
js 0x1400073fe
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ole32.dll_OleRun]
mov esi, eax
test eax, eax
js 0x1400073ea
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea r8, [rbp - 0x70]
lea rdx, [0x1400235b8]
call qword [rax]
mov esi, eax
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
js 0x1400073fe
mov rcx, qword [rbp - 0x70]
jmp 0x14000740d
mov rcx, r15
mov qword [rbp - 0x70], rcx
test esi, esi
js 0x1400077e0
test rcx, rcx
sete al
test al, al
jne 0x1400077e0
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.1400058c0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jne 0x140007453
mov ecx, 0x80004003
call fcn.140010db0
nop
mov r8, rax
lea rdx, [rsp + 0x70]
call fcn.14000a750
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x140007480
mov rbx, qword [rax]
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x140007480
lock inc dword [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000748f
call fcn.14000c720
test rbx, rbx
je 0x1400077d5
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400074be
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400074be
mov r8, qword [rbx]
mov edx, 0x40
lea rcx, [rbp + 0x120]
call fcn.1400131c0
cmp dword [rbx + 0x10], 1
jne 0x1400077d5
mov qword [rbx], r15
mov rcx, rbx
call fcn.14000c720
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.1400058c0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jne 0x14000750b
mov ecx, 0x80004003
call fcn.140010db0
nop
mov r8, rax
lea rdx, [rsp + 0x50]
call fcn.14000a750
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x140007538
mov rbx, qword [rax]
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x140007538
lock inc dword [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140007547
call fcn.14000c720
test rbx, rbx
je 0x1400077ca
mov rcx, qword [rbx]
test rcx, rcx
je 0x140007573
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x140007573
mov r8, qword [rbx]
mov edx, 0x40
lea rcx, [rbp + 0x20]
call fcn.1400131c0
cmp dword [rbx + 0x10], 1
jne 0x1400077ca
mov qword [rbx], r15
mov rcx, rbx
call fcn.14000c720
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.1400058c0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jne 0x1400075c0
mov ecx, 0x80004003
call fcn.140010db0
nop
mov r8, rax
lea rdx, [rsp + 0x68]
call fcn.14000a750
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x1400075ed
mov rbx, qword [rax]
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x1400075ed
lock inc dword [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400075fc
call fcn.14000c720
test rbx, rbx
je 0x1400077bf
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000762b
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x14000762b
mov r8, qword [rbx]
mov edx, 0x40
lea rcx, [rbp + 0xa0]
call fcn.1400131c0
cmp dword [rbx + 0x10], 1
jne 0x1400077bf
mov qword [rbx], r15
mov rcx, rbx
call fcn.14000c720
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.1400058c0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jne 0x140007678
mov ecx, 0x80004003
call fcn.140010db0
nop
mov r8, rax
lea rdx, [rsp + 0x38]
call fcn.14000a750
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x1400076a5
mov rbx, qword [rax]
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x1400076a5
lock inc dword [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400076b4
call fcn.14000c720
test rbx, rbx
je 0x1400077b4
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400076e3
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400076e3
mov r8, qword [rbx]
mov edx, 0x40
lea rcx, [rbp + 0x1a0]
call fcn.1400131c0
cmp dword [rbx + 0x10], 1
jne 0x1400077b4
mov qword [rbx], r15
mov rcx, rbx
call fcn.14000c720
mov qword [rsp + 0x30], r15
mov rdx, rdi
lea rcx, [rbp + 0x120]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x140007721
mov r8d, 2
lea rdx, [0x1400237f8]
jmp 0x140007782
mov rdx, rdi
lea rcx, [rbp + 0x20]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x14000773c
lea rdx, str.Left
jmp 0x14000777c
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x140007760
mov r8d, 5
lea rdx, str.Right
jmp 0x140007782
mov rdx, rdi
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x14000778b
lea rdx, str.Down
mov r8d, 4
lea rcx, [rbp - 0x68]
call fcn.14000dc60
lea rbx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rbx, qword [rbp - 0x68]
call fcn.140009750
mov rdx, rax
mov r8, rbx
mov rcx, r14
call fcn.140009bb0
mov ebx, eax
mov rcx, qword [rbp - 0x70]
jmp 0x1400077e0
mov ecx, 0x80004003
call fcn.140010db0
int3
mov ecx, 0x80004003
call fcn.140010db0
int3
mov ecx, 0x80004003
call fcn.140010db0
int3
mov ecx, 0x80004003
call fcn.140010db0
nop
test rcx, rcx
je 0x1400077eb
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp ebx, 0xffffffff
jne 0x140007929
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.140013508
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 0x14000788e
lea r8, [rbp]
lea edx, [rbx + 0xa]
lea rcx, [rbp - 0x48]
call fcn.140013138
lea edx, [rbx + 2]
lea rcx, [rbp - 0x48]
call qword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
test rax, rax
je 0x14000788e
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r8, qword [rbp - 0x68]
mov rdx, rax
mov rcx, r14
call fcn.140009bb0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140007929
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.140013508
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 0x140007929
lea r8, [rbp - 0x18]
mov edx, 9
lea rcx, [rbp - 0x30]
call fcn.140013138
mov edx, 1
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
test rax, rax
je 0x140007929
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r8, qword [rbp - 0x68]
mov rdx, rax
mov rcx, r14
call fcn.140009bb0
mov ebx, eax
cmp qword [rbp - 0x50], 8
jb 0x140007939
mov rcx, qword [rbp - 0x68]
call fcn.1400112d0
mov eax, ebx
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140012700
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