Function at 0x1400346d2
Capabilities:
Delete registry key

Disassembly:
push rbp
sub rsp, 0x120
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0x98], 0
call fcn.1400e50b0
mov rax, qword [rbp + 0xb0]
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.1400e56b0
mov rdx, qword [rbp + 0xb8]
lea rax, [rbp + 0xb8]
mov rcx, rax
call fcn.1400e56b0
mov qword [rbp - 0x48], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], 0
mov rax, qword [rbp + 0xb0]
mov rcx, rax
call fcn.14003545f
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x68], rax
lea rax, [0x140847d78]
mov qword [rbp + 0x60], rax
mov rdx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x60]
mov rcx, rax
call fcn.1400e55d0
test eax, eax
je 0x1400348bc
mov eax, dword [0x14086f7bc]
test eax, eax
je 0x14003487c
lea rax, str.Advapi32.dll
mov rdx, rax
mov rcx, 0xffffffffffffffff
call fcn.1400b8cd8
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x80], rax
cmp qword [rbp + 0x80], 0
je 0x140034879
mov rax, qword [rbp + 0x80]
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call fcn.1400b8d60
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x88], rax
mov rax, qword [0x14086f7a8]
mov qword [rbp + 0x48], rax
mov rax, qword [0x14086f3a8]
mov qword [rbp + 0x40], rax
mov eax, dword [0x14086f7e4]
or eax, 0xf003f
cdqe
mov qword [rbp + 0x38], rax
mov r8, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.1400ba490
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x80]
mov rcx, rax
call fcn.1400b8dec
mov qword [rbp + 0x28], rax
jmp 0x1400348b7
nop
jmp 0x1400348b7
nop
mov rax, qword [0x14086f7a8]
mov qword [rbp + 0x20], rax
mov rax, qword [0x14086f3a8]
mov qword [rbp + 0x18], rax
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x20]
mov rcx, rax
call sub.ADVAPI32.dll_RegDeleteKeyW
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x90], rax
jmp 0x1400349da
jmp 0x1400349da
nop
mov rax, qword [0x14086f7a8]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x48]
mov qword [rbp], rax
mov rax, qword [rbp + 0xb8]
mov rcx, rax
mov rdx, qword [rbp]
mov rax, qword [rbp + 8]
mov r8, rdx
mov rdx, rax
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
cdqe
mov qword [rbp + 0x78], rax
mov eax, dword [0x14086f7bc]
test eax, eax
je 0x1400349af
lea rax, str.Advapi32.dll
mov rdx, rax
mov rcx, 0xffffffffffffffff
call fcn.1400b8cd8
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x80], rax
cmp qword [rbp + 0x80], 0
je 0x1400349ac
mov rax, qword [0x14086f3a8]
mov qword [rbp - 0x18], rax
mov eax, dword [0x14086f7e4]
or eax, 0xf003f
cdqe
mov qword [rbp - 0x20], rax
mov rcx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x18]
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x28], 0
mov rdx, qword [rbp - 0x20]
mov qword [rsp + 0x20], rdx
mov r9, r8
mov r8, rcx
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call fcn.1400b99a4
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x80]
mov rcx, rax
call fcn.1400b8dec
mov qword [rbp - 0x30], rax
jmp 0x1400349da
nop
jmp 0x1400349da
nop
mov rax, qword [0x14086f3a8]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x38]
mov rcx, rax
call sub.ADVAPI32.dll_RegDeleteKeyW
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x90], rax
cmp qword [rbp + 0x90], 0
jne 0x1400349f1
mov qword [rbp + 0x98], 1
jmp 0x1400349fd
nop
mov qword [rbp + 0x98], 0
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call fcn.1400e5630
mov rax, qword [rbp + 0xb0]
mov rcx, rax
call fcn.1400e5630
mov rax, qword [rbp + 0x98]
add rsp, 0x120
pop rbp
ret