Function at 0x46df90
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8886
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x51c0b0]
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
mov edi, ecx
call fcn.0046f1d0
cmp dword [edi + 0x24], 0
jne 0x46e0a0
cmp byte [0x51caa5], 0
jne 0x46dfe5
cmp byte [0x522582], 0
je 0x46e096
push 0
push ecx
push str.CommonMaintenanceRegistrar.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
mov dword [ebp - 4], 1
push 0
push ecx
push str.No_suite_ID_defined__unable_to_create_ARP_information
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 3
cmp byte [0x51caa5], 0
je 0x46e055
cmp byte [0x522582], 0
jne 0x46e047
call fcn.00486870
test al, al
je 0x46e04e
mov byte [0x522582], 1
mov byte [0x51caa5], 0
cmp byte [0x522582], 0
je 0x46e07b
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x28], 8
push 0x2d
cmovae ecx, dword [ebp - 0x3c]
call fcn.00486ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004049f0
mov eax, 0x80070057
jmp 0x46e9fd
push 0
lea eax, [ebp - 0x139]
mov dword [ebp - 0x40], 0x4dd804
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4dcac4
call fcn.004042c0
mov dword [ebp - 4], 7
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x40]
call fcn.00408bb0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.00404db0
cmp byte [edi + 0x31c], 0
jne 0x46e106
mov ecx, dword [0x522578]
push 0xffffffffffffffff
lea ecx, [ecx + 0x1a0]
call fcn.0046fec0
call fcn.00497159
test al, al
jne 0x46e127
cmp byte [edi + 0x31c], al
jne 0x46e127
push 1
mov ecx, edi
call fcn.0046ec90
mov esi, eax
jmp 0x46e9e9
sub esp, 0x30
lea ebx, [edi + 0x250]
mov eax, esp
mov dword [ebp - 0x134], esp
mov ecx, ebx
push 0
push 1
push eax
call fcn.00409550
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 9
call fcn.004912ac
add esp, 0x30
push 0
push 0x8000
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x134], esp
mov dword [ebp - 0x138], ecx
push 0
push ebx
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 0xd
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x138], esp
lea eax, [edi + 0x220]
mov dword [ebp - 0x140], ecx
push 0
push eax
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 9
call fcn.0048e4fb
add esp, 0x68
push 0x80
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x140], esp
mov dword [ebp - 0x138], ecx
push 0
push ebx
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 9
call fcn.00492657
add esp, 0x34
mov dword [ebp - 0x40], 0x4dd804
lea ebx, [edi + 0x1f0]
mov dword [ebp - 0x18], 0x4dcac4
lea ecx, [ebp - 0x40]
push 0
push ebx
call fcn.00407160
mov byte [ebp - 4], 0x13
cmp byte [edi + 0x31d], 0
je 0x46e423
push 0
push ebx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 0x15
lea ecx, [edi + 0x1f4]
push 1
push 0xffffffffffffffff
push 0x4e973c
call fcn.0042bf30
mov dword [ebp - 0x134], eax
cmp eax, 0xffffffff
je 0x46e2ab
push eax
push 0
lea eax, [ebp - 0x100]
mov ecx, ebx
push eax
call fcn.00408100
mov byte [ebp - 4], 0x16
test eax, eax
je 0x46e28d
add eax, 4
lea ecx, [ebp - 0x6c]
cmp ecx, eax
je 0x46e29c
jmp 0x46e28f
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x6c]
call fcn.004046f0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x100]
call fcn.00404db0
push 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x70]
call fcn.00435110
mov esi, eax
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x100]
push 0
push 0
push eax
lea ecx, [edi + 0x250]
call fcn.00409550
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xa0]
push esi
push ecx
mov ecx, eax
call fcn.00408bb0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x100]
call fcn.00404db0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x130]
call fcn.00404db0
push 0
push 0x8000
sub esp, 0x30
lea eax, [ebp - 0xa0]
mov ecx, esp
mov dword [ebp - 0x140], esp
mov dword [ebp - 0x138], ecx
push 0
push eax
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 0x20
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x138], esp
lea eax, [ebp - 0x70]
mov dword [ebp - 0x150], ecx
push 0
push eax
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 0x22
mov byte [ebp - 4], 0x1d
call fcn.0048e4fb
add esp, 0x68
lea eax, [ebp - 0xa0]
push 0x80
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x150], esp
mov dword [ebp - 0x140], ecx
push 0
push eax
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 0x24
mov byte [ebp - 4], 0x1d
call fcn.00492657
mov eax, dword [ebp - 0x134]
add esp, 0x34
cmp eax, 0xffffffff
je 0x46e3f5
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.00408100
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0xa0]
push eax
call fcn.00403510
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x130]
call fcn.00404db0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004046f0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa0]
call fcn.00404db0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x70]
call fcn.00404db0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0xcc]
cmp dword [ebp - 0xb8], 8
lea ecx, [ebp - 0x14c]
push 0
cmovae eax, dword [ebp - 0xcc]
push 0
push 0x2001f
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043b860
cmp dword [edi + 0x58], 8
lea edx, [edi + 0x44]
jb 0x46e482
mov edx, dword [edx]
mov ebx, dword [ebp - 0x14c]
xor eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edx, edx
setne al
test eax, eax
je 0x46e4cc
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e4a4
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayName
push ebx
call esi
cmp dword [edi + 0x2f8], 8
lea edx, [edi + 0x2e4]
jb 0x46e4dd
mov edx, dword [edx]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e51b
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e4f3
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayVersion
push ebx
call esi
cmp dword [edi + 0x88], 8
lea edx, [edi + 0x74]
jb 0x46e529
mov edx, dword [edx]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e568
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e540
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.Publisher
push ebx
call esi
cmp dword [edi + 0xb8], 8
lea edx, [edi + 0xa4]
jb 0x46e579
mov edx, dword [edx]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e5b8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e590
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.HelpLink
push ebx
call esi
cmp dword [edi + 0xe8], 8
lea edx, [edi + 0xd4]
jb 0x46e5c9
mov edx, dword [edx]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e608
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e5e0
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.HelpTelephone
push ebx
call esi
cmp dword [edi + 0x118], 8
lea edx, [edi + 0x104]
jb 0x46e619
mov edx, dword [edx]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e658
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e630
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.URLInfoAbout
push ebx
call esi
cmp dword [edi + 0x148], 8
lea edx, [edi + 0x134]
jb 0x46e669
mov edx, dword [edx]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e6a8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e680
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.URLUpdateInfo
push ebx
call esi
cmp dword [edi + 0x178], 8
lea edx, [edi + 0x164]
jb 0x46e6b9
mov edx, dword [edx]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e6f8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e6d0
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.Comments
push ebx
call esi
cmp dword [edi + 0x1a8], 8
lea edx, [edi + 0x194]
jb 0x46e709
mov edx, dword [edx]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e748
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e720
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.Contact
push ebx
call esi
cmp dword [edi + 0x1d8], 8
lea edx, [edi + 0x1c4]
jb 0x46e759
mov edx, dword [edx]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e798
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e770
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.Readme
push ebx
call esi
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x3c]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e7e8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e7c0
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayIcon
push ebx
call esi
mov eax, dword [edi + 0x318]
push 4
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x134]
push eax
push 4
push 0
push str.Language
push ebx
call esi
mov eax, dword [edi + 0x314]
push 4
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x134]
push eax
push 4
push 0
push str.EstimatedSize
push ebx
call esi
mov eax, dword [edi + 0x310]
push 4
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x134]
push eax
push 4
push 0
push str.Version
push ebx
call esi
movzx eax, byte [edi + 0x313]
push 4
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x134]
push eax
push 4
push 0
push str.VersionMajor
push ebx
call esi
movzx eax, byte [edi + 0x312]
push 4
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x134]
push eax
push 4
push 0
push str.VersionMinor
push ebx
call esi
cmp dword [edi + 0x298], 8
lea edx, [edi + 0x284]
jb 0x46e8a0
mov edx, dword [edx]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e8de
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e8b6
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.UninstallString
push ebx
call esi
cmp dword [edi + 0x2c8], 8
lea edx, [edi + 0x2b4]
jb 0x46e8ef
mov edx, dword [edx]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x46e92d
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x134], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e905
sub ecx, dword [ebp - 0x134]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.ModifyPath
push ebx
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.NoModify
push ebx
call esi
push str.NoRemove
push ebx
call esi
test byte [edi + 0x320], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x46e971
push 4
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 1
push eax
push 4
push 0
push str.NoModify
push ebx
call esi
test byte [edi + 0x320], 1
je 0x46e999
push 4
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 1
push eax
push 4
push 0
push str.NoRemove
push ebx
call esi
push 4
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 1
push eax
push 4
push 0
push str.NoRepair
push ebx
call esi
mov byte [ebp - 4], 0x13
test ebx, ebx
je 0x46e9d1
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.00404db0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.00404db0
mov eax, esi
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.004996ca
mov esp, ebp
pop ebp
ret