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

Disassembly:
mov eax, 0x100c046c
call fcn.100a35ac
sub esp, 0x838
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, 0x10115ed0
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.FCTB000059099.IEToolbar
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.1000586e
cmp dword [ebp - 0x5c], 0x10
mov eax, dword [ebp - 0x70]
mov byte [ebp - 4], 3
jae 0x10040865
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000c7a3
push 0x100d3224
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.100027e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10023d81
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
cmp ecx, ebx
je 0x100408a3
call fcn.10003111
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
cmp byte [ebp + 8], bl
je 0x10040aea
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x100408c1
mov eax, dword [eax]
jmp 0x100408c3
xor eax, eax
push ebx
push ebx
mov edi, 0x2001f
push edi
push ebx
push ebx
push eax
mov esi, SysReAllocString
push esi
lea ecx, [ebp - 0x18]
call fcn.100014a4
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0x100cb0a0
call fcn.1003e0f0
push ebx
push dword [0x10115fd4]
lea ecx, [ebp - 0x18]
push str.CLSID
call fcn.1003e0f0
lea ecx, [ebp - 0x18]
call fcn.10001489
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10040914
mov eax, dword [eax]
jmp 0x10040916
xor eax, eax
push ebx
push ebx
push edi
push ebx
push ebx
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.100014a4
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0x100cb0a0
call fcn.1003e0f0
push ebx
push dword [0x10115fd4]
lea ecx, [ebp - 0x18]
push str.CLSID
call fcn.1003e0f0
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x10040955
mov eax, dword [eax]
jmp 0x10040957
xor eax, eax
push ebx
push eax
push str.CurVer
lea ecx, [ebp - 0x18]
call fcn.1003e0f0
lea ecx, [ebp - 0x18]
call fcn.10001489
push ebx
push ebx
push edi
push ebx
push ebx
push str.CLSID
push esi
lea ecx, [ebp - 0x18]
call fcn.100014a4
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push dword [0x10115fd4]
call fcn.1003e0f0
lea ecx, [ebp - 0x18]
call fcn.10001489
push str.CLSID_
lea ecx, [ebp - 0x1c]
call fcn.100027e0
push dword [0x10115fd4]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.100027e0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.1000cf9b
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 9
cmp ecx, ebx
je 0x100409da
call fcn.10003111
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x100409e5
mov eax, dword [eax]
jmp 0x100409e7
xor eax, eax
push ebx
push ebx
push edi
push ebx
push ebx
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.100014a4
test eax, eax
jne 0x10040a16
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x10040a05
mov eax, dword [eax]
jmp 0x10040a07
xor eax, eax
push ebx
push eax
push str.ProgID
lea ecx, [ebp - 0x18]
call fcn.1003e0f0
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10040a21
mov eax, dword [eax]
jmp 0x10040a23
xor eax, eax
push ebx
push eax
push str.VersionIndependentProgID
lea ecx, [ebp - 0x18]
call fcn.1003e0f0
push str.D89B2F88_7DAD_4B7B_98A5_DEB146EF3FC6
lea ecx, [ebp - 0x24]
call fcn.10036d26
mov eax, dword [eax]
push ebx
push eax
push 0x100ca8ac
lea ecx, [ebp - 0x18]
call fcn.1003e0f0
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10001d29
push 0x3e8
lea eax, [ebp - 0x844]
push eax
push dword [0x1011855c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x20]
call fcn.10005f07
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.1000357f
push ebx
push eax
mov esi, str.InprocServer32
push esi
lea ecx, [ebp - 0x18]
call fcn.1003e0f0
push str.ThreadingModel
push str.Apartment
push esi
lea ecx, [ebp - 0x18]
call fcn.1003e0f0
lea ecx, [ebp - 0x18]
call fcn.10001489
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x10040ad4
call fcn.10003111
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.10001489
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x10040bdb
push ebx
push ebx
mov edi, 0x2001f
push edi
push ebx
push ebx
push str.CLSID_
mov esi, SysReAllocString
push esi
lea ecx, [ebp - 0x18]
call fcn.100014a4
push dword [0x10115fd4]
lea ecx, [ebp - 0x18]
call fcn.1000268d
push dword [0x10115fd4]
lea ecx, [ebp - 0x18]
call fcn.1000142e
lea ecx, [ebp - 0x18]
call fcn.10001489
push edi
push ebx
push esi
lea ecx, [ebp - 0x18]
call fcn.100014fe
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x10040b41
mov eax, dword [eax]
jmp 0x10040b43
xor eax, eax
push eax
lea ecx, [ebp - 0x18]
call fcn.1000268d
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x10040b57
mov eax, dword [eax]
jmp 0x10040b59
xor eax, eax
push eax
lea ecx, [ebp - 0x18]
call fcn.1000142e
lea ecx, [ebp - 0x18]
call fcn.10001489
push edi
push ebx
push esi
lea ecx, [ebp - 0x18]
call fcn.100014fe
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10040b80
mov eax, dword [eax]
jmp 0x10040b82
xor eax, eax
push eax
lea ecx, [ebp - 0x18]
call fcn.1000268d
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10040b96
mov eax, dword [eax]
jmp 0x10040b98
xor eax, eax
push eax
lea ecx, [ebp - 0x18]
call fcn.1000142e
lea ecx, [ebp - 0x18]
call fcn.10001489
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsUser_AgentPost_Platform
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
lea ecx, [ebp - 0x18]
call fcn.100014fe
push 0x100cb0a0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x18]
call fcn.10001489
lea ecx, [ebp - 0x18]
call fcn.10001489
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_LOCALMACHINE_LOCKDOWN
push SysReAllocString
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x28], ebx
je 0x10040c30
cmp byte [ebp + 8], bl
je 0x10040c22
push 4
lea eax, [ebp - 0x48]
push eax
push 4
push ebx
push 0x100d2fcc
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10040c30
push 0x100d2fcc
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerToolbar
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp byte [ebp + 8], bl
je 0x10040c75
push 1
lea eax, [ebp - 0x2d]
push eax
push 3
push ebx
push dword [0x10115fd4]
mov byte [ebp - 0x2d], bl
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10040c84
push dword [0x10115fd4]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 8], bl
jne 0x10040f22
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
push edi
push str.SoftwareMicrosoftInternet_ExplorerSearch
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call fcn.100014fe
mov esi, 0x100cb0a0
cmp eax, ebx
jne 0x10040d2d
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push esi
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push esi
mov byte [ebp - 4], 0xd
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.OldAssitant1
mov byte [ebp - 4], 0xe
call fcn.10005f07
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xc
call fcn.1003fd77
add esp, 0x10
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.1000357f
push 0xffffffffffffffff
push ebx
push str.SearchAssistant
push eax
lea ecx, [ebp - 0x3c]
call fcn.1003e05e
lea ecx, [ebp - 0x3c]
call fcn.10001489
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.10001d29
push edi
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
lea ecx, [ebp - 0x3c]
call fcn.100014fe
cmp eax, ebx
jne 0x10040f1a
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push esi
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push esi
mov byte [ebp - 4], 0x10
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.OldAssitant5
mov byte [ebp - 4], 0x11
call fcn.10005f07
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xc
call fcn.1003fd77
add esp, 0x10
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.1000357f
or edi, 0xffffffff
push edi
push ebx
push str.Use_Search_Asst
push eax
lea ecx, [ebp - 0x3c]
call fcn.1003e05e
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push esi
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push esi
mov byte [ebp - 4], 0x13
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.OldAssitant2
mov byte [ebp - 4], 0x14
call fcn.10005f07
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x12
call fcn.1003fd77
add esp, 0x10
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call fcn.10004a20
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x12
call fcn.10001d29
push ebx
lea ecx, [ebp - 0x1c]
call fcn.1000357f
push edi
push ebx
push str.Search_Page
push eax
lea ecx, [ebp - 0x3c]
call fcn.1003e05e
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push esi
mov byte [ebp - 4], 0x16
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.OldAssitant3
mov byte [ebp - 4], 0x17
call fcn.10005f07
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x12
call fcn.1003fd77
add esp, 0x10
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call fcn.10004a20
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x12
call fcn.10001d29
push ebx
lea ecx, [ebp - 0x1c]
call fcn.1000357f
push edi
push ebx
push str.Search_Bar
push eax
lea ecx, [ebp - 0x3c]
call fcn.1003e05e
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push esi
mov byte [ebp - 4], 0x19
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.OldAssitant4
mov byte [ebp - 4], 0x1a
call fcn.10005f07
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x12
call fcn.1003fd77
add esp, 0x10
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1b
call fcn.10004a20
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x12
call fcn.10001d29
push ebx
lea ecx, [ebp - 0x1c]
call fcn.1000357f
push edi
push ebx
push str.SearchAssistant
push eax
lea ecx, [ebp - 0x3c]
call fcn.1003e05e
lea ecx, [ebp - 0x3c]
call fcn.10001489
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
lea ecx, [ebp - 0x3c]
call fcn.10001489
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x10040f31
call fcn.10003111
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x10040f40
call fcn.10003111
mov dword [ebp - 0x2c], ebx
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.10003516
push 0x10115ed0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret