Function at 0x1401281a0
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x458]
sub rsp, 0x550
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov rdi, rcx
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.14003bbd0
mov rax, qword [rdi]
mov qword [rdi + 8], rax
mov qword [rbp - 0x18], 7
xor esi, esi
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
lea r8d, [rsi + 0x32]
lea rdx, str.SYSTEMCurrentControlSetControlKeyboard_Layouts_
lea rcx, [rbp - 0x30]
call fcn.140003290
nop
mov qword [rbp - 0x48], rsi
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140128250
xor bl, bl
jmp 0x140128494
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x230]
call fcn.14018f1e0
mov dword [rbp - 0x38], 0x104
mov dword [rbp - 0x40], esi
lea rax, [rbp + 8]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0xc]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 4]
mov qword [rsp + 0x38], rax
lea rax, [rbp]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x38]
lea rdx, [rbp + 0x230]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x140128492
mov ebx, esi
nop dword [rax + rax]
mov dword [rbp - 0x34], 0xff
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x34]
lea r8, [rbp + 0x30]
mov edx, ebx
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140128487
mov dword [rbp - 0x3c], esi
lea r8, [rbp - 0x3c]
lea rdx, [0x140211738]
lea rcx, [rbp + 0x30]
call fcn.1400b6a00
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rsi
mov word [rbp + 0x10], si
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
mov r8d, 0xb
lea rdx, str.Layout_Text
lea rcx, [rbp - 0x78]
call fcn.140003290
nop
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400082d0
nop
lea r9, [rbp + 0x10]
lea r8, [rbp - 0x78]
mov rdx, rax
mov ecx, 1
call fcn.140127d80
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x1401283af
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140003900
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x1401283dc
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.140003900
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x3c]
lea rcx, [rbp - 0x78]
call fcn.140128a10
nop
mov ecx, dword [rax]
mov qword [rsp + 0x60], rcx
lea rdx, [rax + 8]
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
lea rcx, [rsp + 0x68]
call fcn.140008610
nop
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14003b840
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x140128440
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140003900
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x14012846d
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140003900
nop
mov r8, qword [rbp + 0x28]
cmp r8, 8
jb 0x140128487
inc r8
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x10]
call fcn.140003900
inc ebx
cmp ebx, dword [rbp - 0x40]
jb 0x1401282e0
mov bl, 1
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x1401284ae
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140003900
movzx eax, bl
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.140185a60
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret