Function at 0x1801dd960
Capabilities:
Delete registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov qword [rsp + 0x108], 0xfffffffffffffffe
mov r8, qword [rsp + 0x148]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xa8]
call fcn.1801e4160
nop
mov dx, 0x5c
mov rcx, qword [rsp + 0x148]
call fcn.180180788
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x78]
call fcn.180073cf0
nop
lea rcx, [rsp + 0x58]
call fcn.180073cf0
nop
cmp qword [rsp + 0x48], 0
je 0x1801ddbc7
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0xe8]
call fcn.1800aac40
nop
lea rdx, [rsp + 0x39]
lea rcx, [rsp + 0xe8]
call fcn.180078dc0
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.180078d90
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xc8]
call fcn.180079420
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xc8]
call fcn.180079140
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.180073df0
lea rcx, [rsp + 0xc8]
call fcn.180073fc0
nop
lea rcx, [rsp + 0xe8]
call fcn.180073fc0
mov rax, qword [rsp + 0x48]
add rax, 2
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1800aac40
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x58]
call fcn.180073df0
lea rcx, [rsp + 0x110]
call fcn.180073fc0
mov eax, dword [rsp + 0x150]
and eax, 0x300
test eax, eax
jne 0x1801ddaf2
mov eax, dword [rsp + 0x150]
bts eax, 9
mov dword [rsp + 0x150], eax
mov eax, dword [rsp + 0x150]
and eax, 0x300
or eax, 0xf003f
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x78]
call fcn.180074060
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x50]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1801ddbc5
cmp dword [rsp + 0x34], 2
jne 0x1801ddb7e
mov byte [rsp + 0x38], 1
lea rcx, [rsp + 0x58]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x78]
call fcn.180073fc0
nop
lea rcx, [rsp + 0xa8]
call fcn.180073fc0
movzx eax, byte [rsp + 0x38]
jmp 0x1801ddce0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x58]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x78]
call fcn.180073fc0
nop
lea rcx, [rsp + 0xa8]
call fcn.180073fc0
movzx eax, byte [rsp + 0x32]
jmp 0x1801ddce0
jmp 0x1801ddbe6
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x58]
call fcn.180078f80
lea rcx, [rsp + 0x58]
call fcn.180074060
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1801ddc99
cmp dword [rsp + 0x34], 2
jne 0x1801ddc46
mov byte [rsp + 0x33], 1
lea rcx, [rsp + 0x58]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x78]
call fcn.180073fc0
nop
lea rcx, [rsp + 0xa8]
call fcn.180073fc0
movzx eax, byte [rsp + 0x33]
jmp 0x1801ddce0
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x40], rax
je 0x1801ddc60
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x58]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x78]
call fcn.180073fc0
nop
lea rcx, [rsp + 0xa8]
call fcn.180073fc0
movzx eax, byte [rsp + 0x30]
jmp 0x1801ddce0
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x40], rax
je 0x1801ddcb3
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x58]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x78]
call fcn.180073fc0
nop
lea rcx, [rsp + 0xa8]
call fcn.180073fc0
movzx eax, byte [rsp + 0x31]
add rsp, 0x138
ret