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

Disassembly:
push 0xffffffffffffffff
push 0x5585db
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.00533a30
mov ecx, dword [0x5b5ecc]
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.00541dd4
push 0
push str.TipStartUp
call fcn.00450d10
neg eax
sbb eax, eax
push 0
inc eax
push str.TipFilePos
mov dword [esi + 0x5c], eax
call fcn.00450d10
add esp, 0x10
lea ecx, [esp + 0x14]
mov ebx, eax
push str.tips.txt
call fcn.00537b72
mov eax, dword [0x5ba7e0]
mov byte [esp + 0x458], 2
test eax, eax
je 0x4bee49
mov edx, dword [0x5ba7bc]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4bee49
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4bee49
push 0x5ba7bc
lea ecx, [esp + 0x18]
call fcn.00537c3d
jmp 0x4beea8
lea edx, [esp + 0x14c]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4beea8
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.0051d13a
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.0053091a
add esp, 0x10
mov edx, dword [esp + 0x14]
push 0x59a220
push edx
call fcn.0051dc3f
add esp, 8
mov dword [esi + 0x64], eax
test eax, eax
jne 0x4bef1d
mov eax, dword [0x5ba7e0]
push 0x6d
test eax, eax
je 0x4bef11
lea eax, [esp + 0x14]
mov ecx, 0x5ba7b8
push eax
call fcn.00478fe0
push eax
mov ecx, ebp
mov byte [esp + 0x45c], 3
call fcn.00537c3d
lea ecx, [esp + 0x10]
mov byte [esp + 0x458], 2
call fcn.00537b04
mov edi, dword [ebp]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4bf061
push 0x6d
mov ecx, ebp
call fcn.005391e6
jmp 0x4bf061
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.0051f406
lea eax, [esp + 0x50]
push eax
call fcn.0051f070
add esp, 0xc
lea ecx, [esp + 0x18]
push eax
call fcn.00537b72
lea ecx, [esp + 0x18]
mov byte [esp + 0x458], 4
call fcn.0053092d
push 0
lea ecx, [esp + 0x20]
push str.TipTimeStamp
push ecx
call fcn.00450d50
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
mov byte [esp + 0x46c], 5
call fcn.0051c942
add esp, 0x14
test eax, eax
je 0x4bef96
mov ecx, dword [esp + 0x18]
xor ebx, ebx
push ecx
push str.TipTimeStamp
call fcn.00450e40
add esp, 8
mov edx, dword [esi + 0x64]
push 0
push ebx
push edx
call fcn.0051f34d
add esp, 0xc
test eax, eax
je 0x4bf037
mov eax, dword [0x5b5ecc]
mov dword [esp + 0x10], eax
mov eax, dword [0x5ba7e0]
mov bl, 6
test eax, eax
mov byte [esp + 0x458], bl
push 0x6e
je 0x4bf00d
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x5ba7b8
call fcn.00478fe0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x45c], 7
call fcn.00537c3d
lea ecx, [esp + 0x20]
mov byte [esp + 0x458], bl
call fcn.00537b04
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4bf016
push 0x6e
lea ecx, [esp + 0x14]
call fcn.005391e6
mov edx, dword [esp + 0x10]
push 0
push 0
push edx
call fcn.0053c013
lea ecx, [esp + 0x10]
mov byte [esp + 0x458], 5
call fcn.00537b04
jmp 0x4bf03f
push ebp
mov ecx, esi
call fcn.004bf190
lea ecx, [esp + 0x1c]
mov byte [esp + 0x458], 4
call fcn.00537b04
lea ecx, [esp + 0x18]
mov byte [esp + 0x458], 2
call fcn.00537b04
lea ecx, [esp + 0x14]
mov byte [esp + 0x458], 1
call fcn.00537b04
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