Function at 0x14000a490
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, qword [rbp + 0x60]
mov rdi, rcx
xor esi, esi
mov ebx, 0x200
mov ecx, ebx
mov qword [rbp - 0x28], rsi
mov r15d, r9d
mov dword [rbp - 0x30], esi
mov r12d, r8d
mov r14, rdx
call fcn.14004d694
mov qword [rbp - 0x28], rax
test rax, rax
je 0x14000a6dc
nop word [rax + rax]
lea rcx, [rbp - 0x2c]
mov dword [rbp - 0x2c], ebx
mov qword [rsp + 0x28], rcx
lea r9, [rbp - 0x30]
mov rcx, rdi
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x14000a546
lea ecx, [rbx + 0x1000]
cmp ebx, 0x1000
lea edx, [rbx + rbx]
cmovae edx, ecx
mov rcx, qword [rbp - 0x28]
mov ebx, edx
call fcn.14004dea0
mov qword [rbp - 0x28], rax
test rax, rax
jne 0x14000a4f0
jmp 0x14000a6dc
test eax, eax
jne 0x14000a6d3
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test r12d, r12d
jne 0x14000a6d3
cmp dword [rbp - 0x30], 3
jne 0x14000a6d3
test r15d, r15d
je 0x14000a6b5
mov r14, qword [rbp - 0x28]
lea rdi, [rbp - 0x20]
mov qword [rbp - 0x18], rdi
lea rbx, [rbp - 0x20]
mov qword [rbp - 0x20], rbx
test r14, r14
je 0x14000a6d3
mov r12d, dword [rbp - 0x2c]
mov r15d, dword [rbp + 0x68]
cmp r12d, r15d
jb 0x14000a6d3
lea eax, [r15 - 3]
cmp eax, 1
ja 0x14000a6d3
sub r12d, r15d
mov esi, 1
nop dword [rax]
lea eax, [rsi - 1]
movzx edx, byte [rax + r14]
lea rax, [rbp - 0x20]
cmp rbx, rax
je 0x14000a5ef
mov rax, rbx
cmp byte [rbx + 0x10], dl
je 0x14000a62a
nop dword [rax]
cmp rax, rdi
je 0x14000a5ef
mov rax, qword [rax]
cmp byte [rax + 0x10], dl
jne 0x14000a5e0
jmp 0x14000a62a
lea eax, [rsi + 1]
movzx r8d, byte [rax + r14]
shl r8d, 8
mov eax, esi
movzx ecx, byte [rax + r14]
or r8d, ecx
cmp r15d, 4
jne 0x14000a619
lea eax, [rsi + 2]
movzx eax, byte [rax + r14]
shl eax, 0x10
or r8d, eax
lea rcx, [rbp - 0x20]
call fcn.14000a230
mov rdi, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
add esi, r15d
lea eax, [rsi - 1]
cmp eax, r12d
jbe 0x14000a5c0
test r13, r13
je 0x14000a67c
lea rax, [rbp - 0x20]
cmp rbx, rax
je 0x14000a67c
mov r8d, dword [rbx + 0x11]
mov rcx, r13
movzx edx, byte [rbx + 0x10]
call fcn.14000a2a0
cmp rbx, rdi
je 0x14000a678
nop dword [rax + rax]
mov rbx, qword [rbx]
mov rcx, r13
mov r8d, dword [rbx + 0x11]
movzx edx, byte [rbx + 0x10]
call fcn.14000a2a0
cmp rbx, rdi
jne 0x14000a660
mov rbx, qword [rbp - 0x20]
lea rax, [rbp - 0x20]
mov esi, 1
cmp rbx, rax
je 0x14000a6d3
nop word [rax + rax]
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rcx, rbx
call fcn.14004d69c
mov rbx, qword [rbp - 0x20]
lea rax, [rbp - 0x20]
cmp rbx, rax
jne 0x14000a690
jmp 0x14000a6d3
mov r9d, dword [rbp + 0x68]
mov rcx, r13
mov r8d, dword [rbp - 0x2c]
mov rdx, qword [rbp - 0x28]
call fcn.14000a3b0
test eax, eax
mov ecx, 1
cmovne esi, ecx
mov rcx, qword [rbp - 0x28]
call fcn.14004d69c
mov eax, esi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret