Function at 0x415d70
Capabilities:
Check if file exists
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584f79
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x60c044]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x61654c], 0
mov edi, dword [ebp + 8]
lea esi, [edi + 0x78]
jne 0x415dda
push 0x1d4
call fcn.0041b472
add esp, 4
mov dword [ebp - 0x280], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00409040
mov dword [ebp - 4], 0xffffffff
mov dword [0x61654c], eax
lea eax, [ebp - 0x27c]
push eax
call fcn.004095a0
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00414750
push eax
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.0040fa10
add esp, 4
push 0x603910
push eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
call fcn.0040fa60
add esp, 0xc
mov ebx, eax
cmp esi, ebx
je 0x415e6d
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x415e46
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00403830
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x415e5e
mov eax, dword [esi]
jmp 0x415e60
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00403020
mov eax, dword [ebp - 0x250]
cmp eax, 8
jb 0x415e8b
inc eax
lea ecx, [ebp - 0x264]
push eax
push dword [ebp - 0x264]
call fcn.00403830
xor eax, eax
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x254], 0
cmp eax, 8
jb 0x415ec6
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00403830
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
cmp eax, 8
jb 0x415f05
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00403830
cmp dword [esi + 0x14], 8
jb 0x415f0f
mov eax, dword [esi]
jmp 0x415f11
mov eax, esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
jne 0x4161c9
lea eax, [ebp - 0x24c]
mov ecx, edi
push eax
call fcn.00414750
push eax
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x264]
call fcn.0040fa10
add esp, 4
push str..jpg
push eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 6
push eax
call fcn.0040fa60
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x280], ecx
cmp esi, ecx
je 0x415fae
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x415f87
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00403830
mov ecx, dword [ebp - 0x280]
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x415f9f
mov eax, dword [esi]
jmp 0x415fa1
mov eax, esi
xor edx, edx
push ecx
mov ecx, esi
mov word [eax], dx
call fcn.00403020
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x415fcc
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00403830
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x224], 0
cmp eax, 8
jb 0x416007
inc eax
lea ecx, [ebp - 0x264]
push eax
push dword [ebp - 0x264]
call fcn.00403830
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x264], ax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], 0
cmp eax, 8
jb 0x416046
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00403830
cmp dword [esi + 0x14], 8
jb 0x416050
mov eax, dword [esi]
jmp 0x416052
mov eax, esi
push eax
call ebx
test eax, eax
jne 0x4161c9
lea eax, [ebp - 0x24c]
mov ecx, edi
push eax
call fcn.004149d0
push eax
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x234]
call fcn.0040fa10
mov ecx, eax
add esp, 4
mov dword [ebp - 0x280], ecx
cmp esi, ecx
je 0x4160d0
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4160a9
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00403830
mov ecx, dword [ebp - 0x280]
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4160c1
mov eax, dword [esi]
jmp 0x4160c3
mov eax, esi
xor edx, edx
push ecx
mov ecx, esi
mov word [eax], dx
call fcn.00403020
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x4160ee
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00403830
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
cmp eax, 8
jb 0x41612d
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00403830
push 0x1869f
push 0x2710
call fcn.00420fe9
lea ecx, [edi + 0x30]
mov dword [ebp - 0x280], eax
push ecx
lea eax, [ebp - 0x24c]
push eax
call fcn.004298b1
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x41615d
mov eax, dword [eax]
push dword [ebp - 0x280]
push eax
lea eax, [ebp - 0x21c]
push str._s__d
push eax
call fcn.004030d0
mov eax, dword [ebp - 0x238]
add esp, 0x10
cmp eax, 8
jb 0x416196
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00403830
cmp dword [esi + 0x14], 8
jb 0x4161a0
mov eax, dword [esi]
jmp 0x4161a2
mov eax, esi
push 0
push 0
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
cmp dword [esi + 0x14], 8
jb 0x4161be
mov esi, dword [esi]
push esi
call ebx
test eax, eax
jne 0x4161c9
xor bl, bl
jmp 0x4161cb
mov bl, 1
mov ecx, dword [ebp - 0x268]
cmp ecx, 8
jb 0x4161e9
inc ecx
push ecx
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x27c]
call fcn.00403830
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041b461
mov esp, ebp
pop ebp
ret 4