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

Disassembly:
push 0x880
mov eax, 0x482967
call fcn.00455282
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.00407cc0
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x41c4f1
lea eax, [edi + 0x1c]
lea ecx, [ebp - 0x828]
cmp ecx, eax
je 0x41c4f1
push 0xffffffffffffffff
push 0
push eax
call fcn.00407790
lea eax, [ebp + 0xc]
push eax
call fcn.0041b86d
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.0041af67
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004332a0
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 0x49b404
push str.LastUpdTimeStamp
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 0x41c59c
lea eax, [ebp - 0x810]
push eax
call fcn.00442c2f
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.00407570
cmp dword [ebp - 0x860], 0
mov byte [ebp - 4], 3
je 0x41c7d5
lea eax, [ebp - 0x870]
cmp ebx, eax
je 0x41c5d6
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00407790
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 0x49b404
push str.CacheTime
push ecx
call edi
cmp word [ebp - 0x810], 0
jne 0x41c627
xor eax, eax
jmp 0x41c634
lea eax, [ebp - 0x810]
push eax
call fcn.00442c2f
pop ecx
mov ecx, dword [ebp - 0x88c]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00407570
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 0x49b404
push str.File
push ecx
call edi
cmp word [ebp - 0x810], 0
jne 0x41c695
xor eax, eax
jmp 0x41c6a2
lea eax, [ebp - 0x810]
push eax
call fcn.00442c2f
pop ecx
push eax
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00407570
cmp dword [esi + 0x14], ebx
jb 0x41c6ba
mov eax, dword [esi]
jmp 0x41c6bc
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c7d5
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 0x49b404
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 0x41c73b
lea eax, [ebp - 0x810]
push eax
call fcn.00442c2f
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.00407570
cmp dword [ebp - 0x848], 0
mov byte [ebp - 4], 4
jne 0x41c75f
xor bl, bl
jmp 0x41c7c4
cmp dword [esi + 0x14], ebx
jb 0x41c766
mov esi, dword [esi]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00407440
lea eax, [ebp - 0x888]
push eax
call fcn.004297c5
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 5
push eax
call fcn.0041b86d
lea eax, [ebp - 0x888]
push eax
call fcn.0041b86d
add esp, 0x24
lea eax, [ebp - 0x888]
lea ecx, [ebp - 0x858]
push eax
call fcn.00408220
push 0
push 1
lea ecx, [ebp - 0x888]
mov esi, eax
call fcn.004074b0
test esi, esi
sete bl
push 0
push 1
lea ecx, [ebp - 0x858]
call fcn.004074b0
jmp 0x41c7d7
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x870]
call fcn.004074b0
push 0
push 1
lea ecx, [ebp - 0x840]
call fcn.004074b0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.004074b0
push 0
push 1
lea ecx, [ebp + 0xc]
call fcn.004074b0
mov al, bl
call fcn.0045523d
ret 0x28