Function at 0x140039195
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.14011bb00
mov rax, qword [rbp + 0xc0]
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.14011bf50
mov rdx, qword [rbp + 0xc8]
lea rax, [rbp + 0xc8]
mov rcx, rax
call fcn.14011bf50
mov rdx, qword [rbp + 0xd0]
lea rax, [rbp + 0xd0]
mov rcx, rax
call fcn.14011bf50
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.14003650f
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x80], rax
lea rax, [0x140931f58]
mov qword [rbp + 0x78], rax
mov rdx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x78]
mov rcx, rax
call fcn.14011beb0
test eax, eax
je 0x140039345
mov eax, dword [0x140959a9c]
test eax, eax
je 0x1400392fb
mov rax, qword [0x140959a88]
mov qword [rbp + 0x70], rax
mov rax, qword [0x140959688]
mov qword [rbp + 0x68], rax
mov eax, dword [0x140959ac4]
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 0x140039424
nop
mov rax, qword [0x140959a88]
mov qword [rbp + 0x48], rax
mov rax, qword [0x140959688]
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 0x140039424
nop
mov rax, qword [0x140959a88]
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 [0x140959a9c]
test eax, eax
je 0x1400393ea
mov rax, qword [0x140959688]
mov qword [rbp + 0x10], rax
mov eax, dword [0x140959ac4]
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 0x140039424
nop
mov rax, qword [0x140959688]
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 0x14003947d
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 0x14003946f
mov qword [rbp + 0xa0], 1
jmp 0x14003947e
nop
mov qword [rbp + 0xa0], 0
jmp 0x14003947e
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.14011bef0
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call fcn.14011bef0
mov rax, qword [rbp + 0xc8]
mov rcx, rax
call fcn.14011bef0
mov rax, qword [rbp + 0x98]
add rsp, 0x130
pop rbp
ret