Function at 0x4248d8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52804b
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x5937d0]
xor eax, esp
mov dword [esp + 0x33c], eax
push ebx
push edi
mov eax, dword [0x5937d0]
xor eax, esp
push eax
lea eax, [esp + 0x350]
mov dword fs:[0], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
xor ebx, ebx
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], ebx
call fcn.0040154d
lea ecx, [esi + 0x38]
mov dword [esp + 0x30], ecx
call fcn.0040154d
lea ecx, [esi + 0x3c]
mov dword [esp + 0x2c], ecx
call fcn.0040154d
push 0xffffffffffffffff
lea ecx, [esi + 0x40]
push ebx
call fcn.004d8e72
push 0xffffffffffffffff
lea ecx, [esi + 0x54]
push ebx
mov dword [esp + 0x40], ecx
call fcn.004d8e72
push 0xffffffffffffffff
lea ecx, [esi + 0x68]
push ebx
mov dword [esp + 0x30], ecx
call fcn.004d8e72
call fcn.0041f8eb
lea eax, [esp + 0x20]
push eax
push 9
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov dword [esp + 0x10], eax
call fcn.0040e1fe
mov edi, str..CoreInternetExplorer.cpp
cmp dword [esp + 0x10], ebx
je 0x4249f6
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.CCoreInternetExplorer::DetectSearchProviders
call fcn.00401769
mov dword [esp + 0x35c], ebx
push 0x1f0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.00401769
mov byte [esp + 0x364], 1
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.RegOpenCurrentUser_failed_
call fcn.00401769
mov byte [esp + 0x368], 2
push dword [esp + 0x20]
or dword [esp + 0x36c], 0xffffffff
call fcn.004114a5
mov dword [esp + 0x20], SysReAllocStringLen
call fcn.0041f8eb
push str.SearchScopes
lea ecx, [esp + 0x38]
call fcn.00401769
mov dword [esp + 0x18], eax
mov dword [esp + 0x358], 3
push str.SoftwareMicrosoftInternet_Explorer
lea ecx, [esp + 0x14]
call fcn.00401769
mov byte [esp + 0x358], 4
push dword [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0040414a
add esp, 0xc
mov byte [esp + 0x358], 6
lea ecx, [esp + 0x10]
call fcn.00401898
mov byte [esp + 0x358], 7
lea ecx, [esp + 0x34]
call fcn.00401898
lea eax, [esp + 0x1c]
push eax
push 9
push ebx
push dword [esp + 0x30]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x10], eax
call fcn.0040e1fe
cmp dword [esp + 0x10], ebx
je 0x424b31
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.CCoreInternetExplorer::DetectSearchProviders
call fcn.00401769
mov byte [esp + 0x35c], 8
push 0x1fb
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.00401769
mov byte [esp + 0x364], 9
push ecx
mov eax, esp
mov dword [esp + 0x40], esp
lea ecx, [esp + 0x34]
push ecx
push str.Failed_to_get_search_scopes_key:
push eax
call fcn.00404205
add esp, 0xc
mov byte [esp + 0x368], 0xa
push dword [esp + 0x20]
mov byte [esp + 0x36c], 7
call fcn.004114a5
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [esp + 0x358], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00401898
mov eax, ebx
mov ecx, dword [esp + 0x350]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x33c]
xor ecx, esp
call fcn.004f2b62
mov esp, ebp
pop ebp
ret
mov edi, 0x100
mov dword [esp + 0x14], edi
call fcn.0041f8eb
push dword [esp + 0x14]
lea ecx, [esi + 0x34]
call fcn.00401673
lea ecx, [esp + 0x14]
push ecx
push eax
push ebx
push ebx
push str.DefaultScope
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x10], eax
call fcn.0040e1fe
cmp dword [esp + 0x10], ebx
jne 0x424b7f
mov eax, dword [esp + 0x14]
dec eax
push eax
lea ecx, [esi + 0x34]
call fcn.00404376
call fcn.0041f8eb
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x30], ebx
push ebx
jmp 0x424c73
lea eax, [esp + 0x10]
push eax
push 1
push ebx
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x158], bl
mov byte [esp + 0x258], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424c1b
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x148]
push eax
push ebx
push ebx
push str.DisplayName
push dword [esp + 0x24]
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x248]
push eax
push ebx
push ebx
push 0x543614
push dword [esp + 0x24]
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi + 0x40]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x44]
push edx
push eax
call fcn.004d92a8
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x144]
push edx
push eax
call fcn.004d92a8
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x244]
push edx
push eax
call fcn.004d92a8
inc dword [esi + 0x30]
inc dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x30]
push dword [esp + 0x38]
mov byte [esp + 0x64], bl
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x424ba0
push dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [esp + 0x20]
call edi
call fcn.0040e1fe
lea edi, [esi + 0x34]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x424cfc
cmp dword [esi + 0x30], ebx
jle 0x424cfc
mov eax, ebx
lea ecx, [esi + 0x40]
call fcn.004081a2
push eax
push edi
call fcn.00404269
pop ecx
pop ecx
test al, al
jne 0x424cd2
inc ebx
cmp ebx, dword [esi + 0x30]
jl 0x424cb3
jmp 0x424cfc
mov ecx, dword [esp + 0x38]
mov eax, ebx
call fcn.004081a2
mov ecx, dword [esp + 0x30]
push eax
call fcn.004044be
mov ecx, dword [esp + 0x28]
mov eax, ebx
call fcn.004081a2
mov ecx, dword [esp + 0x2c]
push eax
call fcn.004044be
xor ebx, ebx
inc ebx
jmp 0x424afb