Function at 0x4877f0
Capabilities:
Get number of processors
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ad618
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4d25ac]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d25ac]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88]
xor eax, eax
mov word [esp + 0x18], ax
mov ebx, 7
xor edi, edi
push 0x33
mov eax, str.CInternetExplorer::SetDefaultSearchProvider___start
lea esi, [esp + 0x18]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
call fcn.00401f30
mov ecx, esi
push ecx
mov dword [esp + 0x84], edi
call fcn.00403780
add esp, 4
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x487880
mov edx, dword [esp + 0x18]
push edx
call fcn.00491101
add esp, 4
push edi
push 0x4d41f0
push 0x4d4188
push edi
push ebp
call fcn.004abc04
mov ebp, eax
xor eax, eax
add esp, 0x14
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
lea esi, [esp + 0x14]
mov word [esp + 0x18], ax
cmp ebp, edi
jne 0x4878ee
push 0x5a
mov eax, str.CInternetExplorer::SetDefaultSearchProvider___failed_to_dynamic_cast_to_CIESearchProvider.
call fcn.00401f30
mov ecx, esi
push ecx
mov dword [esp + 0x84], 1
call fcn.00403780
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x4878e4
mov edx, dword [esp + 0x18]
push edx
call fcn.00491101
add esp, 4
mov eax, 5
jmp 0x487acb
push 0x32
mov eax, str.CInternetExplorer::SetDefaultSearchProvider___GUID
call fcn.00401f30
lea ecx, [esp + 0x14]
lea ebx, [ebp + 0x90]
push ecx
mov ecx, ebx
mov dword [esp + 0x84], 2
call fcn.004035d0
add esp, 4
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x487939
mov edx, dword [esp + 0x18]
push edx
call fcn.00491101
add esp, 4
xor eax, eax
cmp dword [ebp + 0xa4], edi
jne 0x487998
mov word [esp + 0x18], ax
push 0x3e
mov eax, str.CInternetExplorer::SetDefaultSearchProvider___GUID_is_empty___
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
call fcn.00401f30
mov ecx, esi
push ecx
mov dword [esp + 0x84], 3
call fcn.00403780
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x48798e
mov edx, dword [esp + 0x18]
push edx
call fcn.00491101
add esp, 4
mov eax, 0xd
jmp 0x487acb
mov word [esp + 0x5c], ax
push 0x31
mov eax, str.SoftwareMicrosoftInternet_ExplorerSearchScopes
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], edi
call fcn.00401f30
mov dword [esp + 0x80], 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov byte [esp + 0x80], 5
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x4879e3
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x38]
push ecx
push 0x2001f
push edi
push eax
push SysReAllocString
mov dword [esp + 0x4c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
cmp ebp, edi
jne 0x487a5d
mov esi, dword [esp + 0x38]
xor ebp, ebp
cmp dword [ebx + 0x18], 8
mov dword [esp + 0x30], esi
jb 0x487a19
mov ebx, dword [ebx + 4]
jmp 0x487a1c
add ebx, 4
xor eax, eax
cmp ebx, edi
setne al
cmp eax, edi
je 0x487a43
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push ebx
push 1
push edi
push str.DefaultScope
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
cmp esi, edi
je 0x487a59
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
xor eax, eax
mov word [esp + 0x40], ax
push 0x35
mov eax, str.CInternetExplorer::SetDefaultSearchProvider___end_err
lea esi, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
call fcn.00401f30
mov ecx, ebp
mov byte [esp + 0x80], 6
call fcn.00403270
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x487aa7
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00491101
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x487ab6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x70], esi
jb 0x487ac9
mov edx, dword [esp + 0x5c]
push edx
call fcn.00491101
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0049110c
add esp, 0x70
ret 4