Function at 0x14000ce90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x340], rbx
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov esi, r9d
mov dword [rbp - 0x7c], r9d
mov r12, r8
mov r13, rdx
test rdx, rdx
je 0x14000cf62
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.Control_PanelInput_MethodHot_Keys
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000cf62
xor eax, eax
mov dword [rsp + 0x7c], eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14000cf69
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14000d3b1
xor eax, eax
mov r15d, eax
mov dword [rbp - 0x80], 0x208
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov r14d, eax
mov qword [rbp - 0x68], rax
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
cmp dword [rsp + 0x7c], eax
jbe 0x14000d209
nop word [rax + rax]
mov dword [rbp - 0x80], 0x208
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x20]
mov edx, r15d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000d17e
mov dword [rbp - 0x5c], 3
mov dword [rbp - 0x60], 4
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x5c]
xor r8d, r8d
lea rdx, str.Target_IME
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d174
lea rcx, [rbp - 0x20]
call fcn.14001cd84
mov esi, eax
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x78]
cmp rax, rbx
jae 0x14000d0f0
lea rax, [rsp + 0x78]
cmp rdi, rax
ja 0x14000d0f0
lea rsi, [rsp + 0x78]
sub rsi, rdi
sar rsi, 2
cmp rbx, r14
jne 0x14000d0e4
mov rax, r14
sub rax, rbx
sar rax, 2
cmp rax, 1
jae 0x14000d0e4
sub rbx, rdi
sar rbx, 2
movabs rcx, 0x3fffffffffffffff
mov rax, rcx
sub rax, rbx
cmp rax, 1
jb 0x14000d18f
lea rdx, [rbx + 1]
sub r14, rdi
sar r14, 2
mov rax, r14
shr rax, 1
sub rcx, rax
add rax, r14
xor r8d, r8d
cmp rcx, r14
cmovae r8, rax
cmp r8, rdx
cmovae rdx, r8
lea rcx, [rbp - 0x78]
call fcn.14000d700
mov r14, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
test rbx, rbx
je 0x14000d166
mov eax, dword [rdi + rsi*4]
mov dword [rbx], eax
jmp 0x14000d166
cmp rbx, r14
jne 0x14000d15f
mov rax, r14
sub rax, rbx
sar rax, 2
cmp rax, 1
jae 0x14000d15f
sub rbx, rdi
sar rbx, 2
movabs rcx, 0x3fffffffffffffff
mov rax, rcx
sub rax, rbx
cmp rax, 1
jb 0x14000d19c
lea rdx, [rbx + 1]
sub r14, rdi
sar r14, 2
mov rax, r14
shr rax, 1
sub rcx, rax
add rax, r14
xor r8d, r8d
cmp rcx, r14
cmovae r8, rax
cmp r8, rdx
cmovae rdx, r8
lea rcx, [rbp - 0x78]
call fcn.14000d700
mov r14, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
test rbx, rbx
je 0x14000d166
mov dword [rbx], esi
add rbx, 4
mov qword [rbp - 0x70], rbx
cmp dword [rbp - 0x58], r13d
je 0x14000d1a9
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r15d
cmp r15d, dword [rsp + 0x7c]
jae 0x14000d206
xor eax, eax
jmp 0x14000cfa0
lea rcx, str.vector_T__too_long
call fcn.140012914
int3
lea rcx, str.vector_T__too_long
call fcn.140012914
int3
lea rax, [rbp - 0x20]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000d1b1
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, dword [rbp - 0x7c]
jle 0x14000d1dc
xor bl, bl
jmp 0x14000d393
lea rcx, [rbp - 0x20]
lea rax, [rbp - 0x20]
sub r12, rax
nop word [rax + rax]
movzx eax, word [rcx]
mov word [r12 + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000d1f0
jmp 0x14000d391
mov esi, dword [rbp - 0x7c]
mov ecx, 0x64
nop
mov rax, rdi
cmp rdi, rbx
je 0x14000d234
cmp dword [rax], ecx
je 0x14000d225
add rax, 4
cmp rax, rbx
jmp 0x14000d216
cmp rax, rbx
je 0x14000d234
inc ecx
cmp ecx, 0x96
jle 0x14000d210
mov r8d, 0x64
lea rdx, str._08d
lea rcx, [rbp - 0x38]
call fcn.140007fe0
xor ebx, ebx
mov qword [rsp + 0x70], rbx
lea rax, [rbp - 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x38]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000d337
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 3]
xor r8d, r8d
lea rdx, str.Key_Modifiers
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
test eax, eax
jne 0x14000d331
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 3]
xor r8d, r8d
lea rdx, str.Target_IME
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
test eax, eax
jne 0x14000d331
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 3]
xor r8d, r8d
lea rdx, str.Virtual_Key
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
test eax, eax
je 0x14000d344
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000d393
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x38]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000d360
cmp ebx, esi
jle 0x14000d372
xor bl, bl
jmp 0x14000d393
lea rcx, [rbp - 0x38]
lea rax, [rbp - 0x38]
sub r12, rax
nop dword [rax]
movzx eax, word [rcx]
mov word [r12 + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000d380
mov bl, 1
test rdi, rdi
je 0x14000d3ae
sub r14, rdi
sar r14, 2
mov r8, r14
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.140008500
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400131c0
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret