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

Disassembly:
push 0xffffffffffffffff
push 0x58cdfb
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.00565fe1
mov ecx, dword [0x639ad4]
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.00574336
push 0
push str.TipStartUp
call fcn.004640a0
neg eax
sbb eax, eax
push 0
inc eax
push str.TipFilePos
mov dword [esi + 0x5c], eax
call fcn.004640a0
add esp, 0x10
lea ecx, [esp + 0x14]
mov ebx, eax
push str.tips.txt
call fcn.0056a16e
mov eax, dword [0x63e438]
mov byte [esp + 0x458], 2
test eax, eax
je 0x4e0449
mov edx, dword [0x63e414]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4e0449
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4e0449
push 0x63e414
lea ecx, [esp + 0x18]
call fcn.0056a239
jmp 0x4e04a8
lea edx, [esp + 0x14c]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4e04a8
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.0054ea7c
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.00562ecb
add esp, 0x10
mov edx, dword [esp + 0x14]
push 0x617dcc
push edx
call fcn.0054f48f
add esp, 8
mov dword [esi + 0x64], eax
test eax, eax
jne 0x4e051d
mov eax, dword [0x63e438]
push 0x6d
test eax, eax
je 0x4e0511
lea eax, [esp + 0x14]
mov ecx, 0x63e410
push eax
call fcn.00493620
push eax
mov ecx, ebp
mov byte [esp + 0x45c], 3
call fcn.0056a239
lea ecx, [esp + 0x10]
mov byte [esp + 0x458], 2
call fcn.0056a100
mov edi, dword [ebp]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4e0661
push 0x6d
mov ecx, ebp
call fcn.0056b743
jmp 0x4e0661
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.00550fc1
lea eax, [esp + 0x50]
push eax
call fcn.00550cdb
add esp, 0xc
lea ecx, [esp + 0x18]
push eax
call fcn.0056a16e
lea ecx, [esp + 0x18]
mov byte [esp + 0x458], 4
call fcn.00562ede
push 0
lea ecx, [esp + 0x20]
push str.TipTimeStamp
push ecx
call fcn.004640e0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
mov byte [esp + 0x46c], 5
call fcn.0054f4a2
add esp, 0x14
test eax, eax
je 0x4e0596
mov ecx, dword [esp + 0x18]
xor ebx, ebx
push ecx
push str.TipTimeStamp
call fcn.004641d0
add esp, 8
mov edx, dword [esi + 0x64]
push 0
push ebx
push edx
call fcn.00550f08
add esp, 0xc
test eax, eax
je 0x4e0637
mov eax, dword [0x639ad4]
mov dword [esp + 0x10], eax
mov eax, dword [0x63e438]
mov bl, 6
test eax, eax
mov byte [esp + 0x458], bl
push 0x6e
je 0x4e060d
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x63e410
call fcn.00493620
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x45c], 7
call fcn.0056a239
lea ecx, [esp + 0x20]
mov byte [esp + 0x458], bl
call fcn.0056a100
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4e0616
push 0x6e
lea ecx, [esp + 0x14]
call fcn.0056b743
mov edx, dword [esp + 0x10]
push 0
push 0
push edx
call fcn.0056e570
lea ecx, [esp + 0x10]
mov byte [esp + 0x458], 5
call fcn.0056a100
jmp 0x4e063f
push ebp
mov ecx, esi
call fcn.004e0790
lea ecx, [esp + 0x1c]
mov byte [esp + 0x458], 4
call fcn.0056a100
lea ecx, [esp + 0x18]
mov byte [esp + 0x458], 2
call fcn.0056a100
lea ecx, [esp + 0x14]
mov byte [esp + 0x458], 1
call fcn.0056a100
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