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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, rcx
mov r14d, 1
xor r13d, r13d
lea rcx, [rbp - 0x10]
mov edx, r14d
mov qword [rbp - 0x10], r13
call fcn.140031c50
test eax, eax
je 0x14000a976
mov edi, 0x200
mov qword [rsp + 0x88], rsi
mov rsi, qword [rbp - 0x10]
mov ecx, edi
mov qword [rsp + 0x90], r15
mov ebx, edi
mov r15d, r13d
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x20], r13
call fcn.14004d694
mov qword [rbp - 0x18], rax
test rax, rax
je 0x14000a828
lea rcx, [rbp - 0x1c]
mov dword [rbp - 0x1c], ebx
mov qword [rsp + 0x28], rcx
lea r9, [rbp - 0x20]
mov rcx, rsi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.KeyCountReservedEx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x14000a7e9
lea eax, [rbx + 0x1000]
cmp ebx, 0x1000
lea ecx, [rbx + rbx]
cmovae ecx, eax
mov ebx, ecx
mov edx, ecx
mov rcx, qword [rbp - 0x18]
call fcn.14004dea0
mov qword [rbp - 0x18], rax
test rax, rax
jne 0x14000a790
jmp 0x14000a828
test eax, eax
jne 0x14000a81f
lea rdx, str.KeyCountReservedEx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
cmp dword [rbp - 0x20], 3
jne 0x14000a81f
mov r8d, dword [rbp - 0x1c]
mov r9d, 4
mov rdx, qword [rbp - 0x18]
mov rcx, r12
call fcn.14000a3b0
test eax, eax
cmovne r15d, r14d
mov rcx, qword [rbp - 0x18]
call fcn.14004d69c
mov rsi, qword [rbp - 0x10]
mov rcx, rdi
mov r14d, r13d
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x20], r13d
call fcn.14004d694
mov qword [rbp - 0x18], rax
test rax, rax
je 0x14000a8f0
nop dword [rax]
lea rcx, [rbp - 0x1c]
mov dword [rbp - 0x1c], edi
mov qword [rsp + 0x28], rcx
lea r9, [rbp - 0x20]
mov rcx, rsi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.KeyCountReserved
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x14000a8a9
lea eax, [rdi + 0x1000]
cmp edi, 0x1000
lea ecx, [rdi + rdi]
cmovae ecx, eax
mov edi, ecx
mov edx, ecx
mov rcx, qword [rbp - 0x18]
call fcn.14004dea0
mov qword [rbp - 0x18], rax
test rax, rax
jne 0x14000a850
jmp 0x14000a8f0
test eax, eax
jne 0x14000a8e7
lea rdx, str.KeyCountReserved
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test r15d, r15d
jne 0x14000a8e7
cmp dword [rbp - 0x20], 3
jne 0x14000a8e7
mov r8d, dword [rbp - 0x1c]
lea r9d, [r15 + 3]
mov rdx, qword [rbp - 0x18]
mov rcx, r12
call fcn.14000a3b0
test eax, eax
mov eax, 1
cmovne r14d, eax
mov rcx, qword [rbp - 0x18]
call fcn.14004d69c
mov rcx, qword [rbp - 0x10]
lea rdx, str.KeyCountSendEx
mov edi, 1
mov dword [rsp + 0x28], 4
test r14d, r14d
mov qword [rsp + 0x20], r12
mov r9d, edi
cmovne r15d, edi
xor r8d, r8d
call fcn.14000a490
mov rcx, qword [rbp - 0x10]
lea rdx, str.KeyCountSend
test eax, eax
mov dword [rsp + 0x28], 3
mov ebx, r13d
mov qword [rsp + 0x20], r12
cmovne ebx, edi
mov r9d, edi
mov r8d, ebx
call fcn.14000a490
mov rcx, qword [rbp - 0x10]
test eax, eax
cmovne ebx, edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rsi, qword [rsp + 0x88]
test r15d, r15d
mov r15, qword [rsp + 0x90]
jne 0x14000a972
test ebx, ebx
je 0x14000a976
mov eax, edi
jmp 0x14000a979
mov eax, r13d
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret