Function at 0x1401284e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov qword [rbp + 0x3f], 7
xor ebx, ebx
mov qword [rbp + 0x37], rbx
mov word [rbp + 0x27], bx
mov qword [rbp - 1], 7
mov qword [rbp - 9], rbx
mov word [rbp - 0x19], bx
lea r8d, [rbx + 6]
lea rdx, str.Hotkey
lea rcx, [rbp - 0x19]
call fcn.140003290
nop
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rbx
mov word [rbp - 0x39], bx
lea r8d, [rbx + 0x17]
lea rdx, str.Keyboard_LayoutToggle_
lea rcx, [rbp - 0x39]
call fcn.140003290
nop
mov qword [rbp + 0x17], rbx
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov esi, 1
mov r9d, esi
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or r14, 0xffffffffffffffff
test eax, eax
je 0x1401285b3
xor al, al
jmp 0x14012868e
mov dword [rbp + 0xf], ebx
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1401285ed
xor al, al
jmp 0x14012868e
mov eax, dword [rbp + 0xf]
test eax, eax
je 0x14012868e
mov dword [rbp + 0x1f], esi
mov rcx, rax
mov eax, 2
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.140185afc
mov rdi, rax
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x1f]
xor r8d, r8d
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14012864a
xor al, al
jmp 0x14012868e
cmp dword [rbp + 0x1f], esi
je 0x140128653
xor al, al
jmp 0x14012868e
cmp word [rdi], 0
jne 0x14012865e
mov r8, rbx
jmp 0x14012866c
mov r8, r14
inc r8
cmp word [rdi + r8*2], 0
jne 0x140128661
mov rdx, rdi
lea rcx, [rbp + 0x27]
call fcn.140003290
mov rcx, rdi
call fcn.140185a84
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, sil
test al, al
sete dil
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x1401286ae
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.140003900
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rbx
mov word [rbp - 0x39], bx
mov r8, qword [rbp - 1]
cmp r8, 8
jb 0x1401286d8
inc r8
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x19]
call fcn.140003900
mov r10, qword [rbp + 0x3f]
mov r11, qword [rbp + 0x27]
test dil, dil
jne 0x140128802
lea rcx, [rbp + 0x27]
cmp r10, 8
cmovae rcx, r11
mov r8, rsi
mov r9, qword [rbp + 0x37]
cmp r9, rsi
cmovb r8, r9
test r8, r8
je 0x140128734
lea rdx, [0x14020266c]
nop
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140128728
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x140128710
jmp 0x140128734
mov r8d, esi
cmp word [rcx], ax
cmovb r8d, r14d
jmp 0x140128737
mov r8d, ebx
test r8d, r8d
jne 0x140128749
cmp r9, 1
jne 0x140128749
mov ebx, esi
jmp 0x140128802
lea rcx, [rbp + 0x27]
cmp r10, 8
cmovae rcx, r11
mov r8, rsi
cmp r9, rsi
cmovb r8, r9
test r8, r8
je 0x140128794
lea rdx, [0x140202670]
nop dword [rax + rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140128788
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x140128770
jmp 0x140128794
mov r8d, esi
cmp word [rcx], ax
cmovb r8d, r14d
jmp 0x140128797
mov r8d, ebx
test r8d, r8d
jne 0x1401287a8
cmp r9, 1
jne 0x1401287a8
lea ebx, [r8 + 2]
jmp 0x140128802
lea rcx, [rbp + 0x27]
cmp r10, 8
cmovae rcx, r11
mov r8, rsi
cmp r9, rsi
cmovb r8, r9
test r8, r8
je 0x1401287ee
lea rdx, [0x140202678]
nop word [rax + rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x1401287e8
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x1401287d0
jmp 0x1401287ee
cmovb esi, r14d
mov ebx, esi
test ebx, ebx
jne 0x1401287fd
cmp r9, 1
mov ebx, 4
je 0x140128802
mov ebx, 3
cmp r10, 8
jb 0x140128818
lea r8, [r10 + 1]
mov rdx, r11
lea rcx, [rbp + 0x27]
call fcn.140003900
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140185a60
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret