Function at 0x14000c460
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 [0x1400441a0]
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 0x14000c530
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 0x14000c537
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000c988
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 0x14000c8f8
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 0x14000c8c4
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 0x14000c81b
cmp dword [rbp - 0x54], r13d
jne 0x14000c81b
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14000b8f0
test rax, rax
je 0x14000c8ed
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 0x14000c666
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.14000c240
test rax, rax
je 0x14000c690
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000d1a0
jmp 0x14000c68b
lea rcx, [rbp - 0x30]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000c670
mov r8d, eax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.14000d320
mov rbx, qword [rsp + 0x70]
lea rax, [rsp + 0x70]
mov rcx, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x70]
cmp rax, rdi
jae 0x14000c75f
lea rax, [rsp + 0x70]
cmp rcx, rax
ja 0x14000c75f
lea r14, [rsp + 0x70]
sub r14, rcx
sar r14, 3
cmp rdi, rsi
jne 0x14000c732
mov rax, rsi
sub rax, rdi
sar rax, 3
cmp rax, 1
jae 0x14000c732
sub rdi, rcx
sar rdi, 3
movabs r8, 0x1fffffffffffffff
mov rax, r8
sub rax, rdi
cmp rax, 1
jb 0x14000c8d3
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.14000d4c0
mov rdi, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
test rdi, rdi
je 0x14000c753
mov rcx, qword [rcx + r14*8]
sub rcx, 0x18
call fcn.14000c2f0
add rax, 0x18
mov qword [rdi], rax
add rdi, 8
xor r14d, r14d
jmp 0x14000c7ee
cmp rdi, rsi
jne 0x14000c7cd
mov rax, rsi
sub rax, rdi
sar rax, 3
cmp rax, 1
jae 0x14000c7cd
sub rdi, rcx
sar rdi, 3
movabs r8, 0x1fffffffffffffff
mov rax, r8
sub rax, rdi
cmp rax, 1
jb 0x14000c8e0
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.14000d4c0
mov rdi, qword [rbp - 0x70]
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rdi
test rdi, rdi
je 0x14000c7ea
lea rcx, [rbx - 0x18]
call fcn.14000c2f0
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 0x14000c80c
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 0x14000c8c4
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 0x14000c861
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000c8c4
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 0x14000c8a2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000c8c4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp - 0x50], edi
jne 0x14000c8c4
cmp ebx, dword [rbp - 0x4c]
jne 0x14000c8c4
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rbp - 0x30]
call fcn.14001a284
mov r12d, eax
inc r15d
cmp r15d, dword [rsp + 0x68]
jae 0x14000c8f8
jmp 0x14000c560
lea rcx, str.vector_T__too_long
call fcn.1400126e4
int3
lea rcx, str.vector_T__too_long
call fcn.1400126e4
nop
mov ecx, 0x80004005
call fcn.14000b8b0
int3
mov rdi, qword [rbp - 0x78]
mov rbx, rdi
mov r14, qword [rbp - 0x70]
cmp rdi, r14
je 0x14000c926
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 0x14000c910
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rdi, rdi
je 0x14000c985
cmp rdi, r14
je 0x14000c96f
nop dword [rax + rax]
mov rdx, qword [rdi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000c95d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rdi, 8
cmp rdi, qword [rbp - 0x70]
jne 0x14000c940
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.14000d6b0
mov eax, r12d
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140012ec0
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