Function at 0x415006
Capabilities:
Check if file exists
Create thread
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
mov eax, 0x4329c4
call fcn.0042f560
sub esp, 0xf14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0xf20], esi
xor edi, edi
mov dword [ebp - 0x430], edi
push dword [0x445398]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415088
mov eax, dword [esi + 0x20]
push str.4.0.0.6
push eax
call fcn.00421396
pop ecx
pop ecx
test eax, eax
jge 0x415088
lea eax, [ebp - 0x43c]
push eax
push edi
push edi
push 0x414ffc
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x430], eax
push edi
push 0x80
push 4
push edi
push 1
push 0xc0000000
push dword [0x445398]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, esi
call fcn.00415ab1
push 0x1e
push dword [ebp + 8]
mov ecx, dword [esi + 4]
call fcn.0041a8a4
lea eax, [esi + 0x2c]
push eax
lea eax, [esi + 0x38]
push eax
mov ecx, 0x4453a8
call fcn.0041b4da
mov word [ebp - 0x420], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x41e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x438], 0x104
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
push str.Check_Associations
mov ebx, str.softwareMicrosoftInternet_ExplorerMain
push ebx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x420]
push eax
mov edi, 0x43f03c
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x415132
push 4
push edi
push 1
push str.Check_Associations
push ebx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor edx, edx
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
cmp eax, 7
jl 0x415147
cmp eax, 9
jg 0x415147
push 1
pop edx
and word [ebp - 0x218], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 4], 0
push 0x103
lea eax, [ebp - 0x218]
push eax
push edx
call fcn.0040771a
add esp, 0xc
test eax, eax
je 0x4151ae
mov eax, dword [esi + 0x28]
mov dword [ebp - 0xea4], eax
push eax
lea eax, [ebp - 0x218]
push eax
push str.PriorDefBro
push 0x43f01c
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call ebx
jmp 0x4151b4
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
or dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 4]
xor edi, edi
cmp dword [eax + 8], edi
jne 0x415212
push dword [esi + 0x30]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41527d
mov word [ebp - 0x644], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x642]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push dword [esi + 0x30]
push str.__s___tp:10__v:1
push 0x103
lea eax, [ebp - 0x644]
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x644]
jmp 0x415274
mov eax, dword [esi + 0x20]
push str.4.0.0.0
push eax
call fcn.00421396
pop ecx
pop ecx
test eax, eax
jge 0x41527d
push dword [esi + 0x30]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41527d
mov word [ebp - 0x84c], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x84a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push dword [esi + 0x30]
push str.__s___tp:14
push 0x103
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0
push 0x4e20
push 0
lea eax, [ebp - 0x84c]
push eax
call fcn.00420ed0
add esp, 0x20
mov ecx, esi
call fcn.00415bc5
push 0x23
mov edi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 4]
call fcn.0041a8a4
push edi
mov ecx, esi
call fcn.0041632b
push 0x41
push edi
mov ecx, dword [esi + 4]
call fcn.0041a8a4
cmp dword [esi + 0x7c], 0
je 0x4152af
push 0
jmp 0x4152b1
push 1
mov ecx, esi
call fcn.00413ccc
push edi
mov ecx, esi
call fcn.00416b38
push 0x46
push edi
mov ecx, dword [esi + 4]
call fcn.0041a8a4
mov ecx, esi
call fcn.00418e91
mov ecx, esi
call fcn.00416e9f
push dword [esi + 0x28]
push 0xffffffffffffffff
push str.isinit
push 0x43efb8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x41530a
push dword [esi + 0x28]
mov edi, 0x43a628
push edi
push str.isinit
push 0x43f01c
call ebx
jmp 0x41530f
mov edi, 0x43a628
push dword [esi + 0x28]
push 0xffffffffffffffff
push str.isinit2
push 0x43efb8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x415339
push dword [esi + 0x28]
push edi
push str.isinit2
push 0x43f01c
call ebx
mov eax, dword [0x43a50c]
mov dword [ebp - 0x860], eax
push str.360seie6.ini
push str.360se
mov eax, dword [esi + 4]
push dword [eax + 0x18]
push str._s_s_s
lea eax, [ebp - 0x860]
push eax
call fcn.00409921
add esp, 0x14
push dword [ebp - 0x860]
mov ecx, esi
call fcn.00412b37
push dword [ebp - 0x860]
push 0xffffffffffffffff
push str.isinit
push 0x43efb8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x4153a5
push dword [ebp - 0x860]
push edi
push str.isinit
push 0x43f01c
call ebx
push dword [ebp - 0x860]
push 0xffffffffffffffff
push str.isinit2
push 0x43efb8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x4153d5
push dword [ebp - 0x860]
push edi
push str.isinit2
push 0x43f01c
call ebx
lea ecx, [ebp - 0x860]
call fcn.00404c0d
push 0x4b
push dword [ebp + 8]
mov ecx, dword [esi + 4]
call fcn.0041a8a4
mov ecx, esi
call fcn.004176c7
mov ecx, esi
call fcn.0041739a
cmp dword [esi + 0x9c], 0
jne 0x41546e
lea eax, [esi + 0x38]
push str.LoginEnrolLoginEnrol.dll
push eax
lea eax, [ebp - 0x864]
push eax
call fcn.0041a0ea
push str.FavoritesFavorites.dll
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x868]
push eax
call fcn.0041a0ea
push dword [ebp - 0x864]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415458
push dword [ebp - 0x868]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415458
push dword [ebp + 8]
mov ecx, esi
call fcn.00415eaa
lea ecx, [ebp - 0x868]
call fcn.00404c0d
lea ecx, [ebp - 0x864]
call fcn.00404c0d
mov ecx, esi
call fcn.00417c48
push 0x55
push dword [ebp + 8]
mov ecx, dword [esi + 4]
call fcn.0041a8a4
mov eax, dword [esi + 4]
cmp dword [eax + 8], 0
jle 0x4155ac
and word [ebp - 0xa74], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xa72]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x86c], 1
mov dword [ebp - 0xa78], 0x104
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0xa74]
push eax
lea eax, [ebp - 0x86c]
push eax
push str.DownProgID
push str.Software360360se3
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0xa74], 0
jne 0x4155a7
mov eax, dword [0x43a50c]
mov dword [ebp - 0xa7c], eax
push dword [esi + 0x2c]
push str._sextensionsExtDownloadExtDownload.ini
lea eax, [ebp - 0xa7c]
push eax
call fcn.00409921
add esp, 0xc
push dword [ebp - 0xa7c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41559c
and word [ebp - 0xc84], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xc82]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push dword [ebp - 0xa7c]
push 0x104
lea eax, [ebp - 0xc84]
push eax
push 0x443154
mov edi, str.DownProgID
push edi
push str.Download
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0xc84], 0
je 0x41559c
lea eax, [ebp - 0xc84]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [ebp - 0xc84]
push eax
push 1
push edi
push str.Software360360se3
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0xa7c]
call fcn.00404c0d
mov edi, 0x43a628
mov ecx, esi
call fcn.00413981
push 0x5a
push dword [ebp + 8]
mov ecx, dword [esi + 4]
call fcn.0041a8a4
mov ecx, esi
call fcn.00413b1a
mov ecx, esi
call fcn.00413bc1
push 0x5f
push dword [ebp + 8]
mov ecx, dword [esi + 4]
call fcn.0041a8a4
cmp dword [0x445304], 0
je 0x415705
push dword [esi + 0x28]
push edi
push str.UseSkin
push str.Main
call ebx
push dword [esi + 0x28]
push 0x43ee7c
push 0x43ee70
push str.Path
call ebx
push dword [esi + 0x28]
push edi
push str.IE6Mode
push str.option
call ebx
push dword [esi + 0x28]
push edi
push str.IsIE6Setup
push str.option
call ebx
mov eax, dword [0x43a50c]
mov dword [ebp - 0xe94], eax
push str.360seie6.ini
push str.360se
mov eax, dword [esi + 4]
push dword [eax + 0x18]
push str._s_s_s
lea eax, [ebp - 0xe94]
push eax
call fcn.00409921
add esp, 0x14
push dword [ebp - 0xe94]
mov ecx, esi
call fcn.00412b37
push dword [ebp - 0xe94]
push edi
push str.UseSkin
push str.Main
call ebx
push dword [ebp - 0xe94]
push str.IE6Default
push 0x43ee70
push str.Path
call ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.00415df9
and word [ebp - 0xe90], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xe8e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push dword [esi + 0x2c]
push str._sie6_mode
push 0x103
lea eax, [ebp - 0xe90]
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0
push 0x20
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0xe90]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4156fa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xe94]
call fcn.00404c0d
mov ecx, esi
call fcn.00418a24
push 0x64
push dword [ebp + 8]
mov ecx, dword [esi + 4]
call fcn.0041a8a4
xor edi, edi
cmp dword [ebp - 0x430], edi
je 0x415740
push 0x2710
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0x34
push str.LoginEnrolLoginEnrol.dll
push esi
lea eax, [ebp - 0x434]
push eax
call fcn.0041a0ea
push str.FavoritesFavorites.dll
push esi
lea eax, [ebp - 0x42c]
push eax
call fcn.0041a0ea
push dword [ebp - 0x434]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x415785
push dword [ebp - 0x42c]
call esi
test eax, eax
jne 0x4157a8
push 0x10
push dword [0x44462c]
push str.6e9Y
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push edi
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x42c]
call fcn.00404c0d
lea ecx, [ebp - 0x434]
call fcn.00404c0d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4