Function at 0x10001040
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
push edi
mov edi, 0x200
mov dword [esp + 0x14], edi
call fcn.10001010
test eax, eax
jne 0x1000106b
mov ebx, str.http:__client.jogo.cn_cdn_browser_sidesearch_sidesearch_cn.html
mov dword [esp + 0x18], str.http:__client.jogo.cn_cdn_browser_customsearch_customsearch_cn.html
jmp 0x1000108c
cmp eax, 1
jne 0x1000107f
mov ebx, str.http:__client.jogo.cn_cdn_browser_sidesearch_sidesearch_tw.html
mov dword [esp + 0x18], str.http:__client.jogo.cn_cdn_browser_customsearch_customsearch_tw.html
jmp 0x1000108c
mov ebx, str.http:__client.jogo.cn_cdn_browser_sidesearch_sidesearch_en.html
mov dword [esp + 0x18], str.http:__client.jogo.cn_cdn_browser_customsearch_customsearch_en.html
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push 0x80000001
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10001153
mov al, byte [esp + 0x220]
test al, al
je 0x10001109
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0
push str.Search_Bar
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10001148
lea ecx, [esp + 0x1c]
push str.Search_Bar
push ecx
call fcn.10001360
add esp, 8
push str.SOFTWAREMicrosoftInternet_ExplorerMainSearch_Bar
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x10001148
lea edx, [esp + 0x1c]
push str.Search_Bar
push edx
call fcn.100013d0
add esp, 8
test al, al
je 0x10001148
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.Search_Bar
push ecx
call ebp
mov edi, 0x200
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerSearch
push 0x80000002
call esi
test eax, eax
jne 0x10001348
mov al, byte [esp + 0x220]
test al, al
je 0x1000126e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0
push str.SearchAssistant
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100011ba
lea ecx, [esp + 0x1c]
push str.SearchAssistant
push ecx
call fcn.10001360
add esp, 8
mov dword [esp + 0x14], edi
mov edi, 0x100098c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.CustomizeSearch
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10001218
lea ecx, [esp + 0x1c]
push str.CustomizeSearch
push ecx
call fcn.10001360
add esp, 8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push 1
push eax
push str.SearchAssistant
push edx
call ebp
mov edx, dword [esp + 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push str.CustomizeSearch
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20c
ret
lea edx, [esp + 0x1c]
push str.SearchAssistant
push edx
xor bl, bl
call fcn.100013d0
add esp, 8
test al, al
je 0x100012ac
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.SearchAssistant
push ecx
call ebp
mov bl, 1
lea edx, [esp + 0x1c]
push str.CustomizeSearch
push edx
call fcn.100013d0
add esp, 8
test al, al
je 0x100012fe
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.CustomizeSearch
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20c
ret
test bl, bl
jne 0x100012e6
mov edx, dword [esp + 0x10]
push 0
push 0x100098c0
push 1
push 0
push str.SearchAssistant
push edx
call ebp
mov eax, dword [esp + 0x10]
push 0
push 0x100098c0
push 1
push 0
push str.CustomizeSearch
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20c
ret