Function at 0x10068998
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100be7fa
call fcn.100a0664
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], ebx
lea eax, [ebp + 0xc]
mov dword [ebp - 4], ebx
xor esi, esi
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], ebx
inc esi
mov byte [ebp - 4], 1
call fcn.100033f5
push ebx
push str.http:__
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.10002fb2
test eax, eax
jne 0x10068b74
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.100033f5
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.10068105
push dword [ebp - 0x1c]
mov byte [ebp - 4], 3
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10068a4b
push esi
push 0x18
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.100033f5
call fcn.10065ab0
add esp, 0xc
cmp al, bl
jne 0x10068a4b
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.100046db
mov ecx, dword [ebp - 0x1c]
jmp 0x10068c37
lea esi, [edi + 0x1220]
cmp dword [esi], ebx
jne 0x10068aba
mov edi, dword [ebp - 0x24]
push 2
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str.DownloadManager
mov byte [ebp - 4], 4
add edi, 0xb8
call fcn.100057f4
lea ecx, [ebp - 0x38]
call fcn.1005e070
push eax
push edi
mov byte [ebp - 4], 5
call fcn.1005c97c
mov edx, dword [eax]
add esp, 0xc
push esi
push str.GetDownloadManager
mov ecx, eax
call dword [edx + 0x30]
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.10001ccd
mov dword [ebp - 4], 3
jmp 0x10068aba
push ebx
push str..png
lea ecx, [ebp - 0x18]
call fcn.10002fb2
test eax, eax
setg al
movzx eax, al
push eax
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
call fcn.100033f5
mov esi, dword [ebp - 0x24]
push dword [esi + 0x1220]
call fcn.10027ab1
add esp, 0xc
push ebx
push ecx
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
lea edi, [esi + 0xb8]
call fcn.100033f5
lea eax, [ebp + 0x10]
push edi
push eax
call fcn.1000cdc9
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.100046db
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10001ccd
mov ecx, dword [esi + 0x1220]
mov eax, dword [ecx]
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [eax + 8]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.100046db
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
add ecx, 0xfffffff0
mov dword [esi], ebx
call fcn.10001ccd
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001ccd
jmp 0x10068df8
lea eax, [ebp - 0x2c]
push eax
call fcn.10043106
pop ecx
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
mov dword [ebp - 0x1c], esi
call fcn.10002fb2
cmp eax, 0xffffffff
jne 0x10068bc6
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.100449b3
mov eax, dword [eax]
pop ecx
pop ecx
push ebx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 3
call fcn.10002fb2
cmp eax, 0xffffffff
jne 0x10068bc6
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x11], 1
cmp dword [eax - 0xc], ebx
jne 0x10068bc9
mov byte [ebp - 0x11], bl
test byte [ebp - 0x1c], 2
je 0x10068bde
mov ecx, dword [ebp - 0x28]
and dword [ebp - 0x1c], 0xfffffffd
add ecx, 0xfffffff0
call fcn.10001ccd
test byte [ebp - 0x1c], 1
mov dword [ebp - 4], 2
je 0x10068bf6
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.10001ccd
cmp byte [ebp - 0x11], bl
je 0x10068c43
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.100449b3
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 9
call fcn.10004f80
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.100046db
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001ccd
push dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x10068de5
cmp byte [ebp + 0x10], bl
jne 0x10068d4b
push ebx
lea ecx, [ebp - 0x18]
call fcn.10003413
mov esi, 0x2030
push esi
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
mov dword [ecx], eax
call fcn.1005c866
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x10068de5
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1005cf9b
mov edi, dword [ebp + 0x18]
cmp edi, 0xffffffff
je 0x10068d19
cmp dword [ebp - 0x34], edi
jle 0x10068d19
fild dword [ebp - 0x38]
fidiv dword [ebp - 0x34]
fimul dword [ebp + 0x18]
call fcn.100a2f90
push 1
push 2
push 0x20
push edi
push eax
lea ecx, [ebp - 0x20]
call fcn.1005d866
push ebx
lea ecx, [ebp - 0x18]
mov dword [ebp + 0x10], ebx
call fcn.10003413
push esi
push ebx
push 0xff000000
push ebx
push dword [ebp - 0x38]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x18], esp
call fcn.1002d0ea
push ebx
push ebx
push dword [ebp + 0x10]
call fcn.1005d67b
mov esi, eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0x20]
call fcn.1005d5d1
lea ecx, [ebp + 0x10]
call fcn.1000326d
cmp esi, ebx
je 0x10068d3d
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x10068d3d
push ebx
lea ecx, [ebp - 0x18]
call fcn.10003413
push esi
push ebx
push 0xff000000
push ebx
push dword [ebp - 0x38]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x10], esp
call fcn.1002d0ea
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x10068de5
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x10068de5
push ebx
lea ecx, [ebp - 0x18]
call fcn.10003413
push ebx
push ebx
push 0x10
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
mov dword [ecx], eax
call fcn.1005c880
add esp, 0x10
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x10068de5
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1003192e
mov edi, dword [eax]
mov esi, dword [eax + 4]
pop ecx
pop ecx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x24]
push dword [eax + 0x1e0]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.100031a5
cmp esi, dword [ebp - 0x34]
jl 0x10068db8
mov esi, dword [ebp - 0x34]
cmp edi, dword [ebp - 0x38]
jl 0x10068dc0
mov edi, dword [ebp - 0x38]
push 1
push ebx
push 0x19
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.1005d866
push dword [ebp + 0x10]
push 0xffffffffffffffff
push dword [ebp - 0x20]
call fcn.1005d5d1
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001ccd
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14