Function at 0x405220
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530fee
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x581e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00409ea0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405268
push 0x80004005
call fcn.00404b40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x834], eax
mov dword [ebp - 4], 0
call fcn.00409ea0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40529b
push 0x80004005
call fcn.00404b40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x840], eax
mov byte [ebp - 4], 1
call fcn.00409ea0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4052cb
push 0x80004005
call fcn.00404b40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x84c], eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
mov byte [ebp - 4], 2
push edx
mov word [ebp - 0x218], cx
call fcn.0050f160
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405320
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x834]
call fcn.004049c0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
push 0x1a
lea edx, [ebp - 0x218]
push edx
push 0
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405360
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x840]
call fcn.004049c0
push 1
push 0x55e3b0
lea ecx, [ebp - 0x840]
call fcn.00408130
push 0
push 0x1c
lea ecx, [ebp - 0x218]
push ecx
push 0
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4053b0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x84c]
call fcn.004049c0
push 1
push 0x55e3b0
lea ecx, [ebp - 0x84c]
call fcn.00408130
call fcn.00409ea0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4053fe
push 0x80004005
call fcn.00404b40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x858], eax
push str.GoogleChromeUser_DataDefaultPreferences
lea ecx, [ebp - 0x84c]
push ecx
lea edx, [ebp - 0x848]
push edx
mov byte [ebp - 4], 3
call fcn.00408050
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x848]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40545e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40557d
cmp dword [ebp + 8], 0
push ecx
mov dword [ebp - 0x83c], esp
je 0x4054ef
mov ecx, esp
push str.ztmpPreferences
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 4
mov dword [ebp - 0x838], esp
push str.GoogleChromeUser_DataDefaultPreferences
lea ecx, [ebp - 0x84c]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.00405060
add esp, 4
mov edx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpSecure_Preferences
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 5
mov dword [ebp - 0x838], esp
push str.GoogleChromeUser_DataDefaultSecure_Preferences
lea edx, [ebp - 0x84c]
push edx
push ecx
jmp 0x405569
mov eax, esp
push str.ztmpwin7chomePreferences
lea ecx, [ebp - 0x834]
push ecx
push eax
call fcn.00408050
add esp, 8
mov edx, esp
mov byte [ebp - 4], 6
mov dword [ebp - 0x838], esp
push str.GoogleChromeUser_DataDefaultPreferences
lea eax, [ebp - 0x84c]
push eax
push edx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.00405060
add esp, 4
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpwin7chomeSecure_Preferences
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 7
mov dword [ebp - 0x838], esp
push str.GoogleChromeUser_DataDefaultSecure_Preferences
lea ecx, [ebp - 0x84c]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.00405060
add esp, 8
push str.2345chromeUser_DataDefaultPreferences
lea edx, [ebp - 0x84c]
push edx
lea eax, [ebp - 0x848]
push eax
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x848]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4055c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x405610
push ecx
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmp2345jiasuPreferences
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 8
mov dword [ebp - 0x838], esp
push str.2345chromeUser_DataDefaultPreferences
lea ecx, [ebp - 0x84c]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.00405060
add esp, 8
push str.TheWorld6User_DataDefaultPreferences
lea edx, [ebp - 0x84c]
push edx
lea eax, [ebp - 0x848]
push eax
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x848]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405654
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4056a3
push ecx
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmp_shijie6Preferences
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 9
mov dword [ebp - 0x838], esp
push str.TheWorld6User_DataDefaultPreferences
lea ecx, [ebp - 0x84c]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.00405060
add esp, 8
call fcn.00409ea0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4056bd
push 0x80004005
call fcn.00404b40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x854], eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x626]
mov byte [ebp - 4], 0xa
push edx
mov word [ebp - 0x628], cx
call fcn.0050f160
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x850]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall46AA30DF_ED7B_438a_9462_60AB9A6D57E4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x844], 1
mov dword [ebp - 0x848], 0x104
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x405844
lea ecx, [ebp - 0x848]
push ecx
mov ecx, dword [ebp - 0x850]
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0x844]
push eax
push 0
push str.UninstallString
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x405775
mov edx, dword [ebp - 0x850]
push edx
call esi
jmp 0x405844
mov eax, dword [ebp - 0x850]
push eax
call esi
lea eax, [ebp - 0x628]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405787
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x628]
push ecx
lea ecx, [ebp - 0x854]
call fcn.004049c0
push 0xa
push str.UnInst.exe
lea ecx, [ebp - 0x858]
call fcn.004049c0
mov edx, dword [ebp - 0x854]
mov eax, dword [edx - 0xc]
mov ecx, dword [ebp - 0x858]
sub eax, dword [ecx - 0xc]
lea edx, [ebp - 0x848]
push eax
push edx
lea ecx, [ebp - 0x854]
call fcn.00404120
push eax
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 0xb
call fcn.00404a70
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x848]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405816
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc
push str.TheWorld.ini
lea ecx, [ebp - 0x854]
call fcn.00408130
mov ecx, dword [ebp - 0x854]
push ecx
push str.http:__www.02995.com__tn100
push str.HomePage
push str.Option
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.UCBrowserUser_DataDefaultPreferences
lea edx, [ebp - 0x84c]
push edx
lea eax, [ebp - 0x848]
push eax
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x848]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405888
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4058d7
push ecx
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpucPreferences
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x838], esp
push str.UCBrowserUser_DataDefaultPreferences
lea ecx, [ebp - 0x84c]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], 0xa
call fcn.00405060
add esp, 8
call fcn.00409ea0
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4058f3
push 0x80004005
call fcn.00404b40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x848], eax
push 0x206
lea edx, [ebp - 0x82e]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x830], cx
call fcn.0050f160
add esp, 0xc
mov dword [ebp - 0x860], VariantCopyInd
mov dword [ebp - 0x85c], esi
lea eax, [ebp - 0x85c]
push eax
push 1
push esi
push str.SOFTWAREJuziBrowser
push SysReAllocString
mov byte [ebp - 4], 0xe
call ebx
test eax, eax
je 0x40595c
mov dword [ebp - 0x85c], esi
jmp 0x405a5a
mov eax, dword [ebp - 0x85c]
mov dword [ebp - 0x844], 0x104
mov dword [ebp - 0x850], 1
cmp eax, esi
je 0x40599c
lea ecx, [ebp - 0x844]
push ecx
lea edx, [ebp - 0x830]
push edx
lea ecx, [ebp - 0x850]
push ecx
push esi
push str.lastinstpath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x830]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4059a5
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x830]
push edx
lea ecx, [ebp - 0x848]
call fcn.004049c0
push str.User_DataDefaultBookmark.db
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x844]
push ecx
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x844]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405a0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x405a5a
push ecx
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpjuziBookmark.db
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x838], esp
push str.User_DataDefaultBookmark.db
lea ecx, [ebp - 0x848]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], 0xe
call fcn.00405060
add esp, 8
push str.TaoBrowserUser_DataDefaultPreferences
lea edx, [ebp - 0x84c]
push edx
lea eax, [ebp - 0x844]
push eax
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x844]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x405aed
push ecx
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmp_taobaoPreferences
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x838], esp
push str.TaoBrowserUser_DataDefaultPreferences
lea ecx, [ebp - 0x84c]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], 0xe
call fcn.00405060
add esp, 8
call fcn.00409ea0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405b07
push 0x80004005
call fcn.00404b40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x850], eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
mov bl, 0x11
mov byte [ebp - 4], bl
push edx
mov word [ebp - 0x420], cx
call fcn.0050f160
add esp, 0xc
lea eax, [ebp - 0x844]
push eax
push 1
push 0
push str.FirefoxHTMLDefaultIcon
push SysReAllocString
mov dword [ebp - 0x844], 0
mov dword [ebp - 0x83c], 1
mov dword [ebp - 0x838], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405cf2
lea ecx, [ebp - 0x838]
push ecx
mov ecx, dword [ebp - 0x844]
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x83c]
push eax
push 0
push 0x55fc1c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x405bbc
mov edx, dword [ebp - 0x844]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x405cf2
mov eax, dword [ebp - 0x844]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405bd2
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x850]
call fcn.004049c0
push 0xd
push str.firefox.exe_1
lea ecx, [ebp - 0x858]
call fcn.004049c0
mov edx, dword [ebp - 0x850]
mov eax, dword [edx - 0xc]
mov ecx, dword [ebp - 0x858]
sub eax, dword [ecx - 0xc]
lea edx, [ebp - 0x83c]
push eax
push edx
lea ecx, [ebp - 0x850]
call fcn.00404120
push eax
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 0x12
call fcn.00404a70
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.firefox.exe
lea ecx, [ebp - 0x850]
push ecx
lea edx, [ebp - 0x83c]
push edx
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ca4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x405cf2
push ecx
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpchannel_prefs.js
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x838], esp
push str.defaultsprefchannel_prefs.js
lea ecx, [ebp - 0x850]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 8
push str.Maxthon3UsersguestConfigconfig.dat
lea edx, [ebp - 0x840]
push edx
lea eax, [ebp - 0x83c]
push eax
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x405d84
push ecx
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmp_aoyouconfig.dat
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x838], esp
push str.Maxthon3UsersguestConfigconfig.dat
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 8
push str.liebaoUser_DataDefaultPreferences.1
lea edx, [ebp - 0x840]
push edx
lea eax, [ebp - 0x83c]
push eax
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405dc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x405e16
push ecx
mov ecx, esp
mov dword [ebp - 0x83c], esp
push 0x55eb30
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x838], esp
push str.liebaoUser_DataDefaultPreferences.1
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 8
push str.BaiduBaiduBrowseruser_datadefault_settingsuser_setting.db
lea edx, [ebp - 0x840]
push edx
lea eax, [ebp - 0x83c]
push eax
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x405ee4
cmp dword [ebp + 8], 0
push ecx
mov dword [ebp - 0x83c], esp
je 0x405ea1
mov ecx, esp
push str.ztmp_baiduuser_setting.db
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x838], esp
push str.BaiduBaiduBrowseruser_datadefault_settingsuser_setting.db
lea ecx, [ebp - 0x840]
push ecx
push eax
jmp 0x405ed1
mov edx, esp
push str.ztmpwin7_baiduuser_setting.db
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x838], esp
push str.BaiduBaiduBrowseruser_datadefault_settingsuser_setting.db
lea edx, [ebp - 0x840]
push edx
push ecx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 8
push str.Opera_SoftwareOpera_StablePreferences
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x83c]
push ecx
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405f28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x405fb2
cmp dword [ebp + 8], 0
push ecx
mov dword [ebp - 0x83c], esp
je 0x405f6f
mov ecx, esp
push str.ztmpoperaPreferences
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x838], esp
push str.Opera_SoftwareOpera_StablePreferences
lea ecx, [ebp - 0x840]
push ecx
push eax
jmp 0x405f9f
mov edx, esp
push str.ztmpwin7operaPreferences
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x838], esp
push str.Opera_SoftwareOpera_StablePreferences
lea edx, [ebp - 0x840]
push edx
push ecx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 8
push str.SogouExplorerconfig.xml
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x83c]
push ecx
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405ff6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x406485
cmp dword [ebp + 8], 0
push ecx
mov dword [ebp - 0x83c], esp
je 0x406243
mov ecx, esp
push str.ztmpSogouExplorercommcfg.xml
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x838], esp
push str.SogouExplorercommcfg.xml
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov edx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpSogouExplorerconfig.xml
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x838], esp
push str.SogouExplorerconfig.xml
lea edx, [ebp - 0x840]
push edx
push ecx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov eax, esp
mov dword [ebp - 0x83c], esp
push 0x55ee00
lea ecx, [ebp - 0x834]
push ecx
push eax
call fcn.00408050
add esp, 8
mov edx, esp
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x838], esp
push str.SogouExplorerExtension3.db
lea eax, [ebp - 0x840]
push eax
push edx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov ecx, esp
mov dword [ebp - 0x83c], esp
push 0x55ee80
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x838], esp
push str.SogouExplorerHistoryUrl3.db
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov edx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpSogouExplorerLocalStorage.db
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x838], esp
push str.SogouExplorerLocalStorage.db
lea edx, [ebp - 0x840]
push edx
push ecx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov eax, esp
mov dword [ebp - 0x83c], esp
push str.ztmpSogouExplorerMisc.db
lea ecx, [ebp - 0x834]
push ecx
push eax
call fcn.00408050
add esp, 8
mov edx, esp
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x838], esp
push str.SogouExplorerMisc.db
lea eax, [ebp - 0x840]
push eax
push edx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpSogouExplorerp4p.db
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x838], esp
push str.SogouExplorerp4p.db
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov edx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpSogouExplorerSogouCache.db
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x838], esp
push str.SogouExplorerSogouCache.db
lea edx, [ebp - 0x840]
push edx
push ecx
jmp 0x406472
mov eax, esp
push str.ztmpwin7SogouExplorercommcfg.xml
lea ecx, [ebp - 0x834]
push ecx
push eax
call fcn.00408050
add esp, 8
mov edx, esp
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x838], esp
push str.SogouExplorercommcfg.xml
lea eax, [ebp - 0x840]
push eax
push edx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpwin7SogouExplorerconfig.xml
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x838], esp
push str.SogouExplorerconfig.xml
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov edx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpwin7SogouExplorerExtension3.db
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x838], esp
push str.SogouExplorerExtension3.db
lea edx, [ebp - 0x840]
push edx
push ecx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov eax, esp
mov dword [ebp - 0x83c], esp
push str.ztmpwin7SogouExplorerHistoryUrl3.db
lea ecx, [ebp - 0x834]
push ecx
push eax
call fcn.00408050
add esp, 8
mov edx, esp
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x838], esp
push str.SogouExplorerHistoryUrl3.db
lea eax, [ebp - 0x840]
push eax
push edx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpwin7SogouExplorerLocalStorage.db
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x838], esp
push str.SogouExplorerLocalStorage.db
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov edx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpwin7SogouExplorerMisc.db
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x838], esp
push str.SogouExplorerMisc.db
lea edx, [ebp - 0x840]
push edx
push ecx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov eax, esp
mov dword [ebp - 0x83c], esp
push str.ztmpwin7SogouExplorerp4p.db
lea ecx, [ebp - 0x834]
push ecx
push eax
call fcn.00408050
add esp, 8
mov edx, esp
mov byte [ebp - 4], 0x28
mov dword [ebp - 0x838], esp
push str.SogouExplorerp4p.db
lea eax, [ebp - 0x840]
push eax
push edx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov ecx, esp
mov dword [ebp - 0x83c], esp
push str.ztmpwin7SogouExplorerSogouCache.db
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x29
mov dword [ebp - 0x838], esp
push str.SogouExplorerSogouCache.db
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 8
push str.2345ExplorerUsersDefaultSetting.cfg
lea edx, [ebp - 0x840]
push edx
lea eax, [ebp - 0x83c]
push eax
call fcn.00408050
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4064c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x406958
cmp dword [ebp + 8], 0
push ecx
mov dword [ebp - 0x838], esp
je 0x406716
mov ecx, esp
push 0x55f368
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x2a
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultSetting.cfg
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov edx, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiARUList.data
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultARUList.data
lea edx, [ebp - 0x840]
push edx
push ecx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov eax, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiBFAList.data
lea ecx, [ebp - 0x834]
push ecx
push eax
call fcn.00408050
add esp, 8
mov edx, esp
mov byte [ebp - 4], 0x2c
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultBFAList.data
lea eax, [ebp - 0x840]
push eax
push edx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov ecx, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiCrashUrl.data
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x2d
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultCrashUrl.data
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov edx, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiFormData.data
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x2e
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultFormData.data
lea edx, [ebp - 0x840]
push edx
push ecx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov eax, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiHistory.data
lea ecx, [ebp - 0x834]
push ecx
push eax
call fcn.00408050
add esp, 8
mov edx, esp
mov byte [ebp - 4], 0x2f
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultHistory.data
lea eax, [ebp - 0x840]
push eax
push edx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov ecx, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiSmartUrl.data
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x30
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultSmartUrl.data
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov edx, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiStatistics.data
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultStatistics.data
lea edx, [ebp - 0x840]
push edx
push ecx
jmp 0x406945
mov eax, esp
push str.ztmp2345wangpaiwin7Setting.cfg
lea ecx, [ebp - 0x834]
push ecx
push eax
call fcn.00408050
add esp, 8
mov edx, esp
mov byte [ebp - 4], 0x32
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultSetting.cfg
lea eax, [ebp - 0x840]
push eax
push edx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov ecx, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiwin7ARUList.data
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x33
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultARUList.data
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov edx, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiwin7BFAList.data
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x34
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultBFAList.data
lea edx, [ebp - 0x840]
push edx
push ecx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov eax, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiwin7CrashUrl.data
lea ecx, [ebp - 0x834]
push ecx
push eax
call fcn.00408050
add esp, 8
mov edx, esp
mov byte [ebp - 4], 0x35
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultCrashUrl.data
lea eax, [ebp - 0x840]
push eax
push edx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov ecx, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiwin7FormData.data
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x36
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultFormData.data
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov edx, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiwin7History.data
lea eax, [ebp - 0x834]
push eax
push edx
call fcn.00408050
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x37
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultHistory.data
lea edx, [ebp - 0x840]
push edx
push ecx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov eax, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiwin7SmartUrl.data
lea ecx, [ebp - 0x834]
push ecx
push eax
call fcn.00408050
add esp, 8
mov edx, esp
mov byte [ebp - 4], 0x38
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultSmartUrl.data
lea eax, [ebp - 0x840]
push eax
push edx
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 4
mov ecx, esp
mov dword [ebp - 0x838], esp
push str.ztmp2345wangpaiwin7Statistics.data
lea edx, [ebp - 0x834]
push edx
push ecx
call fcn.00408050
add esp, 8
mov eax, esp
mov byte [ebp - 4], 0x39
mov dword [ebp - 0x844], esp
push str.2345ExplorerUsersDefaultStatistics.data
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.00408050
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.00405060
add esp, 8
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x850]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40697e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x85c]
test eax, eax
je 0x40698f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x848]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4069b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x854]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4069db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x858]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x84c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x840]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x834]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ba00
mov esp, ebp
pop ebp
ret