Function at 0x18002e340
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, 0xe8
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1800891a0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x58], 1
mov eax, dword [rsp + 0x58]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18002e3a5
xor r9d, r9d
lea r8, [0x18008b394]
lea rdx, [0x18008b39c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov edx, 1
lea rcx, [rsp + 0xa0]
call fcn.18003cfc0
lea rcx, [rsp + 0xa0]
call fcn.18001c230
nop
mov dword [rsp + 0x44], 1
mov eax, dword [rsp + 0x44]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18002e3f4
xor r9d, r9d
lea r8, [0x18008b394]
lea rdx, [0x18008b39c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov edx, 1
lea rcx, [rsp + 0xb8]
call fcn.18003cfc0
lea rcx, [rsp + 0xb8]
call fcn.18001c230
nop
mov eax, 2
mov word [rsp + 0x38], ax
movsx rax, word [rsp + 0x38]
lea rcx, [0x180088a70]
cmp dword [rcx + rax*4], 1
jne 0x18002e453
movsx rax, word [rsp + 0x38]
lea rcx, [0x180088a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x38]
lea rdx, [0x180088a70]
mov dword [rdx + rcx*4], eax
cmp qword [rsp + 0x100], 0
jne 0x18002e49e
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x80]
call fcn.18001c170
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xb8]
call fcn.18001c7f0
nop
lea rcx, [rsp + 0x80]
call fcn.1800119b0
cmp qword [rsp + 0xf8], 0
je 0x18002e4e0
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x60]
call fcn.18001c170
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.18001c7f0
nop
lea rcx, [rsp + 0x60]
call fcn.1800119b0
mov qword [rsp + 0x98], 0
mov eax, dword [rsp + 0x108]
or eax, 0x2001f
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0xa0]
call fcn.18000b6b0
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x4c]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18002e62e
mov dword [rsp + 0x54], 1
mov eax, dword [rsp + 0x54]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18002e56f
xor r9d, r9d
lea r8, [0x18008b394]
lea rdx, [0x18008b39c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [rsp + 0x30], 2
je 0x18002e5a3
cmp dword [rsp + 0x30], 3
je 0x18002e5a3
lea rcx, [rsp + 0xa0]
call fcn.180011c00
mov r9, rax
mov r8d, dword [rsp + 0x30]
lea rdx, [0x18008cc98]
mov ecx, 4
call fcn.180041480
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xb8]
call fcn.1800119b0
nop
lea rcx, [rsp + 0xa0]
call fcn.1800119b0
mov eax, dword [rsp + 0x50]
jmp 0x18002e6bf
lea rcx, [rsp + 0xb8]
call fcn.18000b6b0
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18002e659
jmp 0x18002e698
mov eax, SafeArrayGetDim
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x34]
lea rcx, [0x180088a70]
cmp dword [rcx + rax*4], 1
jne 0x18002e698
movsx rax, word [rsp + 0x34]
lea rcx, [0x180088a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x34]
lea rdx, [0x180088a70]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xb8]
call fcn.1800119b0
nop
lea rcx, [rsp + 0xa0]
call fcn.1800119b0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.18004e350
add rsp, 0xe8
ret