Function at 0x18006cba0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
jmp 0x180083804
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
xor r14d, r14d
lea rax, [0x18009dff0]
mov dword [rbp + 0x83], r14d
mov esi, edx
mov qword [rbp + 7], r14
mov rdi, rcx
mov qword [rbp + 0x77], r14
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], r14
mov dword [rbp + 0x67], r14d
test byte [0x1800b78f3], 0x20
je 0x180083868
mov r9d, edx
lea ecx, [r14 + 0x19]
lea rdx, [0x18009f490]
mov r8, rdi
call fcn.180087538
test rdi, rdi
jne 0x180083881
mov ebx, 0x80070057
mov dword [rbp + 0x83], 0x286
jmp 0x1800839ff
lea r8, [rbp + 7]
mov edx, 1
mov ecx, 0x2001f
call fcn.180085458
mov ebx, eax
test eax, eax
jns 0x1800838a9
mov dword [rbp + 0x83], 0x288
jmp 0x1800839ff
lea rdx, [rbp + 0xf]
mov rcx, rdi
call fcn.180015ab0
mov ebx, eax
test eax, eax
jns 0x1800838ca
mov dword [rbp + 0x83], 0x28a
jmp 0x1800839ff
mov rdx, qword [rbp + 0xf]
lea rax, [rbp + 0x77]
mov rcx, qword [rbp + 7]
xor r9d, r9d
mov r8d, 0x2001f
mov qword [rsp + 0x20], rax
call fcn.180082214
mov ebx, eax
test eax, eax
jns 0x1800838fe
mov dword [rbp + 0x83], 0x28b
jmp 0x1800839ff
mov r8d, esi
lea rdx, [0x1800a8690]
lea rcx, [rbp + 0x1f]
call fcn.180015800
mov ebx, eax
test eax, eax
jns 0x180083926
mov dword [rbp + 0x83], 0x28d
jmp 0x1800839ff
mov rdx, qword [rbp + 0x1f]
xor r9d, r9d
mov rcx, qword [rbp + 0x77]
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x18008394f
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x180083962
mov dword [rbp + 0x83], 0x28e
jmp 0x1800839ff
mov rcx, qword [rbp + 0x77]
lea rax, [rbp + 0x67]
mov qword [rsp + 0x58], r14
xor r9d, r9d
mov qword [rsp + 0x50], r14
xor r8d, r8d
mov qword [rsp + 0x48], r14
xor edx, edx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyA]
nop dword [rax + rax]
test eax, eax
jne 0x1800839ff
cmp dword [rbp + 0x67], r14d
jne 0x1800839ff
test byte [0x1800b78f3], 0x20
je 0x1800839cc
mov r8, qword [rbp + 0xf]
lea ecx, [rax + 0x1a]
lea rdx, [0x18009f490]
call fcn.180087814
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1800839e5
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rbp + 0x77], r14
mov rdx, qword [rbp + 0xf]
xor r9d, r9d
mov rcx, qword [rbp + 7]
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
nop dword [rax + rax]
test byte [0x1800b78f3], 0x20
je 0x180083a1c
mov ecx, 0x1b
lea rdx, [0x18009f490]
mov r8d, ebx
call fcn.1800876bc
mov ecx, ebx
call fcn.180011928
lea rcx, [rbp + 0x1f]
mov ebx, eax
call fcn.180021be4
lea rcx, [rbp + 0xf]
call fcn.180021be4
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x180083a50
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rbp + 0x77], r14
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x180083a65
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret