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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5182f1
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x56d06c]
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
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x270], edi
test edi, edi
jne 0x45b574
xor eax, eax
jmp 0x45b77c
cmp dword [ebx + 0x14c], 0
jne 0x45b603
push ecx
lea eax, [edi + 0x74]
mov edx, 0xa
push eax
lea ecx, [ebp - 0x26c]
call fcn.0043b190
add esp, 8
lea esi, [ebx + 0x13c]
mov edi, eax
cmp esi, edi
je 0x45b5df
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x45b5b8
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0041e1c0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x45b5d0
mov eax, dword [esi]
jmp 0x45b5d2
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.0041de40
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x45b5fd
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.0041e1c0
mov edi, dword [ebp - 0x270]
xor eax, eax
mov dword [ebp - 0x250], 0
xorps xmm0, xmm0
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 1
lea esi, [ebx + 0x13c]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x254], eax
jb 0x45b65d
mov eax, dword [esi]
jmp 0x45b65f
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b68c
cmp dword [esi + 0x14], 8
jb 0x45b674
mov eax, dword [esi]
jmp 0x45b676
mov eax, esi
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00419a80
lea ecx, [ebp - 0x254]
call fcn.004417c0
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e9ab0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x45b6ac
mov eax, dword [esi]
jmp 0x45b6ae
mov eax, esi
push 0
push 0
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHELL32.dll_PathYetAnotherMakeUniqueName]
cmp word [ebp - 0x21c], 0
jne 0x45b6ce
xor ecx, ecx
jmp 0x45b6e6
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b6d7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.0041dd00
cmp dword [edi + 0x58], 8
lea esi, [edi + 0x44]
jb 0x45b702
mov eax, dword [esi]
jmp 0x45b704
mov eax, esi
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
cmp dword [esi + 0x14], 8
jb 0x45b713
mov esi, dword [esi]
push ebx
push 0
lea eax, [ebp - 0x21c]
push eax
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [0x586c78]
test cl, 1
jne 0x45b755
or ecx, 1
mov dword [0x586c78], ecx
call fcn.00442000
push 0x51adc0
call fcn.00471b28
add esp, 4
push esi
push 0x55c3ec
push 1
push 0x586c7c
call fcn.00442dd0
add esp, 0x10
lea ecx, [ebp - 0x254]
call fcn.00440ee0
xor eax, eax
test esi, esi
setns al
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.00471876
mov esp, ebp
pop ebp
ret 4