Function at 0x45eab1
Capabilities:
Check if file exists

Disassembly:
push 0x254
mov eax, 0x4f9bbf
call fcn.004d2fe8
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x24c], ebx
cmp dword [ebx + 0x18], esi
jne 0x45ead7
xor eax, eax
call fcn.004d306b
ret
mov eax, ebx
call fcn.0045efac
lea ecx, [ebp - 0x250]
call fcn.00408850
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x34]
mov dword [ebp - 0x248], eax
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.004d7710
add esp, 0xc
cmp dword [ebp - 0x248], esi
mov dword [ebp - 0x21c], esi
jle 0x45eec5
lea ecx, [ebp - 0x240]
call fcn.00408850
lea ecx, [ebp - 0x23c]
call fcn.00408850
lea ecx, [ebp - 0x238]
call fcn.00408850
lea ecx, [ebp - 0x234]
call fcn.00408850
lea ecx, [ebp - 0x230]
call fcn.00408850
lea ecx, [ebp - 0x22c]
call fcn.00408850
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, 8
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax]
jl 0x45ebda
mov esi, 0x104
push esi
lea edx, [ebp - 0x218]
push edx
push dword [ebp - 0x21c]
push 0
push eax
call dword [ecx + 0x70]
test al, al
je 0x45ebf8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45ebba
lea edx, [ebp - 0x218]
jmp 0x45ebcd
push dword [ebp - 0x21c]
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x40]
mov edx, eax
lea edi, [ebp - 0x23c]
call fcn.004085a0
jmp 0x45ebf8
push dword [ebp - 0x21c]
push 0
push eax
call dword [ecx + 0x40]
mov edx, eax
lea edi, [ebp - 0x23c]
call fcn.004085a0
mov esi, 0x104
push dword [ebp - 0x21c]
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x38]
mov edx, eax
lea edi, [ebp - 0x240]
call fcn.004085a0
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
call fcn.00408780
add eax, 0x10
mov dword [ebp - 0x220], eax
xor edi, edi
push dword [edi*4 + 0x548548]
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x45ec4e
inc edi
cmp edi, 4
jb 0x45ec2f
jmp 0x45ec51
inc edi
jne 0x45ec56
mov edi, 0x12c
lea ecx, [ebp - 0x220]
call fcn.004087f0
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x228], edi
call fcn.00408850
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
add eax, 0x60
push esi
lea edi, [ebp - 0x238]
mov dword [ebp - 0x220], eax
call fcn.00429bb0
push eax
mov eax, dword [ebp - 0x220]
push str..htm
push dword [ebp - 0x21c]
push 0
push dword [ebx + 0x18]
call dword [eax]
test al, al
je 0x45eecd
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov esi, 0x104
add eax, 0x60
push esi
lea edi, [ebp - 0x234]
mov dword [ebp - 0x220], eax
call fcn.00429bb0
push eax
mov eax, dword [ebp - 0x220]
push str.http
push dword [ebp - 0x21c]
push 0
push dword [ebx + 0x18]
call dword [eax]
test al, al
je 0x45eecd
or eax, 0xffffffff
lea esi, [ebp - 0x238]
call fcn.004080c0
or eax, 0xffffffff
mov esi, edi
call fcn.004080c0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x220], eax
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov esi, 0x104
add eax, 0x64
push esi
lea edi, [ebp - 0x224]
mov dword [ebp - 0x244], eax
call fcn.00429bb0
push eax
lea edi, [ebp - 0x22c]
call fcn.00429bb0
push eax
push dword [ebp - 0x220]
mov eax, dword [ebp - 0x244]
push dword [ebp - 0x21c]
push 0
push dword [ebx + 0x18]
call dword [eax]
or eax, 0xffffffff
lea esi, [ebp - 0x224]
call fcn.004080c0
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x244], eax
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov esi, 0x104
add eax, 0x64
push esi
lea edi, [ebp - 0x224]
mov dword [ebp - 0x220], eax
call fcn.00429bb0
push eax
lea edi, [ebp - 0x230]
call fcn.00429bb0
push eax
push dword [ebp - 0x244]
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x21c]
xor edi, edi
push edi
push dword [ebx + 0x18]
call dword [eax]
or eax, 0xffffffff
lea esi, [ebp - 0x224]
call fcn.004080c0
or eax, 0xffffffff
lea esi, [ebp - 0x230]
call fcn.004080c0
or eax, 0xffffffff
lea esi, [ebp - 0x22c]
call fcn.004080c0
push dword [ebp - 0x240]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [0x54853c]
call esi
test eax, eax
jne 0x45ee20
push dword [ebp - 0x238]
push dword [0x548540]
call esi
test eax, eax
jne 0x45ee20
push dword [ebp - 0x234]
push dword [0x548544]
call esi
test eax, eax
je 0x45ee93
mov esi, dword [ebx + 0xc]
cmp esi, edi
je 0x45ee34
mov eax, dword [ebx + 0x14]
sub eax, esi
push 0x1c
cdq
pop ecx
idiv ecx
mov edi, eax
mov ecx, dword [ebx + 0x10]
mov eax, ecx
sub eax, esi
push 0x1c
cdq
pop esi
idiv esi
cmp eax, edi
jae 0x45ee59
lea eax, [ebp - 0x240]
push eax
push 1
push ecx
call fcn.0045f0c9
mov dword [ebx + 0x10], eax
jmp 0x45ee93
mov edi, ebx
mov ebx, ecx
lea esi, [ebp - 0x258]
call fcn.0045f0f9
push dword [ebp - 0x254]
lea eax, [ebp - 0x240]
push dword [ebp - 0x258]
push eax
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x24c]
call fcn.0045f01b
mov ebx, dword [ebp - 0x24c]
lea ecx, [ebp - 0x224]
call fcn.004087f0
lea esi, [ebp - 0x240]
mov byte [ebp - 4], 0
call fcn.0045eef7
inc dword [ebp - 0x21c]
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x248]
jl 0x45eb2c
mov esi, dword [ebp - 0x248]
jmp 0x45eee5
lea ecx, [ebp - 0x224]
call fcn.004087f0
lea esi, [ebp - 0x240]
call fcn.0045eef7
xor esi, esi
lea ecx, [ebp - 0x250]
call fcn.004087f0
mov eax, esi
jmp 0x45ead1