Function at 0x100266d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017b880
mov eax, dword fs:[0]
push eax
sub esp, 0x68
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
xor ecx, ecx
mov dword [ebp - 4], 2
push 0xffffffffffffffff
push ecx
lea eax, [esi + 4]
mov word [ebp - 0x28], cx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.10020280
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 3
je 0x10026745
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x10026745
push 0xffffffffffffffff
push 0
push eax
call fcn.10020280
call fcn.1003db43
test al, al
je 0x10026762
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 0x1002677c
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 0x10026799
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 + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10026990
lea eax, [ebp + 0xc]
push eax
call fcn.10041229
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10040416
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp + 0x24]
cmovae edx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp + 0x38], 8
push edx
cmovae ecx, dword [ebp + 0x24]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push str.LastUpdTimeStamp
push eax
mov byte [ebp - 4], 4
call ebx
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp + 0x3c]
cmovae edx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp + 0x50], 8
push edx
cmovae ecx, dword [ebp + 0x3c]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push str.File
push eax
call ebx
call fcn.1003d91b
test al, al
je 0x10026854
pop ebp
pop ebx
push ebp
pop ebx
pop esi
pop ebp
push edi
push edi
push ecx
push ecx
pop esp
push ecx
pop ebx
push esp
push ebp
push ebp
pop esp
pop eax
push ebp
push edi
push esi
push ebx
push edi
push ebp
push edx
pop ebp
pop esi
push eax
push esp
push ebx
pop edi
call fcn.1003d8d6
test al, al
je 0x1002686f
push ebx
push eax
push ebp
push ebx
push eax
push ecx
pop ecx
push edi
pop ebx
pop esi
pop esi
pop eax
push ebp
pop esp
pop esp
push esp
pop esp
pop esp
call fcn.1003d7c2
test al, al
je 0x10026894
push edi
pop ebx
pop ebp
push ebp
push eax
pop ebp
push ebp
pop ebp
push esi
pop esi
pop edi
pop edx
push esi
push ebx
pop edx
push eax
push ebx
push edi
push edx
push ebp
pop edi
pop edi
push ecx
push edx
pop ebx
pop esi
pop edx
push ebp
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.1001fed0
lea eax, [ebp - 0x58]
push eax
call fcn.1003ed56
add esp, 0x1c
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x44], 8
push edx
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push str.LastMD5
push eax
mov byte [ebp - 4], 5
call esi
push 0
call fcn.1005c7be
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10026bc0
add esp, 0xc
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov ecx, eax
cmovae edx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
jb 0x10026914
mov ecx, dword [ecx]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push edx
cmovae eax, dword [ebp - 0x40]
push ecx
push str.CacheTime
push eax
call esi
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x1002693e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.10020130
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x10026953
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10020130
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x1002697c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10020130
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100269a5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10020130
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x100269ca
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.10020130
xor eax, eax
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
cmp eax, 8
jb 0x100269f3
inc eax
lea ecx, [ebp + 0x24]
push eax
push dword [ebp + 0x24]
call fcn.10020130
xor eax, eax
mov dword [ebp + 0x38], 7
mov word [ebp + 0x24], ax
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x34], 0
cmp eax, 8
jb 0x10026a1c
inc eax
lea ecx, [ebp + 0x3c]
push eax
push dword [ebp + 0x3c]
call fcn.10020130
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 0x4c