Function at 0x420750
Capabilities:
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3818
call fcn.00431de0
and word [ebp - 0x818], 0
push ebx
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x816]
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x3ff
push str._sdefaultoption
lea eax, [ebp - 0x818]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov esi, str.AutoType
push dword [ebp + 8]
push 1
push esi
push str.option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
push 4
lea eax, [ebp - 0x818]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, SysReAllocString
push eax
push ebx
call esi
and word [ebp - 0x2818], 0
mov ecx, edi
xor eax, eax
lea edi, [ebp - 0x2816]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2818]
push 0x800
push eax
push str.SiteAlias
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x4208fe
and word [ebp - 0x1018], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1016]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultSiteAlias
lea eax, [ebp - 0x1018]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x2818]
lea edi, [ebp - 0x2818]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4208fe
push edi
lea ecx, [ebp - 0xc]
call fcn.00404707
push 0
push 0x43b588
lea ecx, [ebp - 0xc]
call fcn.00404a42
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0xc]
push eax
call fcn.004047b8
mov eax, dword [0x43b4ec]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax - 8], ecx
jle 0x4208d5
mov eax, dword [eax - 8]
sub eax, ecx
lea ecx, [ebp - 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404803
push eax
lea ecx, [ebp - 4]
call fcn.00404768
lea ecx, [ebp - 0x18]
call fcn.00404beb
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
lea eax, [ebp - 0x1018]
push dword [ebp - 0x10]
push eax
push ebx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 4]
lea edi, [edi + eax*2 + 2]
call fcn.00404beb
lea ecx, [ebp - 0x10]
call fcn.00404beb
lea ecx, [ebp - 0xc]
call fcn.00404beb
push edi
jmp 0x42084d
push dword [ebp + 8]
push 0
push str.SearchSel
push str.option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
push 4
lea eax, [ebp - 0x818]
push str.SelectSearch
push eax
push ebx
call esi
push dword [ebp + 8]
mov edi, str.SearchKeyWord
push 1
push edi
push str.option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
push 4
lea eax, [ebp - 0x818]
push edi
push eax
push ebx
call esi
and word [ebp - 0x3818], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x3816]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x3818]
push 0x800
push eax
push str.Search
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x420a8a
and word [ebp - 0x1818], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1816]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultSearch
lea eax, [ebp - 0x1818]
push 0x7ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x3818]
lea edi, [ebp - 0x3818]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x420a8a
push edi
lea ecx, [ebp + 8]
call fcn.00404707
push 0
push 0x43b588
lea ecx, [ebp + 8]
call fcn.00404a42
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0x10]
lea ecx, [ebp + 8]
push eax
call fcn.004047b8
mov eax, dword [0x43b4ec]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 8], ecx
jle 0x420a61
mov eax, dword [eax - 8]
sub eax, ecx
lea ecx, [ebp + 8]
dec eax
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404803
push eax
lea ecx, [ebp - 4]
call fcn.00404768
lea ecx, [ebp - 0x14]
call fcn.00404beb
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
lea eax, [ebp - 0x1818]
push dword [ebp - 0x10]
push eax
push ebx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 4]
lea edi, [edi + eax*2 + 2]
call fcn.00404beb
lea ecx, [ebp - 0x10]
call fcn.00404beb
lea ecx, [ebp + 8]
call fcn.00404beb
push edi
jmp 0x4209d9
pop edi
pop esi
pop ebx
leave
ret 4