Function at 0x10018880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092de1
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x100b70e8]
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 dword [ebp - 0xec], esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc8]
push 0x10096460
push eax
mov ecx, ebx
mov dword [ebp - 0xe8], ebx
call fcn.1000f890
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10019180
cmp byte [0x100b9818], 0
je 0x10018f92
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
xor edi, edi
movq qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
movq qword [ebp - 0x80], xmm0
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
push edi
push str.url_list
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.1000f7a0
test al, al
je 0x10018f7a
mov eax, dword [ebp - 0x30]
xor esi, esi
mov dword [ebp - 0x14], eax
push esi
push 0x100acb60
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.1000f7a0
test al, al
je 0x100189f5
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000f810
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.100199a0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x10018996
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10005ac0
push 0x100acb70
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000f890
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.100199a0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100189c9
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10005ac0
lea ecx, [ebp - 0x14]
call fcn.10002430
mov eax, dword [ebp - 0x30]
inc esi
mov dword [ebp - 0x14], eax
push esi
push 0x100acb60
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.1000f7a0
test al, al
jne 0x10018964
mov edi, dword [ebp - 0x58]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10002430
mov esi, dword [ebp - 0x5c]
mov eax, 0x2aaaaaab
sub edi, esi
imul edi
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x10018f7a
mov dword [ebp - 0xcc], 0xf
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xe0], 0
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov edi, dword [ebp - 0xe8]
mov eax, dword [edi]
mov dword [ebp - 0x50], eax
push 0
push str.local_filename
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.1000f7a0
test al, al
je 0x10018b2c
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x50]
call fcn.1000f810
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xb
jb 0x10018aa3
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10001660
add esp, 8
mov esi, eax
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x10018ae9
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10018ace
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.10005ac0
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.10005360
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10018afe
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10005ac0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0xa
cmp eax, 0x10
jb 0x10018b29
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.10005ac0
mov esi, dword [ebp - 0x5c]
cmp dword [ebp - 0x38], 0
jne 0x10018b8d
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.10001270
add esp, 8
mov esi, eax
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x10018b78
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10018b5d
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.10005ac0
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.10005360
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10018b8d
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10005ac0
mov eax, dword [edi]
mov dword [ebp - 0x4c], eax
push 0
push str.local_path
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call fcn.1000f7a0
test al, al
je 0x10018ce1
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000f810
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xf
jb 0x10018bc8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10001660
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x10
jb 0x10018be1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10001a40
add esp, 8
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10018c03
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10005ac0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x13
call fcn.10005690
push 0x100ab53c
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x10018c54
mov eax, dword [ecx]
jmp 0x10018c56
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x74]
push edx
push eax
call fcn.10004c50
lea eax, [ebp - 0x104]
push eax
call fcn.1000dd80
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x14
jb 0x10018c82
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.10001910
add esp, 8
push eax
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0x15
push eax
call fcn.100031b0
add esp, 0xc
lea ecx, [ebp - 0xb0]
push eax
call fcn.10002030
lea ecx, [ebp - 0x134]
call fcn.10005690
lea ecx, [ebp - 0x14c]
call fcn.10005690
lea ecx, [ebp - 0x104]
call fcn.10005320
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xe
call fcn.10005320
jmp 0x10018d07
lea eax, [ebp - 0x104]
push eax
call fcn.100196e0
add esp, 4
lea ecx, [ebp - 0xb0]
push eax
call fcn.10002030
lea ecx, [ebp - 0x104]
call fcn.10005690
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.10017720
add esp, 0xc
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x16
cmovae eax, dword [ebp - 0x98]
push eax
mov byte [ebp - 0xe1], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10018dca
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10008a10
add esp, 8
xor esi, esi
mov byte [ebp - 4], 0x17
test ebx, ebx
jle 0x10018d95
mov edi, dword [ebp - 0x80]
nop dword [eax + eax]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push edi
call fcn.10001b90
add esp, 8
test eax, eax
jne 0x10018e5a
inc esi
add edi, 0x18
cmp esi, ebx
jl 0x10018d70
lea eax, [ebp - 0x98]
push eax
call fcn.10001350
add esp, 4
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x16
cmp eax, 0x10
jb 0x10018dbd
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10005ac0
cmp byte [ebp - 0xe1], 0
jne 0x10018eb4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov dword [ebp - 0x18], 0xf
div ebx
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x1c], 0
lea esi, [edx + edx*2]
mov byte [ebp - 0x2c], 0
shl esi, 3
add eax, esi
push eax
call fcn.100057a0
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
push 0xffffffffffffffff
add eax, esi
mov byte [ebp - 4], 0x18
push 0
push eax
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
call fcn.100057a0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000f570
add esp, 8
cmp dword [ebp - 0x64], 0
je 0x10018e66
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.10008c90
add esp, 8
mov bl, al
jmp 0x10018e68
mov byte [ebp - 0xe1], 1
jmp 0x10018da4
mov bl, 1
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x10018e7d
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.10005ac0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 0x16
cmp eax, 0x10
jb 0x10018ea8
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10005ac0
test bl, bl
jne 0x10018eb4
mov byte [0x100b9818], bl
jmp 0x10018ed1
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x98]
add ecx, 0x48
cmp ecx, eax
je 0x10018ed1
push 0xffffffffffffffff
push 0
push eax
call fcn.100057a0
mov eax, dword [ebp - 0x84]
cmp eax, 0x10
jb 0x10018eef
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.10005ac0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
call fcn.10002430
lea ecx, [ebp - 0x50]
call fcn.10002430
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10018f2f
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.10005ac0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp eax, 0x10
jb 0x10018f5f
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.10005ac0
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
lea ecx, [ebp - 0x30]
call fcn.10002430
lea ecx, [ebp - 0x80]
call fcn.10008480
lea ecx, [ebp - 0x5c]
call fcn.10008480
mov eax, dword [ebp - 0xb4]
cmp eax, 0x10
jb 0x10018fb0
inc eax
lea ecx, [ebp - 0xc8]
push eax
push dword [ebp - 0xc8]
call fcn.10005ac0
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.100524d2
mov esp, ebp
pop ebp
ret 4