Function at 0x100210e1
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov eax, 0x100539cb
call fcn.100457f4
sub esp, 0xf8
mov al, byte [ebp + 0xb]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 0x84], al
call fcn.1002376b
mov esi, str.closeAllWindowsForUninstall
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x84]
call fcn.100243fe
mov ecx, dword [0x1006ce2c]
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x1002113a
call fcn.10001a3c
mov esi, eax
jmp 0x1002113c
xor esi, esi
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x94], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x94]
call fcn.100243fe
push 0x1a0
mov byte [ebp - 4], 1
call fcn.1004540f
pop ecx
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x1002118b
call fcn.10007642
mov dword [ebp - 0x1c], eax
jmp 0x1002118e
mov dword [ebp - 0x1c], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.TOOLBAR
mov byte [ebp - 4], 1
call fcn.1000101a
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x104]
call fcn.10022017
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
call fcn.10003dfc
pop ecx
mov esi, dword [eax]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
mov byte [ebp - 0x34], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100243fe
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.1001179b
mov ecx, dword [0x1006ce64]
cmp ecx, ebx
je 0x10021203
call fcn.10001a3c
mov esi, eax
jmp 0x10021205
xor esi, esi
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100243a7
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x10021222
mov eax, 0x10057508
push eax
lea ecx, [ebp - 0x18]
call fcn.1000101a
push 1
pop edi
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 7
call fcn.10043f13
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.100018b6
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 0x18], ebx
je 0x1002126d
mov eax, dword [esi + 0x14]
cmp eax, ebx
jne 0x10021262
mov eax, 0x10057508
push eax
mov ecx, 0x1006ce58
call fcn.10002a36
cmp byte [ebp + 8], 1
jne 0x100212e8
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100039b2
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, ebx
jne 0x10021299
mov eax, 0x10057508
push 0x34
push str.Warning
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
push edi
lea ecx, [ebp - 0x44]
setne byte [ebp + 0xb]
call fcn.1002376b
cmp byte [ebp + 0xb], bl
je 0x100212e8
cmp esi, ebx
je 0x100212c8
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax]
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.1002376b
mov dword [ebp - 0x104], 0x10057620
mov byte [ebp - 4], 8
jmp 0x10021829
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], al
call fcn.1002376b
mov esi, 0x100664c8
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.100243fe
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
mov byte [ebp - 0x54], al
call fcn.1002376b
mov esi, str.Uninstalling
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x54]
call fcn.100243fe
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0xa
call fcn.10003636
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.1002376b
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.1002376b
push ebx
call fcn.10002811
push ebx
call fcn.100040b6
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0x20], ebx
call fcn.10003fe5
add esp, 0x10
cmp dword [ebp - 0x20], ebx
je 0x100213b7
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x1006ceac
call fcn.1000101a
mov ecx, 0x1006ce68
call fcn.1000dda3
push eax
push dword [ebp - 0x20]
call fcn.1000407f
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
add esp, 0x10
push eax
call dword [ecx + 0x80]
lea eax, [ebp + 8]
push eax
call fcn.10003dfc
mov esi, dword [eax]
push esi
mov byte [ebp - 4], 0xb
call fcn.10045c20
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100243fe
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.1001179b
lea eax, [ebp - 0x18]
push eax
call fcn.10003dfc
pop ecx
mov esi, dword [eax]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x74], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.100243fe
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.1001179b
mov eax, dword [0x1005750c]
push edi
push eax
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp + 0xb], 0x5c
call fcn.10023621
push dword [0x1005750c]
inc eax
push eax
lea ecx, [ebp - 0x74]
call fcn.10021d89
mov eax, dword [0x1005750c]
push edi
push eax
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp + 0xb], 0x5c
call fcn.10023621
push dword [0x1005750c]
lea ecx, [ebp - 0x34]
push eax
call fcn.10021d89
mov edi, dword [0x1005750c]
mov byte [ebp + 0xb], 0x5c
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x54], al
call fcn.1002376b
mov esi, 0x10066570
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x54]
call fcn.100243fe
push 1
push edi
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x34]
call fcn.10023621
mov ecx, dword [ebp - 0x50]
cmp ecx, ebx
mov byte [ebp - 4], 0xf
jne 0x100214bb
mov ecx, 0x10057508
push dword [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.1002359f
cmp eax, dword [0x1005750c]
push 1
lea ecx, [ebp - 0x54]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 0xe
call fcn.1002376b
cmp byte [ebp + 0xb], bl
je 0x1002150e
mov eax, dword [0x1005750c]
push 1
push eax
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp + 0xb], 0x5c
call fcn.10023621
push dword [0x1005750c]
lea ecx, [ebp - 0x34]
push eax
call fcn.10021d89
jmp 0x10021521
push dword [0x1005750c]
lea eax, [ebp - 0x74]
push ebx
push eax
lea ecx, [ebp - 0x34]
call fcn.10023391
mov dword [ebp - 0x10], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp + 8]
push eax
push 0xf003f
push ebx
mov esi, str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks_
push esi
push SysReAllocStringLen
mov byte [ebp - 4], 0x10
mov dword [ebp + 8], ebx
call edi
cmp eax, ebx
jne 0x10021592
lea ecx, [ebp - 0x10]
call fcn.100047cf
cmp eax, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
jne 0x10021592
push 0x1006ceac
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0x1006ceac
push 1
push ebx
push str.CFBFAE00_17A6_11D0_99CB_00C04FD64497
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 0x10], ebx
je 0x10021592
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea eax, [ebp + 8]
push eax
push 0xf003f
push ebx
push esi
mov esi, SysReAllocStringLen
push esi
mov dword [ebp + 8], ebx
call edi
cmp eax, ebx
jne 0x100215db
lea ecx, [ebp - 0x10]
call fcn.100047cf
cmp eax, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
jne 0x100215db
push str.A1502779_6D88_4958_8AD3_83C12D86ADC7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp - 0x10], ebx
je 0x100215db
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
add eax, 0x13c
push str..dll
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10027e2b
add esp, 0xc
push ebx
sub esp, 0x10
lea eax, [ebp - 0xa4]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov byte [ebp - 4], 0x11
call fcn.10021d06
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x12
call fcn.10021df0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.1000101a
mov byte [ebp - 4], 0x11
call fcn.1000211b
lea eax, [ebp + 8]
push eax
call fcn.10003dfc
add esp, 0x20
mov edi, dword [eax]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
mov byte [ebp - 0x44], al
call fcn.1002376b
push edi
call fcn.10045c20
pop ecx
push eax
push edi
lea ecx, [ebp - 0x44]
call fcn.100243fe
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov byte [ebp - 4], 0x14
jne 0x10021675
mov eax, 0x10057508
lea ecx, [ebp - 0xa4]
push ecx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.10027f3a
add esp, 0xc
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x17
call fcn.1002376b
lea ecx, [ebp + 8]
call fcn.1001179b
mov dword [ebp - 0x14], ebx
mov ecx, dword [0x1006ce58]
cmp ecx, ebx
mov byte [ebp - 4], 0x18
je 0x100216bc
call fcn.10001a3c
mov edi, eax
jmp 0x100216be
xor edi, edi
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x64], al
call fcn.1002376b
push edi
call fcn.10045c20
pop ecx
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.100243fe
push 1
pop edi
push edi
push ebx
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x19
mov byte [ebp + 0xb], 0x5c
call fcn.1002359f
cmp eax, dword [0x1005750c]
je 0x10021720
push edi
push ebx
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp + 0xb], 0x5c
call fcn.1002359f
push dword [0x1005750c]
lea ecx, [ebp - 0x64]
push eax
call fcn.10021d89
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x100665a0
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x10021758
cmp dword [ebp - 0x14], ebx
je 0x10021752
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
cmp eax, ebx
mov esi, 0x10057508
jne 0x10021766
mov eax, esi
push eax
lea ecx, [ebp - 0x14]
call fcn.1000754a
mov eax, dword [ebp - 0x60]
cmp eax, ebx
jne 0x10021778
mov eax, esi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x14], ebx
je 0x10021793
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x1002179f
mov eax, dword [ecx]
push edi
call dword [eax]
mov eax, dword [ebp - 0xb0]
cmp eax, ebx
jne 0x100217ab
mov eax, esi
push eax
call fcn.10001ffc
pop ecx
push edi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x18
call fcn.1002376b
cmp dword [ebp - 0x14], ebx
je 0x100217d0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
push edi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x11
call fcn.1002376b
push edi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
call fcn.1002376b
cmp dword [ebp - 0x10], ebx
je 0x10021801
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.1002376b
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.1002376b
mov dword [ebp - 0x104], 0x10057620
mov byte [ebp - 4], 0x1a
push edi
lea ecx, [ebp - 0xc4]
call fcn.1002376b
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 1
call fcn.10009a6b
push edi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.1002376b
or dword [ebp - 4], 0xffffffff
push edi
lea ecx, [ebp - 0x84]
call fcn.1002376b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret