Function at 0x140038e7c
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.14011b320
mov rax, qword [rbp + 0xc0]
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.14011b770
mov rdx, qword [rbp + 0xc8]
lea rax, [rbp + 0xc8]
mov rcx, rax
call fcn.14011b770
mov rdx, qword [rbp + 0xd0]
lea rax, [rbp + 0xd0]
mov rcx, rax
call fcn.14011b770
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.1400361f6
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x80], rax
lea rax, [0x140930f18]
mov qword [rbp + 0x78], rax
mov rdx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x78]
mov rcx, rax
call fcn.14011b6d0
test eax, eax
je 0x14003902c
mov eax, dword [0x1409586fc]
test eax, eax
je 0x140038fe2
mov rax, qword [0x1409586e8]
mov qword [rbp + 0x70], rax
mov rax, qword [0x1409582e8]
mov qword [rbp + 0x68], rax
mov eax, dword [0x140958724]
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 0x14003910b
nop
mov rax, qword [0x1409586e8]
mov qword [rbp + 0x48], rax
mov rax, qword [0x1409582e8]
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 0x14003910b
nop
mov rax, qword [0x1409586e8]
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 [0x1409586fc]
test eax, eax
je 0x1400390d1
mov rax, qword [0x1409582e8]
mov qword [rbp + 0x10], rax
mov eax, dword [0x140958724]
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 0x14003910b
nop
mov rax, qword [0x1409582e8]
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 0x140039164
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 0x140039156
mov qword [rbp + 0xa0], 1
jmp 0x140039165
nop
mov qword [rbp + 0xa0], 0
jmp 0x140039165
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.14011b710
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call fcn.14011b710
mov rax, qword [rbp + 0xc8]
mov rcx, rax
call fcn.14011b710
mov rax, qword [rbp + 0x98]
add rsp, 0x130
pop rbp
ret