Function at 0x575bd9
Capabilities:
Check if file exists

Disassembly:
push 0x74
mov eax, 0x58bcc7
call fcn.00531c83
mov eax, ecx
mov dword [ebp - 0x5c], eax
and dword [ebp - 0x60], 0
xor ebx, ebx
mov edi, dword [eax + 0x1c]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x58], ebx
cmp esi, edi
je 0x575c5f
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
and dword [ebp - 0x14], 0
push esi
call fcn.0040905c
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 0x10
jb 0x575c1f
mov ecx, dword [edx]
jmp 0x575c21
mov ecx, edx
mov eax, dword [edx + 0x10]
add eax, ecx
cmp dword [edx + 0x14], 0x10
jb 0x575c2e
mov edx, dword [edx]
sub esp, 0x18
mov ecx, esp
push ecx
push eax
push edx
call fcn.00405276
call fcn.00570f34
or dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x14]
add ebx, eax
test ecx, ecx
je 0x575c55
call fcn.0040af8b
add esi, 8
cmp esi, edi
jne 0x575bfd
mov dword [ebp - 0x58], ebx
push ebx
push 0
push 0x3e80
push dword [0x5fb350]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x5c]
mov edi, dword [eax + 0x1c]
mov esi, dword [eax + 0x18]
cmp esi, edi
je 0x575dcf
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
and dword [ebp - 0x1c], 0
push esi
call fcn.0040905c
mov dword [ebp - 4], 1
mov ebx, dword [ebp - 0x20]
push 6
lea edx, [ebx + 0x18]
cmp dword [edx + 0x14], 0x10
jb 0x575cae
mov ecx, dword [edx]
jmp 0x575cb0
mov ecx, edx
mov eax, dword [edx + 0x10]
add eax, ecx
cmp dword [edx + 0x14], 0x10
jb 0x575cbd
mov edx, dword [edx]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push ecx
push eax
push edx
call fcn.00405276
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push dword [ebp - 0x5c]
call fcn.00402941
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00571369
mov byte [ebp - 4], 3
cmp dword [ebx + 0x14], 0x10
push 1
jb 0x575cfa
mov ecx, dword [ebx]
jmp 0x575cfc
mov ecx, ebx
mov eax, dword [ebx + 0x10]
add eax, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x575d0b
mov edx, dword [ebx]
jmp 0x575d0d
mov edx, ebx
sub esp, 0x18
mov ecx, esp
push ecx
push eax
push edx
call fcn.00405276
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x54]
call fcn.0057152f
add ebx, 0x60
push eax
mov ecx, ebx
call fcn.00402048
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00403a16
cmp dword [ebx + 0x10], 0
je 0x575d56
cmp dword [ebx + 0x14], 8
jb 0x575d4b
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x575da9
sub esp, 0x18
mov ebx, 0x3e84
mov ecx, esp
mov dword [ebp - 0x64], esp
mov dword [ebp - 0x60], ebx
push 0x5c2fd4
call fcn.004036c4
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x5c2d2e
call fcn.004036c4
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push str.DownloadProducts
call fcn.004036c4
mov dl, 1
mov byte [ebp - 4], 3
mov ecx, ebx
call fcn.00571a9e
add esp, 0x48
lea ecx, [ebp - 0x54]
call fcn.00571513
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x575dc1
call fcn.0040af8b
add esi, 8
cmp esi, edi
jne 0x575c84
mov ebx, dword [ebp - 0x58]
push ebx
push ebx
push 0x3e80
push dword [0x5fb350]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x60]
call fcn.00531c2d
ret