Function at 0x466420
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3eef
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x54c1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x550018], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x170], eax
mov edi, ecx
jne 0x46647b
or dword [0x550018], 1
call fcn.004443f0
push 0x4f70a0
call fcn.004bd58e
add esp, 4
cmp byte [0x54fff7], 0
je 0x466555
test byte [0x550318], 1
jne 0x4664aa
or dword [0x550318], 1
call fcn.0045d380
push 0x4f70d0
call fcn.004bd58e
add esp, 4
mov edx, 0x54d674
lea ecx, [ebp - 0x48]
call fcn.00403940
lea ecx, [ebp - 0x16c]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, eax
mov dword [ebp - 0x16c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4664fa
mov eax, dword [ebp - 0x16c]
test eax, eax
je 0x4664f6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x466528
cmp dword [esi + 0x14], 8
jb 0x466502
mov esi, dword [esi]
mov edx, dword [ebp - 0x16c]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
mov eax, dword [ebp - 0x16c]
sete bl
test eax, eax
je 0x466526
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
test al, al
sete bl
cmp dword [ebp - 0x34], 8
jb 0x46653f
mov eax, dword [ebp - 0x48]
push eax
call fcn.004bb4d8
add esp, 4
test bl, bl
je 0x466551
push 3
push 0x51b9e0
mov ecx, edi
call fcn.00408810
mov byte [ebp + 0xc], 1
test byte [0x55012c], 1
jne 0x466585
or dword [0x55012c], 1
mov dword [ebp - 4], 0
call fcn.004411c0
push 0x4f70c0
call fcn.004bd58e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x170]
add ebx, 0x24
push 1
mov ecx, edi
push ebx
mov edi, 0x550304
mov dword [ebp - 0x16c], ebx
call fcn.00443070
add esp, 8
lea eax, [ebp - 0x168]
call fcn.004507c0
mov edx, 0x54d674
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.00403940
mov edi, eax
lea esi, [ebp - 0x168]
mov byte [ebp - 4], 2
call fcn.00407a10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 8
jb 0x4665ec
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004bb4d8
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.00403d70
mov ecx, eax
mov eax, ebx
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004530f0
mov edi, eax
lea esi, [ebp - 0x14c]
mov byte [ebp - 4], 4
call fcn.00407a10
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x46662b
mov edx, dword [ebp - 0x48]
push edx
call fcn.004bb4d8
add esp, 4
mov ebx, 1
xor eax, eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], esi
jb 0x466658
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bb4d8
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.00403e00
mov edi, eax
lea esi, [ebp - 0x130]
mov byte [ebp - 4], 5
call fcn.00407a10
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x46668a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004bb4d8
add esp, 4
cmp byte [ebp + 0xc], 0
je 0x4666fd
test byte [0x55059c], bl
jne 0x4666c3
or dword [0x55059c], ebx
push 0x550520
mov byte [ebp - 4], 6
call fcn.00434510
push 0x4f7030
mov byte [0x550598], 0
call fcn.004bd58e
add esp, 4
mov byte [ebp - 4], bl
push 0x5185b0
push 0x550520
mov edx, str.Setup
lea ecx, [ebp - 0x2c]
call fcn.0042be30
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x130]
mov byte [ebp - 4], 7
call fcn.00407720
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x466770
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x466768
test byte [0x55059c], bl
jne 0x466730
or dword [0x55059c], ebx
push 0x550520
mov byte [ebp - 4], 8
call fcn.00434510
push 0x4f7030
mov byte [0x550598], 0
call fcn.004bd58e
add esp, 4
mov byte [ebp - 4], bl
push 0x518f00
push 0x550520
mov edx, str.Setup
lea ecx, [ebp - 0x2c]
call fcn.0042be30
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x130]
mov byte [ebp - 4], 9
call fcn.00407720
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x466770
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bb4d8
add esp, 4
mov edx, dword [ebp - 0x170]
push 0xffffffffffffffff
push 0
add edx, 8
push edx
lea ecx, [ebp - 0x114]
call fcn.004082e0
lea esi, [ebp - 0x2c]
call fcn.00403ae0
mov edi, eax
lea esi, [ebp - 0xf8]
mov byte [ebp - 4], 0xa
call fcn.00407a10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x4667b7
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004bb4d8
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.00403ce0
mov byte [ebp - 4], 0xb
mov ecx, eax
mov eax, dword [ebp - 0x16c]
lea ebx, [ebp - 0x48]
call fcn.004530f0
mov edi, eax
lea esi, [ebp - 0xdc]
mov byte [ebp - 4], 0xc
call fcn.00407a10
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x4667fa
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004bb4d8
add esp, 4
mov ebx, 1
xor edx, edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], esi
jb 0x466827
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004bb4d8
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.00403b00
mov edi, eax
lea esi, [ebp - 0xc0]
mov byte [ebp - 4], 0xd
call fcn.00407a10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x466855
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bb4d8
add esp, 4
mov edx, dword [ebp - 0x170]
push 0xffffffffffffffff
push 0
add edx, 0x40
push edx
lea ecx, [ebp - 0x88]
call fcn.004082e0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x54d690
call fcn.00468170
add esp, 4
mov edi, eax
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.00407a10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x4668a2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bb4d8
add esp, 4
mov esi, dword [ebp + 0xc]
push esi
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x50], ebx
call fcn.00408a60
add esp, 4
mov edx, 0x54d674
lea ecx, [ebp - 0x2c]
call fcn.00403940
mov edi, eax
mov byte [ebp - 4], 0xf
test byte [0x55012c], bl
jne 0x4668f2
or dword [0x55012c], ebx
mov byte [ebp - 4], 0x10
call fcn.004411c0
push 0x4f70c0
call fcn.004bd58e
add esp, 4
mov byte [ebp - 4], 0xf
push esi
push 0
mov edx, 0x550304
mov ecx, edi
call fcn.0040a1a0
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x466919
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004bb4d8
add esp, 4
mov edx, 0x54d674
lea ecx, [ebp - 0x2c]
call fcn.00403940
mov edi, eax
mov byte [ebp - 4], 0x11
test byte [0x55012c], bl
jne 0x466954
or dword [0x55012c], ebx
mov byte [ebp - 4], 0x12
call fcn.004411c0
push 0x4f70c0
call fcn.004bd58e
add esp, 4
mov byte [ebp - 4], 0x11
push esi
push ebx
mov edx, 0x5502b4
mov ecx, edi
call fcn.0040a1a0
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x46697a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004bb4d8
add esp, 4
mov edx, 0x54d674
lea ecx, [ebp - 0x2c]
call fcn.00403940
mov edi, eax
mov byte [ebp - 4], 0x13
test byte [0x55012c], bl
jne 0x4669b5
or dword [0x55012c], ebx
mov byte [ebp - 4], 0x14
call fcn.004411c0
push 0x4f70c0
call fcn.004bd58e
add esp, 4
mov byte [ebp - 4], 0x13
push esi
push 2
mov edx, 0x5502d4
mov ecx, edi
call fcn.0040a1a0
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x4669dc
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bb4d8
add esp, 4
mov edx, dword [ebp - 0x170]
push edx
call fcn.00466b40
lea esi, [ebp - 0x168]
call fcn.00450870
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bb4e3
mov esp, ebp
pop ebp
ret 8