Function at 0x14014ce70
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1402ecca8]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov dword [rbp - 0x60], 0x11c
xor esi, esi
mov qword [rbp - 0x54], rsi
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov word [rbp + 0xb6], si
xor eax, eax
mov dword [rbp + 0xb8], eax
mov r8b, 3
lea edx, [rsi + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov rcx, rax
mov r8b, 3
lea edx, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov rcx, rax
mov r8b, 3
lea edx, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [rbp - 0x5c], 6
mov dword [rbp - 0x58], 2
mov word [rbp + 0xb4], si
mov r8, rax
lea edx, [rsi + 0x23]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x14014cfa9
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rbx, rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp - 0x60]
mov rcx, rbx
call sub.IMM32.dll_ImmGetDescriptionW
lea r8, [rsi - 1]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt6Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__long_long___int64__]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
jmp 0x14014d119
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x14028c808]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14028c7f8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14014cfea
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
nop
jmp 0x14014d108
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x68]
test eax, eax
jns 0x14014d012
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
nop
jmp 0x14014d108
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x78]
lea r8, str.c_t4
movzx edx, word [rsp + 0x30]
call qword [rax + 0x40]
test eax, eax
jns 0x14014d04f
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
nop
jmp 0x14014d108
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x78]
call qword [rax + 0x58]
test eax, eax
jns 0x14014d080
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
nop
jmp 0x14014d108
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
movzx r8d, word [rsp + 0x30]
lea rdx, [rbp - 0x78]
call qword [rax + 0x60]
test eax, eax
jns 0x14014d0be
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
nop
jmp 0x14014d108
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt6Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__long_long___int64__]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14014d119
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140175f30
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2c0
pop rdi
pop rsi
pop rbp
ret