Function at 0x48eae0
Capabilities:
Check if file exists
Delete file
Download url
Get common file path
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x58a321
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x44c], eax
push ebx
push ebp
push esi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x56]
mov ebx, 1
mov dword [esp + 0x470], ebx
push ecx
mov word [esp + 0x58], ax
call fcn.0052e300
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x25e]
push eax
mov word [esp + 0x260], dx
call fcn.0052e300
add esp, 0xc
lea ecx, [esp + 0x254]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x104
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov eax, dword [esp + 0x474]
mov ebp, 8
cmp dword [esp + 0x488], ebp
jae 0x48ebaf
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push ebx
push 0x59afa4
lea eax, [esp + 0x478]
call fcn.00404070
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x2c], esp
push 2
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push 0x5aaa1c
mov word [esi + 4], cx
call fcn.00406150
push 0x1869f
push 0x2710
mov byte [esp + 0x48c], 2
call fcn.00490890
add esp, 8
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x488], bl
call fcn.004939c0
add esp, 0x20
push 0xffffffffffffffff
push 0
push eax
lea esi, [esp + 0x47c]
mov byte [esp + 0x474], 3
call fcn.00403f60
mov byte [esp + 0x468], bl
cmp dword [esp + 0x2c], ebp
jb 0x48ec52
mov edx, dword [esp + 0x18]
push edx
call fcn.005273b8
add esp, 4
xor ebx, ebx
xor eax, eax
mov word [esp + 0x34], ax
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48ec70
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x50]
push ecx
lea esi, [esp + 0x38]
call fcn.00406150
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x494]
push edx
mov byte [esp + 0x474], 4
call fcn.00403f60
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x48ecb4
lea eax, [esp + 0x34]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x48ecd6
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x48eccf
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x474]
cmp dword [esp + 0x488], ebp
jae 0x48eced
lea eax, [esp + 0x474]
push eax
push 0x5d20bc
call fcn.004936d0
mov ecx, dword [esp + 0x3c]
add esp, 8
cmp dword [esp + 0x48], ebp
jae 0x48ed09
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x474]
cmp dword [esp + 0x488], ebp
jae 0x48ed20
lea eax, [esp + 0x474]
push ebx
push ebx
push ecx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileW
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x48ed38
lea eax, [esp + 0x34]
push eax
call esi
test eax, eax
mov eax, dword [esp + 0x474]
jne 0x48edf7
cmp dword [esp + 0x488], ebp
jae 0x48ed5a
lea eax, [esp + 0x474]
push eax
push 0x5d20d4
call fcn.004936d0
add esp, 8
push ebx
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push 0x59b2fc
mov esi, edi
mov word [edi + 4], ax
call fcn.00406150
cmp dword [esp + 0x48], ebp
jb 0x48ed98
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005273b8
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], dx
cmp dword [esp + 0x488], ebp
jb 0x48edc5
mov eax, dword [esp + 0x474]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
mov dword [esp + 0x488], esi
mov dword [esp + 0x484], ebx
mov word [esp + 0x474], cx
cmp dword [esp + 0x4a4], ebp
jb 0x48eea1
mov edx, dword [esp + 0x490]
push edx
jmp 0x48ee99
cmp dword [esp + 0x488], ebp
jae 0x48ee07
lea eax, [esp + 0x474]
push eax
push 0x5d20e8
call fcn.004936d0
add esp, 8
push 0xffffffffffffffff
xor eax, eax
mov esi, 7
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push ebx
lea ecx, [esp + 0x38]
mov word [edi + 4], ax
push ecx
mov eax, edi
call fcn.00405d70
cmp dword [esp + 0x48], ebp
jb 0x48ee48
mov edx, dword [esp + 0x34]
push edx
call fcn.005273b8
add esp, 4
xor eax, eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
cmp dword [esp + 0x488], ebp
jb 0x48ee70
mov ecx, dword [esp + 0x474]
push ecx
call fcn.005273b8
add esp, 4
xor edx, edx
mov dword [esp + 0x488], esi
mov dword [esp + 0x484], ebx
mov word [esp + 0x474], dx
cmp dword [esp + 0x4a4], ebp
jb 0x48eea1
mov eax, dword [esp + 0x490]
push eax
call fcn.005273b8
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.005273c3
add esp, 0x45c
ret