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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59eacf
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x628144]
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.004022e0
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x403bc2
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x828]
cmp ecx, eax
je 0x403bc2
push 0xffffffffffffffff
push 0
push eax
call fcn.004022e0
call fcn.00426489
test al, al
je 0x403bea
pop ecx
push ebx
pop eax
push esp
push edx
push esp
pop eax
pop esp
pop ebp
push esi
pop edi
push eax
pop edi
push eax
pop esi
push ebp
push ebx
push eax
pop esi
push edx
pop ebx
pop ecx
push ebx
push esi
pop ebx
pop edx
push edx
push ebp
push eax
push ebx
push esp
call fcn.00426444
test al, al
je 0x403c11
pop eax
push edi
pop ebx
push esp
pop edi
push esp
pop ebp
push ecx
pop ecx
push edi
push ecx
pop edi
push eax
pop esp
push edx
push ecx
pop esi
push eax
pop ecx
push ebx
pop edi
push ebp
push ecx
push ecx
push eax
pop esp
pop esp
pop esp
push eax
push ebx
call fcn.004269ed
test al, al
je 0x403c35
push ebp
pop ebx
push esi
pop edx
pop eax
push esp
push edx
pop edx
push ebp
push eax
pop ecx
push edi
pop esp
pop edx
pop esp
pop edi
push ebx
pop edi
pop edx
pop ebx
push ebx
pop eax
push ebx
push edx
push edi
push esp
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.0042bebc
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.0042b1b2
add esp, 0xc
mov byte [ebp - 4], 2
call fcn.0042691e
test al, al
je 0x403c7e
push ebp
push edx
pop ecx
pop edi
push eax
push edi
push esp
pop ecx
pop edx
push eax
push edx
pop ecx
push eax
push ecx
push eax
pop edi
pop ecx
pop edx
push esi
pop esp
pop eax
push edx
pop ebp
pop ebx
push ecx
push ebx
push edx
pop edi
push edx
push ecx
pop ecx
push ebx
call fcn.00426bd0
test al, al
je 0x403ca4
pop ebp
pop esp
push edx
push ebx
push ebp
pop esp
push eax
push edx
push eax
pop ecx
push ebp
pop esp
pop edx
pop ebx
push ebx
pop edx
pop edi
push ebp
push edx
push edi
pop ebp
pop ebp
push ebx
push ecx
pop eax
pop eax
pop esi
push ebx
pop ebx
call fcn.00426558
test al, al
je 0x403cc6
pop eax
pop esp
pop ecx
pop edi
push ebp
pop ebp
push ecx
pop esp
push edi
pop edx
push ecx
push ebp
push ecx
push eax
pop esi
pop edi
pop eax
pop ebx
pop esi
push esi
push ebp
push esp
push edx
push edi
pop edi
call fcn.004266b1
test al, al
je 0x403ce4
push edx
pop eax
push ebx
pop ebx
push eax
pop ebx
push ebx
pop edx
pop edx
push esp
push ebx
push esi
pop edx
push ebx
push edx
push ecx
pop ebx
push ecx
push edi
push edx
pop ebx
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00442fd0
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 0x5a355c
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 0x403d6a
xor ecx, ecx
jmp 0x403d82
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403d73
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.00402400
cmp dword [ebp - 0x860], 0
mov byte [ebp - 4], 3
je 0x4040e0
mov eax, dword [ebp - 0x894]
lea ecx, [ebp - 0x870]
cmp eax, ecx
je 0x403dc2
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.004022e0
call fcn.00426444
test al, al
je 0x403de8
pop esp
pop ebx
push edx
pop ebx
pop ecx
push edx
push eax
push ebx
pop eax
pop edi
pop edi
push esi
push esp
push edx
push ecx
pop ecx
push ebx
pop edi
pop ebx
push esp
pop ebp
pop esi
pop eax
pop esp
push eax
pop eax
push edx
pop eax
push ebp
call fcn.00426a32
test al, al
je 0x403e0a
pop eax
pop ecx
push eax
pop ebp
push edx
push ebp
pop eax
pop esp
pop ebp
push edi
pop ebx
pop ebx
pop edi
push ecx
push ebp
push esp
push eax
push esp
pop eax
pop edi
pop ebx
pop edi
push esi
push edx
pop esi
call fcn.004265e2
test al, al
je 0x403e2f
pop eax
pop ecx
pop ebp
pop ecx
pop ecx
push ebx
pop eax
pop edx
pop edx
push esi
pop eax
pop esi
pop ebx
pop esp
pop eax
push ebx
pop ebp
push esi
pop ebp
push edi
push edx
pop edi
pop ecx
push ebp
push esp
push esi
pop edi
push ebp
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov ebx, 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 0x5a355c
push str.CacheTime
push ecx
call ebx
cmp word [ebp - 0x810], 0
jne 0x403e85
xor ecx, ecx
jmp 0x403e9f
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403e90
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x890]
lea eax, [ebp - 0x810]
push eax
call fcn.00402400
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 0x5a355c
push str.File
push ecx
call ebx
cmp word [ebp - 0x810], 0
jne 0x403f02
xor ecx, ecx
jmp 0x403f1f
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403f10
sub ecx, edx
sar ecx, 1
mov ebx, dword [ebp - 0x88c]
lea eax, [ebp - 0x810]
push ecx
push eax
mov ecx, ebx
call fcn.00402400
cmp dword [ebx + 0x14], 8
jb 0x403f3c
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4040e0
call fcn.00426513
test al, al
je 0x403f66
pop edi
pop esi
push ebp
push esi
pop edi
push eax
pop eax
push esi
pop edx
pop edi
push ecx
pop eax
push edx
pop ecx
push ebp
pop ecx
push ebx
pop edx
call fcn.00426abc
test al, al
je 0x403f8d
pop esp
push eax
pop esi
pop esi
push eax
push eax
push edi
push ecx
pop ebx
push eax
push edi
push ebp
pop esp
push eax
push esi
push ebp
push ecx
pop esi
push eax
pop edx
pop edi
push ecx
pop eax
push esp
push esi
pop edx
pop esp
pop ebx
push eax
push esi
call fcn.00426627
test al, al
je 0x403fa8
push eax
pop edi
pop ecx
push ebp
pop edi
pop ecx
push ecx
push ecx
push edi
pop ebp
pop ebx
pop ecx
push eax
push edi
push ebx
push edi
push ebx
push esp
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 0x5a355c
push str.LastMD5
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.00402b80
cmp dword [ebp - 0x848], 0
mov byte [ebp - 4], 4
jne 0x404014
xor bl, bl
jmp 0x4040a3
mov eax, dword [ebp - 0x88c]
cmp dword [eax + 0x14], 8
jb 0x404022
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402b80
lea eax, [ebp - 0x888]
push eax
call fcn.00428dec
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 5
push eax
call fcn.0042bebc
lea eax, [ebp - 0x888]
push eax
call fcn.0042bebc
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.00402210
add esp, 0x34
lea ecx, [ebp - 0x888]
test eax, eax
sete bl
call fcn.0041a870
mov eax, dword [ebp - 0x844]
cmp eax, 8
jb 0x4040c1
inc eax
lea ecx, [ebp - 0x858]
push eax
push dword [ebp - 0x858]
call fcn.00402500
xor eax, eax
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], ax
jmp 0x4040e2
xor bl, bl
mov eax, dword [ebp - 0x85c]
cmp eax, 8
jb 0x404100
inc eax
lea ecx, [ebp - 0x870]
push eax
push dword [ebp - 0x870]
call fcn.00402500
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 0x40413b
inc eax
lea ecx, [ebp - 0x840]
push eax
push dword [ebp - 0x840]
call fcn.00402500
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 0x404176
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.00402500
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 0x4041a8
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402500
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.0042578a
mov esp, ebp
pop ebp
ret 0x28