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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017b7ef
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x101df230]
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.10020280
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x100260c2
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x828]
cmp ecx, eax
je 0x100260c2
push 0xffffffffffffffff
push 0
push eax
call fcn.10020280
call fcn.1003d84c
test al, al
je 0x100260de
pop edx
push eax
pop ecx
push ecx
pop edx
push esp
push edi
push ebx
pop edx
push esp
push edx
pop ebp
pop ebx
pop edx
pop ebx
pop edx
pop esp
pop ebx
pop ebx
call fcn.1003d59a
test al, al
je 0x10026105
pop ecx
push ebx
pop ebp
pop esi
push edi
push ecx
push esi
push ecx
push ebx
push ebp
pop ecx
pop ebp
pop ebx
push edx
push esp
pop esp
pop eax
pop esi
push eax
pop eax
push edi
push ebx
pop ebx
push edx
push edx
pop ecx
push edi
pop esi
pop edi
pop esp
call fcn.1003d9a5
test al, al
je 0x1002611e
pop esi
pop eax
pop esp
push edx
push esi
push edi
push eax
push edx
pop ebp
pop edi
pop edi
pop edi
pop esp
push edx
pop ebp
push edi
call fcn.1003d77d
test al, al
je 0x1002613a
push ecx
pop esi
pop ebp
pop edx
pop eax
pop esp
push ebx
push esi
pop edx
pop esp
push ebp
pop ebx
push esp
push edi
pop ebp
push ebx
push ebx
pop ebx
pop esp
call fcn.1003d5df
test al, al
je 0x1002615a
pop esp
pop esi
pop edi
pop esi
pop ebp
push ebp
push ecx
pop ebp
push eax
push eax
push edx
pop edi
push edi
push esp
pop edx
push edi
pop ebx
pop edi
push ebx
pop eax
pop ecx
pop esp
push esi
lea eax, [ebp + 0xc]
push eax
call fcn.10041229
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.10040416
add esp, 0xc
mov byte [ebp - 4], 2
call fcn.1003dab9
test al, al
je 0x10026193
push ebx
pop ebx
pop ebp
push ebx
pop esi
push ebp
push esi
pop esi
push ecx
push ebp
push ebp
push esi
push ebp
push ebx
pop ecx
push esp
call fcn.1003db43
test al, al
je 0x100261b3
pop ebx
push esp
pop esp
pop esi
push ebx
pop ecx
push edx
pop edi
pop esi
push ebx
pop eax
push eax
pop ecx
pop ebp
pop ebp
push ebx
pop ebp
push edi
pop ebx
push ebp
push edx
push edi
push edx
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.10054b20
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 0x101d7658
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 0x10026239
xor ecx, ecx
jmp 0x10026251
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026242
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.10020030
cmp dword [ebp - 0x860], 0
mov byte [ebp - 4], 3
je 0x10026568
mov eax, dword [ebp - 0x894]
lea ecx, [ebp - 0x870]
cmp eax, ecx
je 0x10026291
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10020280
call fcn.1003db43
test al, al
je 0x100262ae
push esp
pop ebp
pop edx
pop esi
pop esi
pop ebx
push esp
push eax
push esi
push esi
pop eax
push ebx
pop esi
push esi
pop esi
push edi
push ebx
push edi
pop esi
pop edi
call fcn.1003d555
test al, al
je 0x100262c8
push eax
pop ebp
pop edi
push ebx
pop esi
push ecx
push esp
push esi
pop esi
push ebp
push ecx
push esp
pop ebx
push esp
push ebx
pop esp
push edx
call fcn.1003d4cb
test al, al
je 0x100262e5
push ecx
push edi
push ebx
pop edi
pop edx
pop edx
push ecx
pop ebx
pop ebp
push ebx
push ecx
pop ebp
pop edx
push edi
push ebx
push edi
pop esi
pop esp
push ebx
push edi
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov edi, 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 0x101d7658
push str.CacheTime
push ecx
call edi
cmp word [ebp - 0x810], 0
jne 0x1002633b
xor ecx, ecx
jmp 0x10026353
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026344
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x890]
lea eax, [ebp - 0x810]
push eax
call fcn.10020030
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 0x101d7658
push str.File
push ecx
call edi
cmp word [ebp - 0x810], 0
jne 0x100263b6
xor ecx, ecx
jmp 0x100263cf
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100263c0
sub ecx, edx
sar ecx, 1
mov ebx, dword [ebp - 0x88c]
lea eax, [ebp - 0x810]
push ecx
push eax
mov ecx, ebx
call fcn.10020030
cmp dword [ebx + 0x14], 8
jb 0x100263ee
mov eax, dword [ebx]
jmp 0x100263f0
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10026568
call fcn.1003d807
test al, al
je 0x10026420
pop edx
push ebx
pop esi
pop ebx
push edx
pop ecx
push esp
pop esp
push eax
push ebp
pop esp
pop ecx
pop eax
push ebp
pop esp
push esi
pop esp
pop esi
mov ebx, dword [ebp - 0x88c]
call fcn.1003d91b
test al, al
je 0x1002643a
pop eax
push edi
pop esp
push edi
pop esi
pop edx
push esi
pop ebp
pop esp
push ebp
push esp
push ecx
push ecx
pop esp
pop esp
push eax
pop esi
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 0x101d7658
push str.LastMD5
push ecx
call edi
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.1001fed0
cmp dword [ebp - 0x848], 0
mov byte [ebp - 4], 4
jne 0x100264a2
xor bl, bl
jmp 0x1002652b
cmp dword [ebx + 0x14], 8
jb 0x100264aa
mov ebx, dword [ebx]
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.1001fed0
lea eax, [ebp - 0x888]
push eax
call fcn.1003ed56
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 5
push eax
call fcn.10041229
lea eax, [ebp - 0x888]
push eax
call fcn.10041229
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.10024c70
add esp, 0x34
lea ecx, [ebp - 0x888]
test eax, eax
sete bl
call fcn.1001fe90
mov eax, dword [ebp - 0x844]
cmp eax, 8
jb 0x10026549
inc eax
lea ecx, [ebp - 0x858]
push eax
push dword [ebp - 0x858]
call fcn.10020130
xor eax, eax
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], ax
jmp 0x1002656a
xor bl, bl
mov eax, dword [ebp - 0x85c]
cmp eax, 8
jb 0x10026588
inc eax
lea ecx, [ebp - 0x870]
push eax
push dword [ebp - 0x870]
call fcn.10020130
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 0x100265c3
inc eax
lea ecx, [ebp - 0x840]
push eax
push dword [ebp - 0x840]
call fcn.10020130
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 0x100265fe
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.10020130
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 0x10026630
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.10020130
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.10031bc0
mov esp, ebp
pop ebp
ret 0x28