Function at 0x140038ed5
Capabilities:
Delete registry value

Disassembly:
push rbp
sub rsp, 0x130
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
mov qword [rbp + 0xd0], r8
mov qword [rbp + 0x98], 0
call fcn.1400e6a40
mov rax, qword [rbp + 0xc0]
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.1400e7040
mov rdx, qword [rbp + 0xc8]
lea rax, [rbp + 0xc8]
mov rcx, rax
call fcn.1400e7040
mov rdx, qword [rbp + 0xd0]
lea rax, [rbp + 0xd0]
mov rcx, rax
call fcn.1400e7040
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x48], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xa0], 0
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call fcn.14003624f
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x80], rax
lea rax, [0x140849db8]
mov qword [rbp + 0x78], rax
mov rdx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x78]
mov rcx, rax
call fcn.1400e6f60
test eax, eax
je 0x140039085
mov eax, dword [0x140871adc]
test eax, eax
je 0x14003903b
mov rax, qword [0x140871ac8]
mov qword [rbp + 0x70], rax
mov rax, qword [0x1408716c8]
mov qword [rbp + 0x68], rax
mov eax, dword [0x140871b04]
or eax, 0xf003f
cdqe
mov qword [rbp + 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x58], rax
mov r8, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0xa8], rax
nop
jmp 0x140039164
nop
mov rax, qword [0x140871ac8]
mov qword [rbp + 0x48], rax
mov rax, qword [0x1408716c8]
mov qword [rbp + 0x40], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x48]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0xa8], rax
jmp 0x140039164
nop
mov rax, qword [0x140871ac8]
mov qword [rbp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0xd0]
mov rcx, rax
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov r8, rdx
mov rdx, rax
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x1c]
cdqe
mov qword [rbp + 0x90], rax
mov eax, dword [0x140871adc]
test eax, eax
je 0x14003912a
mov rax, qword [0x1408716c8]
mov qword [rbp + 0x10], rax
mov eax, dword [0x140871b04]
or eax, 0xf003f
cdqe
mov qword [rbp + 8], rax
lea rax, [rbp - 0x40]
mov qword [rbp], rax
mov rax, qword [rbp - 0x48]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov qword [rbp + 0xa8], rax
jmp 0x140039164
nop
mov rax, qword [0x1408716c8]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x1400391bd
mov rax, qword [rbp + 0xc8]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x28]
mov rcx, rax
call sub.ADVAPI32.dll_RegDeleteValueW
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x1400391af
mov qword [rbp + 0xa0], 1
jmp 0x1400391be
nop
mov qword [rbp + 0xa0], 0
jmp 0x1400391be
nop
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp - 0x38], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x98], rax
nop
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call fcn.1400e6fc0
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call fcn.1400e6fc0
mov rax, qword [rbp + 0xc8]
mov rcx, rax
call fcn.1400e6fc0
mov rax, qword [rbp + 0x98]
add rsp, 0x130
pop rbp
ret