Function at 0x14000c700
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r13, r9
mov edi, r8d
mov dword [rbp - 0x58], r8d
mov ebx, edx
mov dword [rbp - 0x5c], edx
xor r14d, r14d
mov r12d, r14d
lea rax, [rbp - 0x80]
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 0x14000c7d0
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14000c7d7
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000cc28
mov r15d, r14d
mov dword [rbp - 0x60], 0x208
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov rsi, r14
mov qword [rbp - 0x68], r14
cmp dword [rsp + 0x68], 0
jbe 0x14000cb98
nop dword [rax + rax]
mov dword [rbp - 0x60], 0x208
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x30]
mov edx, r15d
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000cb64
mov dword [rsp + 0x64], 3
mov dword [rsp + 0x60], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
lea rdx, str.Target_IME
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000cabb
cmp dword [rbp - 0x54], r13d
jne 0x14000cabb
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140008330
test rax, rax
je 0x14000cb8d
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x70], rbx
lea rcx, [rbp - 0x30]
lea rax, [rbp - 0x30]
test rax, 0xffffffffffff0000
jne 0x14000c906
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.14000c4e0
test rax, rax
je 0x14000c930
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000d440
jmp 0x14000c92b
lea rcx, [rbp - 0x30]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000c910
mov r8d, eax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.14000d5c0
mov rbx, qword [rsp + 0x70]
lea rax, [rsp + 0x70]
mov rcx, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x70]
cmp rax, rdi
jae 0x14000c9ff
lea rax, [rsp + 0x70]
cmp rcx, rax
ja 0x14000c9ff
lea r14, [rsp + 0x70]
sub r14, rcx
sar r14, 3
cmp rdi, rsi
jne 0x14000c9d2
mov rax, rsi
sub rax, rdi
sar rax, 3
cmp rax, 1
jae 0x14000c9d2
sub rdi, rcx
sar rdi, 3
movabs r8, 0x1fffffffffffffff
mov rax, r8
sub rax, rdi
cmp rax, 1
jb 0x14000cb73
lea rdx, [rdi + 1]
sub rsi, rcx
sar rsi, 3
mov rax, rsi
shr rax, 1
mov rcx, r8
sub rcx, rax
add rax, rsi
xor r8d, r8d
cmp rcx, rsi
cmovae r8, rax
cmp r8, rdx
cmovae rdx, r8
lea rcx, [rbp - 0x78]
call fcn.14000d7f0
mov rdi, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
test rdi, rdi
je 0x14000c9f3
mov rcx, qword [rcx + r14*8]
sub rcx, 0x18
call fcn.14000c590
add rax, 0x18
mov qword [rdi], rax
add rdi, 8
xor r14d, r14d
jmp 0x14000ca8e
cmp rdi, rsi
jne 0x14000ca6d
mov rax, rsi
sub rax, rdi
sar rax, 3
cmp rax, 1
jae 0x14000ca6d
sub rdi, rcx
sar rdi, 3
movabs r8, 0x1fffffffffffffff
mov rax, r8
sub rax, rdi
cmp rax, 1
jb 0x14000cb80
lea rdx, [rdi + 1]
sub rsi, rcx
sar rsi, 3
mov rax, rsi
shr rax, 1
mov rcx, r8
sub rcx, rax
add rax, rsi
mov r8, r14
cmp rcx, rsi
cmovae r8, rax
cmp r8, rdx
cmovae rdx, r8
lea rcx, [rbp - 0x78]
call fcn.14000d7f0
mov rdi, qword [rbp - 0x70]
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rdi
test rdi, rdi
je 0x14000ca8a
lea rcx, [rbx - 0x18]
call fcn.14000c590
add rax, 0x18
mov qword [rdi], rax
add rdi, 8
mov qword [rbp - 0x70], rdi
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000caac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rsi, qword [rbp - 0x68]
mov ebx, dword [rbp - 0x5c]
mov edi, dword [rbp - 0x58]
jmp 0x14000cb64
mov dword [rsp + 0x60], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
lea rdx, str.Key_Modifiers
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x78]
test eax, eax
je 0x14000cb01
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000cb64
mov dword [rsp + 0x60], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
lea rdx, str.Virtual_Key
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x78]
test eax, eax
je 0x14000cb42
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000cb64
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp - 0x50], edi
jne 0x14000cb64
cmp ebx, dword [rbp - 0x4c]
jne 0x14000cb64
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rbp - 0x30]
call fcn.14001e19c
mov r12d, eax
inc r15d
cmp r15d, dword [rsp + 0x68]
jae 0x14000cb98
jmp 0x14000c800
lea rcx, str.vector_T__too_long
call fcn.1400129c4
int3
lea rcx, str.vector_T__too_long
call fcn.1400129c4
nop
mov ecx, 0x80004005
call fcn.140008310
int3
mov rdi, qword [rbp - 0x78]
mov rbx, rdi
mov r14, qword [rbp - 0x70]
cmp rdi, r14
je 0x14000cbc6
nop dword [rax + rax]
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rbx, 8
cmp rbx, r14
jne 0x14000cbb0
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rdi, rdi
je 0x14000cc25
cmp rdi, r14
je 0x14000cc0f
nop dword [rax + rax]
mov rdx, qword [rdi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000cbfd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rdi, 8
cmp rdi, qword [rbp - 0x70]
jne 0x14000cbe0
mov rsi, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x78]
sub rsi, rdi
sar rsi, 3
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14000d9e0
mov eax, r12d
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140013270
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret