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

Disassembly:
push 0x880
mov eax, 0x100735a5
call fcn.1003d449
mov edi, ecx
mov eax, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x2c]
mov dword [ebp - 0x88c], eax
and dword [ebp - 4], 0
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x828]
call fcn.10003150
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x1000f7b8
lea eax, [edi + 0x1c]
lea ecx, [ebp - 0x828]
cmp ecx, eax
je 0x1000f7b8
push 0xffffffffffffffff
push 0
push eax
call fcn.100018c0
lea eax, [ebp + 0xc]
push eax
call fcn.1000dfe8
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.1000db68
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.100191c0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x828]
add esp, 0x18
lea ecx, [ebp - 0x840]
cmp dword [ebp - 0x814], 8
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 0x1008a228
push 0x10077424
push ecx
call edi
and dword [ebp - 0x860], 0
xor eax, eax
mov dword [ebp - 0x85c], 7
mov word [ebp - 0x870], ax
cmp word [ebp - 0x810], ax
je 0x1000f863
lea eax, [ebp - 0x810]
push eax
call fcn.10020feb
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.100016a0
cmp dword [ebp - 0x860], 0
mov byte [ebp - 4], 3
je 0x1000fa9c
lea eax, [ebp - 0x870]
cmp ebx, eax
je 0x1000f89d
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.100018c0
push 8
pop ebx
cmp dword [ebp - 0x814], ebx
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], ebx
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x1008a228
push str.CacheTime
push ecx
call edi
cmp word [ebp - 0x810], 0
jne 0x1000f8ee
xor eax, eax
jmp 0x1000f8fb
lea eax, [ebp - 0x810]
push eax
call fcn.10020feb
pop ecx
mov ecx, dword [ebp - 0x88c]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.100016a0
cmp dword [ebp - 0x814], ebx
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], ebx
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x1008a228
push str.File
push ecx
call edi
cmp word [ebp - 0x810], 0
jne 0x1000f95c
xor eax, eax
jmp 0x1000f969
lea eax, [ebp - 0x810]
push eax
call fcn.10020feb
pop ecx
push eax
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.100016a0
cmp dword [esi + 0x14], ebx
jb 0x1000f981
mov eax, dword [esi]
jmp 0x1000f983
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000fa9c
cmp dword [ebp - 0x814], ebx
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], ebx
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x1008a228
push str.LastMD5
push ecx
call edi
and dword [ebp - 0x848], 0
xor eax, eax
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
cmp word [ebp - 0x810], ax
je 0x1000fa02
lea eax, [ebp - 0x810]
push eax
call fcn.10020feb
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.100016a0
cmp dword [ebp - 0x848], 0
mov byte [ebp - 4], 4
jne 0x1000fa26
xor bl, bl
jmp 0x1000fa8b
cmp dword [esi + 0x14], ebx
jb 0x1000fa2d
mov esi, dword [esi]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.10001540
lea eax, [ebp - 0x888]
push eax
call fcn.10012105
cmp dword [ebp - 0x844], ebx
lea ecx, [ebp - 0x858]
lea eax, [ebp - 0x888]
cmovae ecx, dword [ebp - 0x858]
cmp dword [ebp - 0x874], ebx
push ecx
cmovae eax, dword [ebp - 0x888]
push eax
call fcn.100294f4
add esp, 0x24
lea ecx, [ebp - 0x888]
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
inc bl
call fcn.100015e0
push 0
push 1
lea ecx, [ebp - 0x858]
call fcn.100015e0
jmp 0x1000fa9e
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x870]
call fcn.100015e0
push 0
push 1
lea ecx, [ebp - 0x840]
call fcn.100015e0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.100015e0
push 0
push 1
lea ecx, [ebp + 0xc]
call fcn.100015e0
mov al, bl
call fcn.1003d404
ret 0x28