Function at 0x422734
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2618
call fcn.00432320
mov eax, dword [0x43b4ec]
push ebx
push esi
mov dword [ebp - 0xc], ecx
push edi
push 0x466094
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00404707
xor esi, esi
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0x2616]
mov word [ebp - 0x2618], si
mov word [ebp - 0x2b8], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x2b6]
mov ebx, 0x1000
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2618]
push ebx
push eax
mov edi, 0x104
lea eax, [ebp - 0x2b8]
push edi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], 1
push esi
mov ecx, dword [ebp - 0xc]
call fcn.004226c0
test al, al
je 0x422846
cmp word [ebp - 0x2b8], si
je 0x4227ff
lea eax, [ebp - 0x2b8]
push 0x4649e8
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x422842
lea eax, [ebp - 0x2618]
push str.1::http:__so.360.cn_s_q_ussrcse_addrieutf_8::s::http:__so.360.cn_
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x422842
inc dword [ebp - 4]
push 0x208
lea eax, [ebp - 0x2b8]
push esi
push eax
call sub.MSVCRT.dll_memset
push 0x2000
lea eax, [ebp - 0x2618]
push esi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 8]
add esp, 0x18
inc dword [ebp - 8]
lea ecx, [ebp - 0x2618]
push ebx
push ecx
lea ecx, [ebp - 0x2b8]
push edi
push ecx
push eax
jmp 0x4227b3
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 4], 1
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jg 0x422926
cmp dword [ebp - 4], esi
jne 0x42296b
push 0x55
mov esi, str.1::http:__www.google.com.hk_search_clientaff_cs_360seforid1ieutf_8oeUTF_8q_us::g::http:__www.google.com.hk_webhp_clientaff_cs_360seforid1ieutf_8oeUTF_8
pop ecx
lea edi, [ebp - 0x618]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x618]
push 0x156
push eax
push 1
push 0x4647f4
push str.Software360360se5defaultSearch
push SysReAllocString
movsw word es:[edi], word [esi]
call ebx
push 0x47
lea eax, [ebp - 0x4c0]
pop ecx
mov esi, str.1::http:__www.youdao.com_search_uegbkkeyfrom360se_06vendor360se_06q_s::y::http:__www.youdao.com_n__keyfrom360se_06vendor360se_06
push 0x11c
push eax
push 1
lea edi, [ebp - 0x4c0]
push 0x4646d0
push str.Software360360se5defaultSearch
rep movsd dword es:[edi], dword [esi]
push SysReAllocString
call ebx
push 0x3a
mov esi, str.1::http:__www.qihoo.com_wenda.php_kw_sdosearchnoqqsrc360liulanqi::q::http:__www.qihoo.com__src360liulanqi
pop ecx
lea edi, [ebp - 0x3a4]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3a4]
push 0xea
push eax
push 1
push 0x4645d8
push str.Software360360se5defaultSearch
push SysReAllocString
movsw word es:[edi], word [esi]
call ebx
push 0x27
lea eax, [ebp - 0xb0]
pop ecx
mov esi, str.1::http:__www.baidu.com_baidu_word_usieutf_8::b::http:__www.baidu.com_s
push 0x9c
push eax
push 1
lea edi, [ebp - 0xb0]
push 0x464534
push str.Software360360se5defaultSearch
rep movsd dword es:[edi], dword [esi]
push SysReAllocString
call ebx
mov dword [ebp - 4], 4
push 0x25
mov esi, str.1::http:__so.360.cn_s_q_ussrcse_addrieutf_8::s::http:__so.360.cn_
pop ecx
lea edi, [ebp - 0xa8]
lea eax, [ebp - 0xa8]
push 0x94
rep movsd dword es:[edi], dword [esi]
push eax
push 1
push 0x4649e8
mov esi, SysReAllocString
push str.Software360360se5defaultSearch
push esi
call ebx
lea eax, [ebp - 4]
push 4
push eax
push 4
push str.SelectSearch
push str.Software360360se5defaultoption
push esi
call ebx
lea ecx, [ebp - 0x10]
call fcn.00404beb
lea ecx, [ebp - 0x14]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret