Function at 0x10101010
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.100d6220
mov dword [esi], vtable.CExtHomePage.0
call fcn.10003980
mov ecx, eax
test ecx, ecx
je 0x10101208
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0xc0], eax
call fcn.10003980
mov ecx, eax
test ecx, ecx
je 0x10101208
mov eax, dword [ecx]
push edi
lea edi, [esi + 0xc4]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
call fcn.10003980
mov ecx, eax
test ecx, ecx
je 0x10101208
mov eax, dword [ecx]
push ebx
lea ebx, [esi + 0xc8]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
call fcn.10003980
mov ecx, eax
test ecx, ecx
je 0x10101208
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0xcc], eax
call fcn.10003980
mov ecx, eax
test ecx, ecx
je 0x10101208
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0xd0], eax
lea eax, [ebp - 0x414]
push 0x208
push 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0
push eax
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
call fcn.102134e7
push 0x208
lea eax, [ebp - 0x20c]
mov dword [esi + 0xbc], 0
push 0
push eax
call fcn.102134e7
lea eax, [ebp - 0x418]
push 0x1021c5d8
push eax
call fcn.1000a140
push 0x103
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1020ed30
mov edx, dword [ebp - 0x418]
add esp, 0x30
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10100f44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str..._safemon
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10100f60
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10004050
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10100f87
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10004050
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10100fb0
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0xcc]
call fcn.10004050
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
jmp 0x10100fe0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10100fe0
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0xd0]
call fcn.10004050
push str.HomePageLib.dat
mov ecx, edi
call fcn.10002e50
push str.HPLib.dat
mov ecx, ebx
call fcn.10002e50
push str._bfhlib.dat
lea ecx, [esi + 0xcc]
call fcn.10002e50
push str.cfhlib.dat
lea ecx, [esi + 0xd0]
call fcn.10002e50
push dword [esi + 0xd0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10101061
lea eax, [esi + 0xd0]
mov ecx, esi
push eax
lea eax, [esi + 0xcc]
push eax
push ebx
push edi
call fcn.10101d60
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
add esp, 0xc
push 0x104
push eax
push dword [0x10256b30]
call ebx
push str..._safemon
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.SomProxy.dll
lea eax, [ebp - 0x20c]
push eax
push 0x1021b408
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1000bd10
lea eax, [ebp - 0x414]
push eax
call fcn.10103b80
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0x18
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
test eax, eax
je 0x10101136
push str.URLIsUsual
push eax
call edi
push str.OnSetHomePage
push dword [esi + 0xe4]
mov dword [esi + 0xe8], eax
call edi
push str.IsSupportSuperBlank
push dword [esi + 0xe4]
mov dword [esi + 0xec], eax
call edi
mov dword [esi + 0xf0], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.102134e7
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x10256b30]
call ebx
push str..._safemon
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.WdHPFileSafe.dll
lea eax, [ebp - 0x20c]
push eax
push 0x1021b408
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1000bd10
lea eax, [ebp - 0x414]
push eax
call fcn.10103b80
add esp, 0x18
mov dword [esi + 0xf4], eax
pop ebx
test eax, eax
je 0x101011db
push str.CreateHPCtrl
push eax
call edi
mov dword [esi + 0xf8], eax
test eax, eax
je 0x101011db
call eax
mov dword [esi + 0xfc], eax
mov ecx, dword [esi + 0xfc]
pop edi
test ecx, ecx
je 0x101011f7
mov edx, dword [ecx]
lea eax, [esi + 0x100]
push eax
push str.IHomePageSafeEx1
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10212f74
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100030c0
int3