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

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
nop
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xc8]
call fcn.00410f60
mov rcx, qword [rbp + 0x78]
call fcn.0071a2e0
mov byte [rbp + 0x83], al
cmp byte [rbp + 0x83], 0
jne 0x71aec3
lea rcx, [rbp + 0x78]
mov edx, 1
mov r8d, 1
call fcn.004123f0
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
call fcn.0071d4d0
mov qword [rbp + 0x90], rax
cmp qword [rbp + 0x90], 0
je 0x71b008
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x90]
call fcn.0071a8a0
mov rcx, qword [rbp + 0xc0]
lea rdx, [rbp + 0x54]
call fcn.0071b240
test al, al
je 0x71afe8
lea rcx, [rbp + 0x70]
xor edx, edx
mov r8d, dword [rbp + 0x58]
add r8d, 1
call fcn.00410b70
mov eax, dword [rbp + 0x54]
sub eax, 1
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jl 0x71afe7
mov eax, dword [rbp + 0x58]
add eax, 1
mov dword [rbp + 0x88], eax
mov rcx, qword [rbp + 0x70]
call fcn.00411d40
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x84]
mov r8, rax
lea r9, [rbp + 0x88]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
jne 0x71afd3
mov rcx, qword [rbp + 0x70]
call fcn.00411d40
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.00411dd0
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x40]
call fcn.0071ae50
sub dword [rbp + 0x84], 1
cmp dword [rbp + 0x84], 0xffffffff
jne 0x71af55
nop
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x98]
call fcn.0071a8a0
mov rcx, qword [rbp + 0x90]
call sub.advapi32.dll_RegCloseKey
cmp byte [0x00788f40], 0
je 0x71b0f4
cmp qword [0x00788f48], 0
je 0x71b070
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.0071a880
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.00411d40
mov rcx, rbx
mov rdx, rax
mov rax, qword [rbp + 0xc0]
mov r8d, dword [rax + 0x2c]
and r8d, 0x300
xor r9, r9
call qword [0x00788f48]
test eax, eax
sete al
mov byte [rbp + 0x8f], al
jmp 0x71b12b
cmp qword [0x00788f48], 0
jne 0x71b0f4
lea rcx, [0x0071b1cc]
call sub.kernel32.dll_LoadLibraryW
mov rcx, rax
lea rdx, [0x0071b1e6]
call fcn.00421870
mov qword [0x00788f48], rax
cmp qword [0x00788f48], 0
je 0x71b0f4
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.0071a880
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.00411d40
mov rcx, rbx
mov rdx, rax
mov rax, qword [rbp + 0xc0]
mov r8d, dword [rax + 0x2c]
and r8d, 0x300
xor r9, r9
call qword [0x00788f48]
test eax, eax
sete al
mov byte [rbp + 0x8f], al
jmp 0x71b12b
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.0071a880
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.00411d40
mov rcx, rbx
mov rdx, rax
call sub.advapi32.dll_RegDeleteKeyW
test eax, eax
sete al
mov byte [rbp + 0x8f], al
nop
lea rcx, [rbp + 0x40]
call fcn.004108b0
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.00410990
movzx rax, byte [rbp + 0x8f]
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret