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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
and dword [rax - 0x54], 0
and qword [rax - 0x40], 0
and dword [rax - 0x50], 0
and dword [rax - 0x58], 0
mov rdi, r9
mov rsi, rdx
mov rbp, rcx
test rcx, rcx
je 0x100008030
test rdx, rdx
je 0x100008030
test r9, r9
je 0x100008030
mov r9d, dword [r9 + 0x84]
lea rax, [rax - 0x40]
xor r8d, r8d
or r9d, 0xf003f
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x100008035
and qword [rsp + 0x58], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
test eax, eax
je 0x100007da9
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x100008035
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x78], 0
jmp 0x100008035
cmp dword [rsp + 0x68], 0
jne 0x100007de3
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x100007dc6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x78], 0
mov r8d, dword [rdi + 0x84]
mov rdx, rsi
mov rcx, rbp
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
jmp 0x100008035
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x100007df5
mov dword [rsp + 0x60], 0x100
jmp 0x100007e02
cmp eax, 0x100
jae 0x100007e02
add eax, eax
mov dword [rsp + 0x60], eax
call fcn.10000f834
mov rbp, rax
mov qword [rsp + 0x88], rax
test rax, rax
jne 0x100007e36
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x100007e2c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x78], rbp
mov ebx, 0xe
jmp 0x100008035
mov ecx, dword [rsp + 0x60]
inc ecx
mov dword [rsp + 0x60], ecx
lea ecx, [rcx + rcx + 4]
call fcn.10000ef18
mov r8, rax
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x100007e84
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x100007e6f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x78], 0
cmp dword [rbp], 9
jne 0x100007e2c
lea rcx, [rsp + 0x88]
call fcn.10000f8d4
jmp 0x100007e2c
xor edx, edx
xor esi, esi
and dword [rsp + 0x6c], edx
mov dword [rsp + 0x70], edx
lea ebx, [rdx + 0xe]
cmp dword [rsp + 0x68], edx
jbe 0x100007ef8
mov eax, dword [rsp + 0x60]
mov rdi, r8
lea r9, [rsp + 0x64]
mov rcx, rax
mov dword [rsp + 0x64], eax
xor eax, eax
and qword [rsp + 0x38], rax
and qword [rsp + 0x30], rax
and qword [rsp + 0x28], rax
and qword [rsp + 0x20], rax
add rcx, rcx
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x6c], eax
test eax, eax
jne 0x100007f0f
mov rdx, qword [rsp + 0x80]
xor r8d, r8d
mov rcx, rbp
call fcn.10000f950
cmp eax, 0xffffffff
jne 0x100007f14
mov esi, ebx
mov dword [rsp + 0x6c], ebx
lea rcx, [rsp + 0x80]
call fcn.10000ee3c
cmp dword [rbp], 9
je 0x100007f31
xor edi, edi
jmp 0x100007f34
test esi, esi
cmove esi, eax
mov edx, dword [rsp + 0x70]
inc edx
mov dword [rsp + 0x70], edx
cmp edx, dword [rsp + 0x68]
jae 0x100007ef8
mov r8, qword [rsp + 0x80]
jmp 0x100007e99
mov edi, dword [rbp + 4]
cmp dword [rsp + 0x6c], ebx
je 0x100007fdd
test edi, edi
je 0x100007fdd
and dword [rsp + 0x64], 0
xor ebx, ebx
xor esi, esi
test edi, edi
je 0x100007fdf
mov r10d, dword [rsp + 0xd0]
inc r10d
mov dword [rsp + 0x70], r10d
xor r8d, r8d
mov edx, esi
mov rcx, rbp
call fcn.10000f5c4
test rax, rax
jne 0x100007f7d
xor edx, edx
jmp 0x100007f8a
cmp dword [rax + 4], 0x20000
jne 0x100007f79
mov rdx, qword [rax + 0x10]
mov r9, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x78]
mov r8d, r10d
call fcn.100007cbc
test eax, eax
je 0x100007faf
test ebx, ebx
jne 0x100007fa9
mov ebx, eax
mov eax, dword [rsp + 0x64]
jmp 0x100007fb9
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov r10d, dword [rsp + 0x70]
inc esi
cmp esi, edi
jb 0x100007f67
test eax, eax
je 0x100007fdf
cmp edi, dword [rsp + 0x68]
jne 0x100007fd6
cmp eax, edi
jne 0x100007fd6
xor ebx, ebx
jmp 0x100007fdf
mov ebx, 0x80030201
jmp 0x100007fdf
mov ebx, esi
cmp dword [rbp], 9
jne 0x100007ff2
lea rcx, [rsp + 0x88]
call fcn.10000f8d4
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x100008008
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x78], 0
test ebx, ebx
jne 0x100008035
mov rax, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
mov r8d, dword [rax + 0x84]
jmp 0x100007dd3
mov ebx, 0x57
cmp dword [rsp + 0xd0], 0
jne 0x100008097
test ebx, ebx
je 0x10000807c
cmp ebx, 0x80030201
jne 0x100008064
xor r8d, r8d
mov edx, 0x8d
xor ecx, ecx
call fcn.10000d950
mov rcx, rax
call fcn.10000d498
jmp 0x10000806b
mov ecx, ebx
call fcn.100002fe8
call qword [sym.imp.msvcrt.dll___iob_func]
mov edx, 0x20001
lea rcx, [rax + 0x60]
jmp 0x100008092
xor ecx, ecx
call fcn.100002fe8
call qword [sym.imp.msvcrt.dll___iob_func]
mov edx, 0x20000
lea rcx, [rax + 0x30]
call fcn.10000d760
mov eax, ebx
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret