Function at 0x412e50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509608
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x5490a4]
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
mov esi, ecx
mov edi, dword [ebp + 8]
lea edx, [ebp - 0xc4]
push edx
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
push str.OnPromptlySetup
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00415ba0
push eax
call fcn.0048fe75
add esp, 8
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0xc4]
sete bl
call fcn.00415380
test bl, bl
je 0x412ed8
mov ecx, esi
call fcn.004133c0
jmp 0x413170
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.OnProtocolLink
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00415ba0
push eax
call fcn.0048fe75
add esp, 8
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0xc4]
sete bl
call fcn.00415380
test bl, bl
je 0x412f53
lea ecx, [ebp - 0x110]
call fcn.00401de0
push str.http:__pcsoft.eastday.com_xc_xieyi.html
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 2
call fcn.004029c0
lea ecx, [ebp - 0x110]
call fcn.00402390
jmp 0x413170
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.OnPrivacyLink
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00415ba0
push eax
call fcn.0048fe75
add esp, 8
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0xc4]
sete bl
call fcn.00415380
test bl, bl
je 0x412fa8
mov ecx, esi
call fcn.00413340
jmp 0x413170
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.OnBrowsePath
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.00415ba0
push eax
call fcn.0048fe75
add esp, 8
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0xc4]
sete bl
call fcn.00415380
test bl, bl
je 0x412ffd
mov ecx, esi
call fcn.00412ab0
jmp 0x413170
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.welcomebar_more
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.00415ba0
push eax
call fcn.0048fe75
add esp, 8
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0xc4]
sete bl
call fcn.00415380
test bl, bl
je 0x413069
mov ecx, dword [esi + 0x77c]
test ecx, ecx
je 0x413170
call fcn.00432200
movzx eax, al
mov ecx, esi
push eax
call fcn.00413410
jmp 0x413170
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CanAgreeProtocol
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.00415ba0
push eax
call fcn.0048fe75
add esp, 8
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0xc4]
sete bl
call fcn.00415380
test bl, bl
je 0x413170
mov ecx, dword [esi + 0x76c]
call fcn.00432200
test al, al
jne 0x4130e2
mov ecx, dword [esi + 0x768]
test ecx, ecx
je 0x413170
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
jmp 0x413170
mov ecx, dword [esi + 0x778]
lea edx, [ebp - 0x194]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.00415ba0
push eax
lea ecx, [ebp - 0x40]
call fcn.00401d80
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 9
call fcn.00415380
push 3
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406fb0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esi + 0x768]
test eax, eax
je 0x413152
test ecx, ecx
je 0x413160
push 1
jmp 0x413158
test ecx, ecx
je 0x413160
push 0
mov eax, dword [ecx]
call dword [eax + 0xe0]
lea ecx, [ebp - 0x28]
call fcn.004022f0
lea ecx, [ebp - 0x40]
call fcn.004022f0
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.00413c46
mov esp, ebp
pop ebp
ret 4