Function at 0x18002da90
Capabilities:
Delete registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1800881a0]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x54], 1
mov eax, dword [rsp + 0x54]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18002daf5
xor r9d, r9d
lea r8, [0x180089ffc]
lea rdx, [0x18008a004]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov edx, 1
lea rcx, [rsp + 0x98]
call fcn.180019030
lea rcx, [rsp + 0x98]
call fcn.18001bf00
nop
mov edx, 1
lea rcx, [rsp + 0xb0]
call fcn.180019030
lea rcx, [rsp + 0xb0]
call fcn.18001bf00
nop
cmp qword [rsp + 0xf0], 0
jne 0x18002db77
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x78]
call fcn.18001be50
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xb0]
call fcn.18001c490
nop
lea rcx, [rsp + 0x78]
call fcn.180011730
cmp qword [rsp + 0xe8], 0
je 0x18002dbb9
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x58]
call fcn.18001be50
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x98]
call fcn.18001c490
nop
lea rcx, [rsp + 0x58]
call fcn.180011730
mov qword [rsp + 0x90], 0
mov eax, dword [rsp + 0xf8]
or eax, 0x2001f
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x98]
call fcn.1800324c0
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x40]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18002dd5f
cmp dword [rsp + 0x30], 2
je 0x18002dcc4
cmp dword [rsp + 0x30], 3
je 0x18002dcc4
lea rcx, [rsp + 0x98]
call fcn.1800324e0
mov r9, rax
mov r8d, dword [rsp + 0x30]
lea rdx, [0x18008b910]
mov ecx, 4
call fcn.180040a70
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x48], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
movsxd rdx, dword [rsp + 0x48]
lea r8, [0x180087a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087a70]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xb0]
call fcn.180011730
nop
lea rcx, [rsp + 0x98]
call fcn.180011730
mov eax, dword [rsp + 0x50]
jmp 0x18002de4c
lea rcx, [rsp + 0xb0]
call fcn.1800324c0
mov rdx, rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x38]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18002ddb0
xor r9d, r9d
lea r8, [0x180089ffc]
lea rdx, [0x18008a004]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x34]
lea rcx, [0x180087a70]
cmp dword [rcx + rax*4], 1
jne 0x18002ddef
movsx rax, word [rsp + 0x34]
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x34]
lea rdx, [0x180087a70]
mov dword [rdx + rcx*4], eax
cmp dword [rsp + 0x30], 0
je 0x18002de25
mov dword [rsp + 0x44], 1
mov eax, dword [rsp + 0x44]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18002de25
xor r9d, r9d
lea r8, [0x180089ffc]
lea rdx, [0x18008a004]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0xb0]
call fcn.180011730
nop
lea rcx, [rsp + 0x98]
call fcn.180011730
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.18004d370
add rsp, 0xd8
ret