Function at 0x466910
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a7f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
lea esi, [ecx + 0x104]
push esi
lea ecx, [ebp - 0x34]
call fcn.004152a0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00435510
add esp, 8
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x46698b
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466981
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466caf
push edx
push ecx
call fcn.004b9160
add esp, 8
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.004152a0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00435370
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x4669fb
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4669f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466cb4
push edx
push ecx
call fcn.004b9160
add esp, 8
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push ecx
push 0x20019
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x466a39
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
push edi
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push ecx
push 0x20019
push edi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x466a76
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
test ebx, ebx
mov byte [ebp - 4], 8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x466c10
test eax, eax
je 0x466c10
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push 0
push eax
lea eax, [ebp - 0x40]
push 0x80000002
push eax
call fcn.00432520
add esp, 0x14
push 0x1d
xor eax, eax
mov dword [ebp - 0x88], 0
push str.Failed_to_copy_uninstall_data
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.0041ffd0
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x88]
push ecx
push 0
push dword [ebp - 0x40]
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xb
cmovae eax, dword [ebp - 0x70]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
push eax
call fcn.00437850
mov edx, dword [ebp - 0x74]
add esp, 8
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x466b59
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466b4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466cb9
push edx
push ecx
call fcn.004b9160
add esp, 8
push 0x26
xor eax, eax
mov dword [ebp - 0x88], 0
push str.Failed_to_remove_legacy_uninstall_data
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.0041ffd0
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x88]
push ecx
push 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xc
cmovae eax, dword [ebp - 0x70]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
push eax
call fcn.00437850
mov edx, dword [ebp - 0x74]
add esp, 8
cmp edx, 8
jb 0x466bf8
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466bee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466cbe
push edx
push ecx
call fcn.004b9160
add esp, 8
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x466c09
push eax
call ebx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
test edi, edi
je 0x466c17
push edi
call ebx
pop edi
test esi, esi
je 0x466c1f
push esi
call ebx
mov edx, dword [ebp - 0x44]
pop esi
pop ebx
cmp edx, 8
jb 0x466c57
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466c4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466cc3
push edx
push ecx
call fcn.004b9160
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x466ca1
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466c97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466cc3
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
call fcn.0051bb5f
call fcn.0051bb5f
call fcn.0051bb5f
call fcn.0051bb5f
int3