Function at 0x468770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5740c4
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2dc], ecx
lea ecx, [ebp - 0x78]
call fcn.0040c300
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.0040c300
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 2
push 0
push str.url_list
lea ecx, [ebp - 0x5c]
call fcn.005604e0
movzx edx, al
test edx, edx
jne 0x468810
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00560580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.0040c370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0040c370
jmp 0x468f84
mov dword [ebp - 0xec], 0
jmp 0x46882b
mov eax, dword [ebp - 0xec]
add eax, 1
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xf0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xec]
push edx
push 0x58bb50
lea ecx, [ebp - 0xf0]
call fcn.005604e0
movzx eax, al
test eax, eax
jne 0x46886a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.00560580
jmp 0x468912
lea ecx, [ebp - 0x184]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.00560670
mov dword [ebp - 0x2e0], eax
mov edx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2e4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040c3f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call fcn.00404950
push 0x58bb54
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.00560600
mov dword [ebp - 0x2e8], eax
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2ec]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0040c3f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1a0]
call fcn.00404950
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.00560580
jmp 0x46881c
lea ecx, [ebp - 0x78]
call fcn.0040c890
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x468952
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00560580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.0040c370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0040c370
jmp 0x468f84
lea ecx, [ebp - 0xd0]
call fcn.004048c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.004048c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.004048c0
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 9
push 0
push str.param
lea ecx, [ebp - 0x58]
call fcn.005604e0
movzx eax, al
test eax, eax
je 0x468a28
lea ecx, [ebp - 0x1bc]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00560670
mov dword [ebp - 0x2f0], eax
mov edx, dword [ebp - 0x2f0]
mov dword [ebp - 0x2f4], edx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2f4]
call fcn.004048a0
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.00568540
add esp, 8
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x2f8]
mov dword [ebp - 0x2fc], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x2fc]
push edx
lea ecx, [ebp - 0xd0]
call fcn.00401470
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1d8]
call fcn.00404950
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1bc]
call fcn.00404950
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xc
push 0
push str.local_filename
lea ecx, [ebp - 0x14]
call fcn.005604e0
movzx edx, al
test edx, edx
je 0x468ad1
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x14]
call fcn.00560670
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
mov dword [ebp - 0x304], ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x304]
call fcn.004048a0
push eax
lea edx, [ebp - 0x210]
push edx
call fcn.00568540
add esp, 8
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x30c]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00401470
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x210]
call fcn.00404950
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1f4]
call fcn.00404950
lea ecx, [ebp - 0x54]
call fcn.00401610
test eax, eax
jne 0x468b2b
push 0
lea ecx, [ebp - 0x78]
call fcn.0040f770
push eax
lea edx, [ebp - 0x22c]
push edx
call fcn.00569d60
add esp, 8
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x314], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x314]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00401470
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x22c]
call fcn.00404950
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0x10
push 0
push str.local_path
lea ecx, [ebp - 0x98]
call fcn.005604e0
movzx ecx, al
test ecx, ecx
je 0x468cdd
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x98]
call fcn.00560670
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x318]
mov dword [ebp - 0x31c], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x31c]
call fcn.004048a0
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.00568540
add esp, 8
mov dword [ebp - 0x320], eax
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x324], edx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x324]
call fcn.004048a0
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00568260
add esp, 8
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x264]
call fcn.00404950
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x248]
call fcn.00404950
push 0x58bb7c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x268], esp
lea edx, [ebp - 0x10c]
push edx
call fcn.004017b0
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x284]
push eax
call fcn.00419960
add esp, 0x20
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x330], ecx
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x330]
call fcn.00401830
push eax
lea edx, [ebp - 0x2a0]
push edx
call fcn.00569590
add esp, 8
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x338], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x338]
push ecx
lea edx, [ebp - 0x2bc]
push edx
call fcn.00403a60
add esp, 0xc
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x340]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00401470
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2bc]
call fcn.00404950
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2a0]
call fcn.00404950
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x284]
call fcn.004017f0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x10c]
call fcn.004017f0
jmp 0x468d23
lea edx, [ebp - 0x2d8]
push edx
call fcn.004686f0
add esp, 4
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x348]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00401470
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2d8]
call fcn.00404950
push 0x58bb80
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.00560600
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0x94]
push edx
call fcn.00403af0
add esp, 0xc
mov byte [ebp - 4], 0x1b
mov byte [ebp - 0xd], 0
mov byte [ebp - 0x5d], 0
lea ecx, [ebp - 0x94]
call fcn.004048a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x468e11
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.0056f7d0
add esp, 8
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x12c], 0
jmp 0x468dad
mov edx, dword [ebp - 0x12c]
add edx, 1
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x38]
jge 0x468deb
lea ecx, [ebp - 0x128]
call fcn.004048a0
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.0040f770
push eax
call fcn.005680d0
add esp, 8
test eax, eax
je 0x468de9
mov byte [ebp - 0x5d], 1
jmp 0x468deb
jmp 0x468d9e
movzx edx, byte [ebp - 0x5d]
test edx, edx
jne 0x468e02
lea eax, [ebp - 0x94]
push eax
call fcn.00569c50
add esp, 4
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x128]
call fcn.00404950
movzx ecx, byte [ebp - 0x5d]
test ecx, ecx
jne 0x468ed1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
div dword [ebp - 0x38]
mov dword [ebp - 0x130], edx
mov edx, dword [ebp - 0x130]
push edx
lea ecx, [ebp - 0x78]
call fcn.0040f770
push eax
lea ecx, [ebp - 0x168]
call fcn.00404910
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0040f770
push eax
lea ecx, [ebp - 0x14c]
call fcn.00404910
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x168]
push edx
call fcn.005608c0
add esp, 8
lea ecx, [ebp - 0x14c]
call fcn.00401610
test eax, eax
je 0x468eaf
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.0056f630
add esp, 8
mov byte [ebp - 0x5d], al
jmp 0x468eb3
mov byte [ebp - 0x5d], 1
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x14c]
call fcn.00404950
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x168]
call fcn.00404950
movzx edx, byte [ebp - 0x5d]
test edx, edx
je 0x468eee
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x2dc]
add ecx, 0x38
call fcn.00401470
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x94]
call fcn.00404950
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x34]
call fcn.00404950
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x98]
call fcn.00560580
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.00560580
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.00560580
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00404950
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.00404950
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.00404950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00560580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.0040c370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0040c370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret 4