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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52b4ec
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x597790]
xor eax, esp
mov dword [esp + 0x33c], eax
push ebx
push edi
mov eax, dword [0x597790]
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.004db584
push 0xffffffffffffffff
lea ecx, [esi + 0x54]
push ebx
mov dword [esp + 0x40], ecx
call fcn.004db584
push 0xffffffffffffffff
lea ecx, [esi + 0x68]
push ebx
mov dword [esp + 0x30], ecx
call fcn.004db584
call fcn.0041fa30
lea eax, [esp + 0x20]
push eax
push 9
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov dword [esp + 0x10], eax
call fcn.0040e2de
mov edi, str..CoreInternetExplorer.cpp
cmp dword [esp + 0x10], ebx
je 0x424e77
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.CCoreInternetExplorer::DetectSearchProviders
call fcn.00401769
mov dword [esp + 0x35c], ebx
push 0x239
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.00411585
mov dword [esp + 0x20], OleUIBusyA
call fcn.0041fa30
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.0040417b
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.0040e2de
cmp dword [esp + 0x10], ebx
je 0x424fb2
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.CCoreInternetExplorer::DetectSearchProviders
call fcn.00401769
mov byte [esp + 0x35c], 8
push 0x244
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.00404236
add esp, 0xc
mov byte [esp + 0x368], 0xa
push dword [esp + 0x20]
mov byte [esp + 0x36c], 7
call fcn.00411585
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.004f4e9c
mov esp, ebp
pop ebp
ret
mov edi, 0x100
mov dword [esp + 0x14], edi
call fcn.0041fa30
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.0040e2de
cmp dword [esp + 0x10], ebx
jne 0x425000
mov eax, dword [esp + 0x14]
dec eax
push eax
lea ecx, [esi + 0x34]
call fcn.004043a7
call fcn.0041fa30
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 0x4250f4
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 0x42509c
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 0x5466f8
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.004db9ba
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x144]
push edx
push eax
call fcn.004db9ba
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x244]
push edx
push eax
call fcn.004db9ba
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 0x425021
push dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [esp + 0x20]
call edi
call fcn.0040e2de
lea edi, [esi + 0x34]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x42517d
cmp dword [esi + 0x30], ebx
jle 0x42517d
mov eax, ebx
lea ecx, [esi + 0x40]
call fcn.004081b8
push eax
push edi
call fcn.0040429a
pop ecx
pop ecx
test al, al
jne 0x425153
inc ebx
cmp ebx, dword [esi + 0x30]
jl 0x425134
jmp 0x42517d
mov ecx, dword [esp + 0x38]
mov eax, ebx
call fcn.004081b8
mov ecx, dword [esp + 0x30]
push eax
call fcn.004044ef
mov ecx, dword [esp + 0x28]
mov eax, ebx
call fcn.004081b8
mov ecx, dword [esp + 0x2c]
push eax
call fcn.004044ef
xor ebx, ebx
inc ebx
jmp 0x424f7c