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

Disassembly:
push 0xffffffffffffffff
push 0x606013
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [esp + 0x68]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x69
mov dword [esp + 0x24], esi
call fcn.005db4a1
mov ecx, dword [0x6c826c]
xor ebp, ebp
mov dword [esp + 0x70], ebp
mov dword [esi + 0x60], ecx
mov byte [esp + 0x70], 1
mov dword [esi], method.CDialog.virtual_0
mov dword [esi + 0x5c], 1
call fcn.005e969b
push ebp
push str.TipStartUp
call fcn.0048e380
neg eax
sbb eax, eax
push ebp
inc eax
push str.TipFilePos
mov dword [esi + 0x5c], eax
call fcn.0048e380
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x78], eax
mov dword [esp + 0x20], ebp
push str.tips.txt
mov dword [esp + 0x2c], ebp
mov word [esp + 0x28], bp
call fcn.00401f50
mov eax, dword [0x6ccd5c]
mov byte [esp + 0x70], 2
cmp eax, ebp
je 0x5200eb
mov edx, dword [0x6ccd2c]
push edx
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x5200eb
mov eax, dword [0x6ccd2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5200eb
mov ecx, dword [0x6ccd2c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401f50
jmp 0x5201d4
mov eax, dword [0x6cce08]
cmp eax, ebp
jne 0x5200f9
mov eax, 0x6cce0c
mov edx, str._stips.txt
test edx, edx
je 0x5201d4
cmp eax, ebp
je 0x5201d4
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov word [esp + 0x34], bp
call fcn.00401f50
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 3
call fcn.00401070
push str._stips.txt
lea ecx, [esp + 0x3c]
call fcn.00401ec0
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 4
call fcn.00401f40
push eax
call fcn.005c2f1a
lea ebp, [eax + edi + 2]
lea ebx, [ebp + ebp]
push ebx
call fcn.005db95d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x20], edi
je 0x5201b6
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x2c]
call fcn.00401f40
push eax
lea ecx, [esp + 0x3c]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x28]
push ebp
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x30]
push ecx
call fcn.005c2f1a
add esp, 0x14
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 3
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 2
call fcn.00401070
xor ebp, ebp
mov eax, dword [esp + 0x20]
cmp eax, ebp
jne 0x5201e0
lea eax, [esp + 0x24]
push 0x6a090c
push eax
call fcn.005c4687
add esp, 8
cmp eax, ebp
mov dword [esi + 0x64], eax
jne 0x52025a
mov eax, dword [0x6ccd5c]
push 0x6d
cmp eax, ebp
je 0x52024d
lea edx, [esp + 0x7c]
mov ecx, 0x6ccd28
push edx
call fcn.004c7b60
lea ebx, [esi + 0x60]
push eax
mov ecx, ebx
mov byte [esp + 0x74], 5
call fcn.005df68f
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 2
call fcn.005df556
mov edi, dword [ebx]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x52038b
push 0x6d
mov ecx, ebx
call fcn.005e0b28
jmp 0x52038b
lea ecx, [esi + 0x60]
call fcn.005e0b28
jmp 0x52038b
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x44]
push ecx
push edx
call fcn.005c6408
lea eax, [esp + 0x6c]
push eax
call fcn.005c5f33
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call fcn.005df5c4
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 6
call fcn.005d839e
push ebp
lea ecx, [esp + 0x18]
push str.TipTimeStamp
push ecx
call fcn.0048e3c0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x84], 7
call fcn.005c46cc
add esp, 0x14
test eax, eax
je 0x5202d1
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ebp
push ecx
push str.TipTimeStamp
call fcn.0048e4b0
add esp, 8
mov edx, dword [esp + 0x78]
mov eax, dword [esi + 0x64]
push ebp
push edx
push eax
call fcn.005c634f
add esp, 0xc
test eax, eax
je 0x520364
mov ecx, dword [0x6c826c]
mov dword [esp + 0x78], ecx
mov eax, dword [0x6ccd5c]
mov bl, 8
cmp eax, ebp
mov byte [esp + 0x70], bl
push 0x6e
je 0x52033f
lea edx, [esp + 0x1c]
mov ecx, 0x6ccd28
push edx
call fcn.004c7b60
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 9
call fcn.005df68f
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call fcn.005df556
mov edi, dword [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x520348
push 0x6e
lea ecx, [esp + 0x7c]
call fcn.005e0b28
mov eax, dword [esp + 0x78]
push ebp
push ebp
push eax
call fcn.005e383a
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 7
call fcn.005df556
jmp 0x52036f
lea eax, [esi + 0x60]
mov ecx, esi
push eax
call fcn.005204b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 6
call fcn.005df556
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 2
call fcn.005df556
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 1
call fcn.00401070
mov ecx, dword [esp + 0x68]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4