Function at 0x14000c400
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 [0x1400431a0]
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 0x14000c4d2
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 0x14000c4d2
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 0x14000c4d9
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14000c921
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 0x14000c779
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 0x14000c6ee
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 0x14000c6e4
lea rcx, [rbp - 0x20]
call fcn.140019ae8
mov esi, eax
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x78]
cmp rax, rbx
jae 0x14000c660
lea rax, [rsp + 0x78]
cmp rdi, rax
ja 0x14000c660
lea rsi, [rsp + 0x78]
sub rsi, rdi
sar rsi, 2
cmp rbx, r14
jne 0x14000c654
mov rax, r14
sub rax, rbx
sar rax, 2
cmp rax, 1
jae 0x14000c654
sub rbx, rdi
sar rbx, 2
movabs rcx, 0x3fffffffffffffff
mov rax, rcx
sub rax, rbx
cmp rax, 1
jb 0x14000c6ff
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.14000a900
mov r14, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
test rbx, rbx
je 0x14000c6d6
mov eax, dword [rdi + rsi*4]
mov dword [rbx], eax
jmp 0x14000c6d6
cmp rbx, r14
jne 0x14000c6cf
mov rax, r14
sub rax, rbx
sar rax, 2
cmp rax, 1
jae 0x14000c6cf
sub rbx, rdi
sar rbx, 2
movabs rcx, 0x3fffffffffffffff
mov rax, rcx
sub rax, rbx
cmp rax, 1
jb 0x14000c70c
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.14000a900
mov r14, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
test rbx, rbx
je 0x14000c6d6
mov dword [rbx], esi
add rbx, 4
mov qword [rbp - 0x70], rbx
cmp dword [rbp - 0x58], r13d
je 0x14000c719
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r15d
cmp r15d, dword [rsp + 0x7c]
jae 0x14000c776
xor eax, eax
jmp 0x14000c510
lea rcx, str.vector_T__too_long
call fcn.140011f00
int3
lea rcx, str.vector_T__too_long
call fcn.140011f00
int3
lea rax, [rbp - 0x20]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000c721
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 0x14000c74c
xor bl, bl
jmp 0x14000c903
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 0x14000c760
jmp 0x14000c901
mov esi, dword [rbp - 0x7c]
mov ecx, 0x64
nop
mov rax, rdi
cmp rdi, rbx
je 0x14000c7a4
cmp dword [rax], ecx
je 0x14000c795
add rax, 4
cmp rax, rbx
jmp 0x14000c786
cmp rax, rbx
je 0x14000c7a4
inc ecx
cmp ecx, 0x96
jle 0x14000c780
mov r8d, 0x64
lea rdx, str._08d
lea rcx, [rbp - 0x38]
call fcn.140001d50
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 0x14000c8a7
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 0x14000c8a1
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 0x14000c8a1
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 0x14000c8b4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000c903
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 0x14000c8d0
cmp ebx, esi
jle 0x14000c8e2
xor bl, bl
jmp 0x14000c903
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 0x14000c8f0
mov bl, 1
test rdi, rdi
je 0x14000c91e
sub r14, rdi
sar r14, 2
mov r8, r14
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14000aa10
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400126d0
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret