Function at 0x461480
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee817
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5441b4]
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 [0x547f74], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x150], eax
mov edi, ecx
jne 0x4614db
or dword [0x547f74], 1
call fcn.00441d90
push 0x4f1080
call fcn.004b809e
add esp, 4
cmp byte [0x547f53], 0
je 0x4615b5
test byte [0x548220], 1
jne 0x46150a
or dword [0x548220], 1
call fcn.004587c0
push 0x4f10b0
call fcn.004b809e
add esp, 4
mov edx, 0x545640
lea ecx, [ebp - 0x48]
call fcn.00403830
lea ecx, [ebp - 0x14c]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, eax
mov dword [ebp - 0x14c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x46155a
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x461556
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x461588
cmp dword [esi + 0x14], 8
jb 0x461562
mov esi, dword [esi]
mov edx, dword [ebp - 0x14c]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
mov eax, dword [ebp - 0x14c]
sete bl
test eax, eax
je 0x461586
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
test al, al
sete bl
cmp dword [ebp - 0x34], 8
jb 0x46159f
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b6106
add esp, 4
test bl, bl
je 0x4615b1
push 3
push 0x514d98
mov ecx, edi
call fcn.004073c0
mov byte [ebp + 0xc], 1
test byte [0x548034], 1
jne 0x4615e5
or dword [0x548034], 1
mov dword [ebp - 4], 0
call fcn.0043ec60
push 0x4f10a0
call fcn.004b809e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x150]
add ebx, 0x24
push 1
mov ecx, edi
push ebx
mov edi, 0x54820c
mov dword [ebp - 0x14c], ebx
call fcn.00440b10
add esp, 8
lea eax, [ebp - 0x148]
call fcn.0044cfc0
mov edx, 0x545640
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.00403830
mov edi, eax
lea esi, [ebp - 0x148]
mov byte [ebp - 4], 2
call fcn.00406400
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 8
jb 0x46164c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b6106
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.00403c60
mov ecx, eax
mov eax, ebx
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0044f910
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 4
call fcn.00406400
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x46168b
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b6106
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 0x4616b8
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b6106
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.00403cf0
mov edi, eax
lea esi, [ebp - 0x110]
mov byte [ebp - 4], 5
call fcn.00406400
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x4616ea
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b6106
add esp, 4
cmp byte [ebp + 0xc], 0
je 0x46175d
test byte [0x548484], bl
jne 0x461723
or dword [0x548484], ebx
push 0x548408
mov byte [ebp - 4], 6
call fcn.00431fb0
push 0x4f1010
mov byte [0x548480], 0
call fcn.004b809e
add esp, 4
mov byte [ebp - 4], bl
push 0x511b60
push 0x548408
mov edx, str.Setup
lea ecx, [ebp - 0x2c]
call fcn.00429870
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x110]
mov byte [ebp - 4], 7
call fcn.004064e0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x4617d0
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x4617c8
test byte [0x548484], bl
jne 0x461790
or dword [0x548484], ebx
push 0x548408
mov byte [ebp - 4], 8
call fcn.00431fb0
push 0x4f1010
mov byte [0x548480], 0
call fcn.004b809e
add esp, 4
mov byte [ebp - 4], bl
push 0x512500
push 0x548408
mov edx, str.Setup
lea ecx, [ebp - 0x2c]
call fcn.00429870
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x110]
mov byte [ebp - 4], 9
call fcn.004064e0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x4617d0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b6106
add esp, 4
mov edx, dword [ebp - 0x150]
push 0xffffffffffffffff
push 0
add edx, 8
push edx
lea ecx, [ebp - 0xf4]
call fcn.00406e90
lea esi, [ebp - 0x2c]
call fcn.004039d0
mov edi, eax
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 0xa
call fcn.00406400
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x461817
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b6106
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.00403bd0
mov byte [ebp - 4], 0xb
mov ecx, eax
mov eax, dword [ebp - 0x14c]
lea ebx, [ebp - 0x48]
call fcn.0044f910
mov edi, eax
lea esi, [ebp - 0xbc]
mov byte [ebp - 4], 0xc
call fcn.00406400
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x46185a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b6106
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 0x461887
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b6106
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.004039f0
mov edi, eax
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
call fcn.00406400
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x4618b5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b6106
add esp, 4
mov edx, dword [ebp - 0x150]
push 0xffffffffffffffff
push 0
add edx, 0x40
push edx
lea ecx, [ebp - 0x68]
call fcn.00406e90
mov esi, dword [ebp + 0xc]
push esi
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x4c], ebx
call fcn.00407610
add esp, 4
mov edx, 0x545640
lea ecx, [ebp - 0x2c]
call fcn.00403830
mov edi, eax
mov byte [ebp - 4], 0xe
test byte [0x548034], bl
jne 0x46191b
or dword [0x548034], ebx
mov byte [ebp - 4], 0xf
call fcn.0043ec60
push 0x4f10a0
call fcn.004b809e
add esp, 4
mov byte [ebp - 4], 0xe
push esi
push 0
mov edx, 0x54820c
mov ecx, edi
call fcn.00408d20
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x461942
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b6106
add esp, 4
mov edx, 0x545640
lea ecx, [ebp - 0x2c]
call fcn.00403830
mov edi, eax
mov byte [ebp - 4], 0x10
test byte [0x548034], bl
jne 0x46197d
or dword [0x548034], ebx
mov byte [ebp - 4], 0x11
call fcn.0043ec60
push 0x4f10a0
call fcn.004b809e
add esp, 4
mov byte [ebp - 4], 0x10
push esi
push ebx
mov edx, 0x5481bc
mov ecx, edi
call fcn.00408d20
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x4619a3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b6106
add esp, 4
mov edx, 0x545640
lea ecx, [ebp - 0x2c]
call fcn.00403830
mov edi, eax
mov byte [ebp - 4], 0x12
test byte [0x548034], bl
jne 0x4619de
or dword [0x548034], ebx
mov byte [ebp - 4], 0x13
call fcn.0043ec60
push 0x4f10a0
call fcn.004b809e
add esp, 4
mov byte [ebp - 4], 0x12
push esi
push 2
mov edx, 0x5481dc
mov ecx, edi
call fcn.00408d20
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x461a05
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b6106
add esp, 4
mov eax, dword [ebp - 0x150]
push eax
call fcn.00461b60
lea esi, [ebp - 0x148]
call fcn.0044d050
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.004b6111
mov esp, ebp
pop ebp
ret 8