Function at 0x10025660
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017bdef
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x101df028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x894], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x890], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x88c], eax
xor ecx, ecx
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push ecx
lea eax, [esi + 4]
mov word [ebp - 0x828], cx
push eax
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
call fcn.10020060
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x10025702
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x828]
cmp ecx, eax
je 0x10025702
push 0xffffffffffffffff
push 0
push eax
call fcn.10020060
call fcn.1003cad8
test al, al
je 0x1002571d
push esp
pop esi
push esp
pop ecx
push ebp
push ecx
pop eax
pop edi
push ecx
push esi
push edx
push ecx
pop esp
push ebp
push eax
pop esp
push esp
pop esp
call fcn.1003c574
test al, al
je 0x10025742
pop ebp
push eax
push esp
push ecx
push edi
push esp
push ebx
pop edi
push esp
push ecx
pop esp
push esp
pop ebx
pop ebx
pop edi
pop edx
push esi
pop ebp
push eax
push ecx
pop esp
push esp
pop esi
pop ecx
pop ebp
pop ebx
pop edx
push edx
call fcn.1003c5b9
test al, al
je 0x10025767
push eax
push esi
pop edx
push edx
pop edx
pop ebp
push edi
pop edi
pop esp
push ebx
push esp
pop eax
pop esi
pop eax
push ecx
push esp
push edi
push edi
push edx
push edi
push ebx
pop ebx
push edx
push ebp
push edx
push edi
push esi
push esi
call fcn.1003c757
test al, al
je 0x1002578a
pop edx
push esi
pop edi
pop esi
pop edi
push esp
pop esp
pop ebp
push ebp
pop eax
push ebx
push edx
push esi
pop ebx
push edx
push edi
push eax
push ecx
pop edi
push ebp
push ebp
pop ecx
push edx
pop edi
pop esi
push ebx
call fcn.1003c5fe
test al, al
je 0x100257a9
push edi
push edi
push ebx
push eax
pop ebp
pop esi
pop edi
pop esp
pop ebp
push edx
pop edx
push edx
pop edi
pop ebp
push ebx
push esi
push edi
push eax
pop ebx
pop esp
pop ecx
pop ebx
lea eax, [ebp + 0xc]
push eax
call fcn.10040b49
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.1003fb40
add esp, 0xc
mov byte [ebp - 4], 2
call fcn.1003ca93
test al, al
je 0x100257ed
pop ecx
pop ecx
pop ebx
push esi
pop ebp
pop esp
pop esi
pop ebx
pop ecx
pop edi
pop esp
push ebp
pop esi
pop ebx
pop edi
pop ecx
push eax
push edx
push ebp
pop esp
push ebp
push esi
pop esi
push edx
pop eax
push eax
push ebx
call fcn.1003c97f
test al, al
je 0x1002580b
push ebp
pop eax
push ebp
push ecx
pop esp
push ebp
push eax
push esp
pop ecx
pop edi
push ecx
push edi
push ecx
push ebp
pop ecx
push eax
pop esp
push edi
push esp
pop edx
push eax
call fcn.1003c52f
test al, al
je 0x10025828
pop eax
push edi
push ebp
push ebx
push esp
push ebx
push ecx
pop edi
pop ebx
pop eax
pop esp
push esi
push ebp
pop ebp
push edi
pop ebp
push eax
push ebx
push edi
push edi
call fcn.1003cb1d
test al, al
je 0x1002584c
push ecx
push edi
pop edx
pop ebp
pop esi
push edi
push ecx
pop eax
pop ebx
push ecx
push edx
pop ecx
push ebp
pop esp
push ebp
pop edi
push esp
pop edi
pop ebp
pop edi
pop esp
push esi
push esi
pop ebp
push esi
pop edx
push eax
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.10056120
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], 8
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x101d73f8
push str.LastUpdTimeStamp
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x85c], 7
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
cmp word [ebp - 0x810], ax
jne 0x100258d2
xor ecx, ecx
jmp 0x100258ef
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100258e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.1001fe10
cmp dword [ebp - 0x860], 0
mov byte [ebp - 4], 3
je 0x10025c03
mov eax, dword [ebp - 0x894]
lea ecx, [ebp - 0x870]
cmp eax, ecx
je 0x1002592f
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10020060
call fcn.1003c5fe
test al, al
je 0x10025956
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.1003c643
test al, al
je 0x10025973
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.1003c97f
test al, al
je 0x10025995
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], 8
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x101d73f8
push str.CacheTime
push ecx
call esi
cmp word [ebp - 0x810], 0
jne 0x100259eb
xor ecx, ecx
jmp 0x10025a03
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100259f4
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x890]
lea eax, [ebp - 0x810]
push eax
call fcn.1001fe10
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], 8
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x101d73f8
push str.File
push ecx
call esi
cmp word [ebp - 0x810], 0
jne 0x10025a66
xor ecx, ecx
jmp 0x10025a7f
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025a70
sub ecx, edx
sar ecx, 1
mov ebx, dword [ebp - 0x88c]
lea eax, [ebp - 0x810]
push ecx
push eax
mov ecx, ebx
call fcn.1001fe10
cmp dword [ebx + 0x14], 8
jb 0x10025a9e
mov eax, dword [ebx]
jmp 0x10025aa0
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10025c03
call fcn.1003c757
test al, al
je 0x10025ad5
pop ebx
pop eax
pop ecx
pop ebp
push edi
push eax
push edx
pop esp
push ebx
push edi
push esp
pop edi
pop ecx
push esp
pop esp
push eax
push ebx
pop ebp
push ebx
pop edx
pop eax
push ecx
push esp
mov ebx, dword [ebp - 0x88c]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], 8
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x101d73f8
push str.LastMD5
push ecx
call esi
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.1001fcb0
cmp dword [ebp - 0x848], 0
mov byte [ebp - 4], 4
jne 0x10025b3d
xor bl, bl
jmp 0x10025bc6
cmp dword [ebx + 0x14], 8
jb 0x10025b45
mov ebx, dword [ebx]
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.1001fcb0
lea eax, [ebp - 0x888]
push eax
call fcn.1003e222
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 5
push eax
call fcn.10040b49
lea eax, [ebp - 0x888]
push eax
call fcn.10040b49
cmp dword [ebp - 0x874], 8
lea ecx, [ebp - 0x888]
push dword [ebp - 0x878]
cmovae ecx, dword [ebp - 0x888]
lea eax, [ebp - 0x858]
cmp dword [ebp - 0x844], 8
push ecx
cmovae eax, dword [ebp - 0x858]
push dword [ebp - 0x848]
push eax
call fcn.10024270
add esp, 0x34
lea ecx, [ebp - 0x888]
test eax, eax
sete bl
call fcn.1001fc70
mov eax, dword [ebp - 0x844]
cmp eax, 8
jb 0x10025be4
inc eax
lea ecx, [ebp - 0x858]
push eax
push dword [ebp - 0x858]
call fcn.1001ff10
xor eax, eax
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], ax
jmp 0x10025c05
xor bl, bl
mov eax, dword [ebp - 0x85c]
cmp eax, 8
jb 0x10025c23
inc eax
lea ecx, [ebp - 0x870]
push eax
push dword [ebp - 0x870]
call fcn.1001ff10
xor eax, eax
mov dword [ebp - 0x85c], 7
mov word [ebp - 0x870], ax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x860], 0
cmp eax, 8
jb 0x10025c5e
inc eax
lea ecx, [ebp - 0x840]
push eax
push dword [ebp - 0x840]
call fcn.1001ff10
xor eax, eax
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
mov eax, dword [ebp - 0x814]
mov dword [ebp - 0x830], 0
cmp eax, 8
jb 0x10025c99
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.1001ff10
mov ecx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp ecx, 8
jb 0x10025ccb
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.1001ff10
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10032035
mov esp, ebp
pop ebp
ret 0x28