Function at 0x14002ab40
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xa28]
sub rsp, 0xb10
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0xa00], rax
mov rbx, rcx
xor r14d, r14d
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetControlKeyboard_Layouts
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14002ac59
mov ecx, 0x800
call fcn.1400bbc88
mov rdi, rax
mov ecx, 0x800
call fcn.1400bbc88
mov rbx, rax
test rdi, rdi
je 0x14002ac43
test rax, rax
je 0x14002ac3b
xor edx, edx
mov r8d, 0x800
mov rcx, rdi
call fcn.1400c2130
lea rax, [0x140125cd8]
mov qword [rsp + 0x20], rax
lea r9, str.RC::RCInputImeInstallerBase::LoadAllImeInputInfo
lea r8, str._s__:__s
mov edx, 0x400
mov rcx, rdi
call fcn.140007140
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call fcn.1400c2130
lea r9, str.SystemCurrentControlSetControlKeyboard_Layouts
mov r8, rdi
mov edx, 0x400
mov rcx, rbx
call fcn.140007140
mov rcx, rbx
call fcn.140015100
mov rcx, rdi
call fcn.1400bd2dc
test rbx, rbx
je 0x14002b093
mov rcx, rbx
call fcn.1400bd2dc
jmp 0x14002b093
mov edi, r14d
mov word [rbp + 0x7f0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x7f2]
call fcn.1400c2130
mov dword [rsp + 0x44], 0x104
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
lea r8, [rbp + 0x7f0]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14002b088
lea rsi, [rbx + 0x40]
nop dword [rax]
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rbp + 0x7f0]
call fcn.1400be988
mov ebx, eax
mov word [rbp + 0x3e0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x3e2]
call fcn.1400c2130
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5e8]
call fcn.1400c2130
mov dword [rsp + 0x40], 0x208
mov qword [rbp + 0x3d8], 7
mov qword [rbp + 0x3d0], r14
mov word [rbp + 0x3c0], r14w
mov r8d, 8
lea rdx, str.Ime_File
lea rcx, [rbp + 0x3c0]
call fcn.140006900
nop
mov qword [rbp + 0x3b8], 7
mov qword [rbp + 0x3b0], r14
mov word [rbp + 0x3a0], r14w
cmp word [rbp + 0x7f0], 0
jne 0x14002ad69
mov r8, r14
jmp 0x14002ad7f
lea rax, [rbp + 0x7f0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14002ad74
lea rdx, [rbp + 0x7f0]
lea rcx, [rbp + 0x3a0]
call fcn.140006900
lea rdx, [rbp + 0x3a0]
cmp qword [rbp + 0x3b8], 8
cmovae rdx, qword [rbp + 0x3a0]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002ae14
lea rdx, [rbp + 0x3c0]
cmp qword [rbp + 0x3d8], 8
cmovae rdx, qword [rbp + 0x3c0]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp + 0x3b8], 8
jb 0x14002ae2a
mov rcx, qword [rbp + 0x3a0]
call fcn.1400bd20c
mov qword [rbp + 0x3b8], 7
mov qword [rbp + 0x3b0], r14
mov word [rbp + 0x3a0], r14w
cmp qword [rbp + 0x3d8], 8
jb 0x14002ae5a
mov rcx, qword [rbp + 0x3c0]
call fcn.1400bd20c
mov dword [rsp + 0x40], 0x208
mov qword [rbp + 0x3d8], 7
mov qword [rbp + 0x3d0], r14
mov word [rbp + 0x3c0], r14w
mov r8d, 0xb
lea rdx, str.Layout_Text
lea rcx, [rbp + 0x3c0]
call fcn.140006900
nop
mov qword [rbp + 0x3b8], 7
mov qword [rbp + 0x3b0], r14
mov word [rbp + 0x3a0], r14w
cmp word [rbp + 0x7f0], 0
jne 0x14002aebf
mov r8, r14
jmp 0x14002aedb
lea rax, [rbp + 0x7f0]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002aed0
lea rdx, [rbp + 0x7f0]
lea rcx, [rbp + 0x3a0]
call fcn.140006900
lea rdx, [rbp + 0x3a0]
cmp qword [rbp + 0x3b8], 8
cmovae rdx, qword [rbp + 0x3a0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002af70
lea rdx, [rbp + 0x3c0]
cmp qword [rbp + 0x3d8], 8
cmovae rdx, qword [rbp + 0x3c0]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x5e8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp + 0x3b8], 8
jb 0x14002af86
mov rcx, qword [rbp + 0x3a0]
call fcn.1400bd20c
mov qword [rbp + 0x3b8], 7
mov qword [rbp + 0x3b0], r14
mov word [rbp + 0x3a0], r14w
cmp qword [rbp + 0x3d8], 8
jb 0x14002afb6
mov rcx, qword [rbp + 0x3c0]
call fcn.1400bd20c
mov dword [rbp - 0x80], ebx
lea rcx, [rbp - 0x7c]
lea rax, [rbp + 0x3e0]
mov edx, 8
nop dword [rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
dec rdx
jne 0x14002afd0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.14002b800
lea r9, [rax + 0x1c]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.14002b8a0
inc edi
mov dword [rsp + 0x44], 0x104
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
lea r8, [rbp + 0x7f0]
mov edx, edi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14002acc0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xa00]
xor rcx, rsp
call fcn.1400bcae0
lea r11, [rsp + 0xb10]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret