Function at 0x4ea150
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5a9c4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x440
mov eax, dword [esp + 0x450]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x69
mov dword [esp + 0x2c], esi
call fcn.00582a11
mov ecx, dword [0x65ca8c]
lea ebp, [esi + 0x60]
mov dword [esp + 0x458], 0
mov dword [ebp], ecx
mov byte [esp + 0x458], 1
mov dword [esi], method.CDialog.virtual_0
mov dword [esi + 0x5c], 1
call fcn.00590d5c
push 0
push str.TipStartUp
call fcn.0046c180
neg eax
sbb eax, eax
push 0
inc eax
push str.TipFilePos
mov dword [esi + 0x5c], eax
call fcn.0046c180
add esp, 0x10
lea ecx, [esp + 0x14]
mov ebx, eax
push str.tips.txt
call fcn.00586ba1
mov eax, dword [0x6613f8]
mov byte [esp + 0x458], 2
test eax, eax
je 0x4ea229
mov edx, dword [0x6613d4]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4ea229
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4ea229
push 0x6613d4
lea ecx, [esp + 0x18]
call fcn.00586c6c
jmp 0x4ea288
lea edx, [esp + 0x14c]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4ea288
lea eax, [esp + 0x250]
lea ecx, [esp + 0x350]
push eax
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x158]
push eax
push ecx
call fcn.0056b52c
add esp, 0x14
lea edx, [esp + 0x4c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
push eax
push str._s_stips.txt
push ecx
call fcn.0057f8fb
add esp, 0x10
mov edx, dword [esp + 0x14]
push 0x639060
push edx
call fcn.0056bf3f
add esp, 8
mov dword [esi + 0x64], eax
test eax, eax
jne 0x4ea2fd
mov eax, dword [0x6613f8]
push 0x6d
test eax, eax
je 0x4ea2f1
lea eax, [esp + 0x14]
mov ecx, 0x6613d0
push eax
call fcn.0049c520
push eax
mov ecx, ebp
mov byte [esp + 0x45c], 3
call fcn.00586c6c
lea ecx, [esp + 0x10]
mov byte [esp + 0x458], 2
call fcn.00586b33
mov edi, dword [ebp]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4ea441
push 0x6d
mov ecx, ebp
call fcn.00588173
jmp 0x4ea441
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.0056da01
lea eax, [esp + 0x50]
push eax
call fcn.0056d71b
add esp, 0xc
lea ecx, [esp + 0x18]
push eax
call fcn.00586ba1
lea ecx, [esp + 0x18]
mov byte [esp + 0x458], 4
call fcn.0057f90e
push 0
lea ecx, [esp + 0x20]
push str.TipTimeStamp
push ecx
call fcn.0046c1c0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
mov byte [esp + 0x46c], 5
call fcn.0056bf52
add esp, 0x14
test eax, eax
je 0x4ea376
mov ecx, dword [esp + 0x18]
xor ebx, ebx
push ecx
push str.TipTimeStamp
call fcn.0046c2b0
add esp, 8
mov edx, dword [esi + 0x64]
push 0
push ebx
push edx
call fcn.0056d948
add esp, 0xc
test eax, eax
je 0x4ea417
mov eax, dword [0x65ca8c]
mov dword [esp + 0x10], eax
mov eax, dword [0x6613f8]
mov bl, 6
test eax, eax
mov byte [esp + 0x458], bl
push 0x6e
je 0x4ea3ed
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x6613d0
call fcn.0049c520
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x45c], 7
call fcn.00586c6c
lea ecx, [esp + 0x20]
mov byte [esp + 0x458], bl
call fcn.00586b33
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4ea3f6
push 0x6e
lea ecx, [esp + 0x14]
call fcn.00588173
mov edx, dword [esp + 0x10]
push 0
push 0
push edx
call fcn.0058afa0
lea ecx, [esp + 0x10]
mov byte [esp + 0x458], 5
call fcn.00586b33
jmp 0x4ea41f
push ebp
mov ecx, esi
call fcn.004ea570
lea ecx, [esp + 0x1c]
mov byte [esp + 0x458], 4
call fcn.00586b33
lea ecx, [esp + 0x18]
mov byte [esp + 0x458], 2
call fcn.00586b33
lea ecx, [esp + 0x14]
mov byte [esp + 0x458], 1
call fcn.00586b33
mov ecx, dword [esp + 0x450]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44c
ret 4