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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583e49
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x60b044]
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 [0x61554c], 0
mov edi, dword [ebp + 8]
lea esi, [edi + 0x78]
jne 0x41597a
push 0x1d4
call fcn.0041aff4
add esp, 4
mov dword [ebp - 0x280], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00408c00
mov dword [ebp - 4], 0xffffffff
mov dword [0x61554c], eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00409160
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.004142f0
push eax
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.0040f5d0
add esp, 4
push 0x602760
push eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
call fcn.0040f620
add esp, 0xc
mov ebx, eax
cmp esi, ebx
je 0x415a0d
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4159e6
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00403400
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4159fe
mov eax, dword [esi]
jmp 0x415a00
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00402bf0
mov eax, dword [ebp - 0x250]
cmp eax, 8
jb 0x415a2b
inc eax
lea ecx, [ebp - 0x264]
push eax
push dword [ebp - 0x264]
call fcn.00403400
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 0x415a66
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00403400
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 0x415aa5
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00403400
cmp dword [esi + 0x14], 8
jb 0x415aaf
mov eax, dword [esi]
jmp 0x415ab1
mov eax, esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
jne 0x415d69
lea eax, [ebp - 0x24c]
mov ecx, edi
push eax
call fcn.004142f0
push eax
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x264]
call fcn.0040f5d0
add esp, 4
push str..jpg
push eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 6
push eax
call fcn.0040f620
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x280], ecx
cmp esi, ecx
je 0x415b4e
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x415b27
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00403400
mov ecx, dword [ebp - 0x280]
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x415b3f
mov eax, dword [esi]
jmp 0x415b41
mov eax, esi
xor edx, edx
push ecx
mov ecx, esi
mov word [eax], dx
call fcn.00402bf0
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x415b6c
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00403400
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 0x415ba7
inc eax
lea ecx, [ebp - 0x264]
push eax
push dword [ebp - 0x264]
call fcn.00403400
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 0x415be6
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00403400
cmp dword [esi + 0x14], 8
jb 0x415bf0
mov eax, dword [esi]
jmp 0x415bf2
mov eax, esi
push eax
call ebx
test eax, eax
jne 0x415d69
lea eax, [ebp - 0x24c]
mov ecx, edi
push eax
call fcn.00414570
push eax
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x234]
call fcn.0040f5d0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x280], ecx
cmp esi, ecx
je 0x415c70
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x415c49
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00403400
mov ecx, dword [ebp - 0x280]
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x415c61
mov eax, dword [esi]
jmp 0x415c63
mov eax, esi
xor edx, edx
push ecx
mov ecx, esi
mov word [eax], dx
call fcn.00402bf0
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x415c8e
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00403400
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 0x415ccd
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00403400
push 0x1869f
push 0x2710
call fcn.0042022f
lea ecx, [edi + 0x30]
mov dword [ebp - 0x280], eax
push ecx
lea eax, [ebp - 0x24c]
push eax
call fcn.00428854
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x415cfd
mov eax, dword [eax]
push dword [ebp - 0x280]
push eax
lea eax, [ebp - 0x21c]
push str._s__d
push eax
call fcn.00402ca0
mov eax, dword [ebp - 0x238]
add esp, 0x10
cmp eax, 8
jb 0x415d36
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00403400
cmp dword [esi + 0x14], 8
jb 0x415d40
mov eax, dword [esi]
jmp 0x415d42
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 0x415d5e
mov esi, dword [esi]
push esi
call ebx
test eax, eax
jne 0x415d69
xor bl, bl
jmp 0x415d6b
mov bl, 1
mov ecx, dword [ebp - 0x268]
cmp ecx, 8
jb 0x415d89
inc ecx
push ecx
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x27c]
call fcn.00403400
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.0041afe3
mov esp, ebp
pop ebp
ret 4