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

Disassembly:
push 0xffffffffffffffff
push 0x635c43
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
push eax
mov esi, ecx
push 0x69
mov dword [esp + 0x2c], esi
call fcn.005d136b
xor ebx, ebx
mov dword [esp + 0x64], ebx
lea edi, [esi + 0x7c]
mov ecx, edi
mov dword [esi], vtable.CTipDlg.0
call fcn.004024e0
mov byte [esp + 0x64], 1
mov dword [esi + 0x74], 1
call fcn.005d80b1
push ebx
push str.TipStartUp
call fcn.004a3880
neg eax
sbb eax, eax
inc eax
push ebx
push str.TipFilePos
mov dword [esi + 0x74], eax
call fcn.004a3880
add esp, 0x10
mov dword [esp + 0x14], eax
xor eax, eax
push str.tips.txt
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ebx
mov word [esp + 0x54], ax
call fcn.004017d0
mov byte [esp + 0x64], 2
cmp dword [0x70f738], ebx
je 0x535e2f
mov edx, dword [0x70f6fc]
cmp edx, ebx
je 0x535e2f
mov eax, edx
lea ebp, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x535e00
sub eax, ebp
sar eax, 1
je 0x535e2f
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x535e2f
mov ecx, dword [0x70f6fc]
push ecx
lea ecx, [esp + 0x50]
call fcn.004017d0
jmp 0x535e4d
mov eax, dword [0x70f66c]
cmp eax, ebx
jne 0x535e3d
mov eax, 0x70f670
push ebx
push eax
push str._stips.txt
lea ecx, [esp + 0x58]
call fcn.00402190
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jne 0x535e59
lea eax, [esp + 0x50]
push 0x653ab8
push eax
call fcn.005fb2bd
add esp, 8
mov dword [esi + 0x78], eax
cmp eax, ebx
jne 0x535ed4
push 0x6d
cmp dword [0x70f738], ebx
je 0x535eb8
lea edx, [esp + 0x18]
push edx
mov ecx, 0x70f6f8
call fcn.004dc9c0
mov byte [esp + 0x64], 3
push eax
mov ecx, edi
call fcn.00405800
mov byte [esp + 0x64], 2
lea ecx, [esp + 0x14]
call fcn.00402550
mov eax, dword [edi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x535ea7
sub eax, edx
jne 0x535fb1
push 0x6d
call fcn.005d8f38
cmp eax, ebx
je 0x535fb1
push 0x6d
push eax
mov ecx, edi
call fcn.00402880
jmp 0x535fb1
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.005ffb44
add esp, 4
push eax
call fcn.005ff814
lea edx, [esp + 0x50]
push edx
call fcn.005fec26
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
call fcn.004030e0
mov byte [esp + 0x64], 4
lea ecx, [esp + 0x18]
call fcn.00535840
push ebx
lea eax, [esp + 0x20]
push str.TipTimeStamp
push eax
call fcn.004a80f0
add esp, 0xc
mov byte [esp + 0x64], 5
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, ebx
setne al
cmp eax, ebx
jne 0x535f3e
push 0x80004005
call fcn.00401090
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.005fbc3c
add esp, 8
cmp eax, ebx
setne al
cmp al, bl
je 0x535f6b
mov edx, dword [esp + 0x18]
push edx
push str.TipTimeStamp
mov dword [esp + 0x1c], ebx
call fcn.004a38c0
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x78]
push ebx
push eax
push ecx
call fcn.005ff78f
add esp, 0xc
test eax, eax
je 0x535f8d
push 0xffffffffffffffff
push ebx
push 0x6e
call fcn.005de30c
jmp 0x535f95
push edi
mov ecx, esi
call fcn.00535660
mov byte [esp + 0x64], 4
lea ecx, [esp + 0x1c]
call fcn.00402550
mov byte [esp + 0x64], 2
lea ecx, [esp + 0x18]
call fcn.00402550
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x4c]
call fcn.004011f0
mov dword [esp + 0x64], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.005f85e7
add esp, 0x54
ret 4