Function at 0x463aa0
Capabilities:
Check if file exists
Create http request
Delete file
Get file attributes
Move file
Query remote server for available data
Read data from internet
Receive data
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587ac2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0
mov esi, ecx
push str.InternetLoader
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x98], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, eax
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 0xb4], 0
mov byte [ebp - 0xb0], 0
mov byte [esi + 0x6f], 1
test ecx, ecx
je 0x464180
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x463b20
mov eax, dword [eax]
push 0
push 0x80003000
push 0
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x46416d
xor eax, eax
push 0x3e
push eax
lea ecx, [ebp - 0x4e]
push ecx
mov word [ebp - 0x50], ax
call fcn.0055bc50
add esp, 0xc
lea edx, [ebp - 0xa4]
push edx
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 5
push edx
mov dword [ebp - 0xac], 0x40
mov dword [ebp - 0xa4], 0
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x463b9e
lea eax, [ebp - 0x50]
push eax
call fcn.0055d1f2
add esp, 4
mov dword [esi + 0x3c], eax
mov edx, dword [esi]
mov eax, dword [esi + 0x3c]
mov edx, dword [edx]
push eax
mov ecx, esi
call edx
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x90], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], eax
push 1
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], eax
call fcn.00463810
mov dword [ebp - 0x174], 0x59dae4
mov dword [ebp - 0x164], 0x59cf74
xor eax, eax
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 2
mov dword [ebp - 0x98], 1
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
call fcn.004030f0
lea eax, [ebp - 0x15c]
push 0x20
lea ecx, [ebp - 0x114]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], ebx
call fcn.00404720
mov byte [ebp - 0xd4], al
cmp dword [ebp - 0xdc], ebx
jne 0x463c6c
mov eax, dword [ebp - 0x108]
or eax, 4
push ebx
push eax
lea ecx, [ebp - 0x114]
call fcn.00402fc0
mov ecx, dword [ebp - 0x164]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x15c]
mov dword [ebp - 4], 7
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.004035a0
xor eax, eax
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
xor ecx, ecx
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x6c], cx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x98], eax
cmp dword [esi + 0x30], eax
je 0x463d8d
lea eax, [esi + 0x20]
push 0x5a4b98
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.0040e570
add esp, 0xc
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xb
call fcn.004060b0
cmp dword [ebp - 0x74], 8
mov byte [ebp - 4], 0xa
jb 0x463d33
mov eax, dword [ebp - 0x88]
push eax
call fcn.0055ae44
add esp, 4
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x463d3f
lea eax, [ebp - 0x6c]
push 0x40
push 0x20
push eax
lea ecx, [ebp - 0x21c]
call fcn.00463570
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x463d5b
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x6c]
or eax, 2
cmp dword [ebp - 0x58], 8
mov dword [ebp - 0x98], eax
jae 0x463d77
lea ecx, [ebp - 0x6c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0xa0], ecx
jmp 0x463d99
lea edx, [ebp - 0x164]
mov dword [ebp - 0xa0], edx
mov ecx, dword [ebp - 0x94]
push 0
push 0
lea eax, [ebp - 0x90]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x463f60
lea esp, [esp]
mov edx, dword [ebp - 0x90]
test edx, edx
je 0x463f60
mov ecx, edi
sub ecx, ebx
mov dword [ebp - 0xc8], edx
cmp ecx, edx
jbe 0x463e00
lea esi, [ebx + edx]
cmp esi, edi
je 0x463e87
push 0
push edi
push esi
call fcn.0055b1c0
mov edx, dword [ebp - 0x90]
add esp, 0xc
mov edi, esi
jmp 0x463e81
jae 0x463e8d
mov eax, ebx
sub eax, edi
add eax, edx
or esi, 0xffffffff
sub esi, eax
cmp esi, ecx
jb 0x463f17
add ecx, eax
mov eax, dword [ebp - 0xbc]
sub eax, ebx
cmp ecx, eax
jbe 0x463e5e
mov edx, eax
shr edx, 1
or esi, 0xffffffff
sub esi, edx
cmp esi, eax
jae 0x463e38
xor eax, eax
jmp 0x463e3a
add eax, edx
cmp eax, ecx
jae 0x463e40
mov eax, ecx
push eax
lea ecx, [ebp - 0xc4]
call fcn.00401ad0
mov edx, dword [ebp - 0x90]
mov edi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xc8]
mov eax, esi
sub eax, edi
add eax, ebx
je 0x463e7e
push eax
push 0
push edi
call fcn.0055bc50
mov edx, dword [ebp - 0x90]
add esp, 0xc
lea edi, [esi + ebx]
mov dword [ebp - 0xc0], edi
mov esi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0xa8]
push eax
push edx
push ebx
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x463ee1
cmp dword [ebp - 0xa0], 0
je 0x463ee1
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa0]
push 0
push edx
push ebx
call fcn.004635e0
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0xa8]
mov edx, dword [esi]
mov dword [ebp - 0x9c], eax
push eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov eax, dword [esi + 0x60]
test eax, eax
je 0x463ef5
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x463f21
mov edx, dword [ebp - 0x94]
push 0
push 0
lea ecx, [ebp - 0x90]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x463dc0
jmp 0x463f60
push str.vector_T__too_long
call fcn.00522d72
lea ecx, [ebp - 0x21c]
mov byte [ebp - 0xb4], 1
call fcn.0040d050
mov eax, dword [ebp - 0x6c]
mov edi, 8
cmp dword [ebp - 0x58], edi
jae 0x463f43
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463f60
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x58], edi
jae 0x463f59
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x9c]
cmp eax, dword [esi + 0x3c]
jne 0x463f6f
mov byte [esi + 0x6f], 0
xor edi, edi
lea eax, [ebp - 0x50]
cmp word [ebp - 0x50], di
je 0x463f8d
lea ebx, [ebx]
xor ecx, ecx
mov word [eax], cx
add eax, 2
cmp word [eax], di
jne 0x463f80
lea edx, [ebp - 0xa4]
push edx
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0x13
push edx
mov dword [ebp - 0xac], 0x40
mov dword [ebp - 0xa4], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x50]
push eax
call fcn.0055d1f2
add esp, 4
mov dword [esi + 0x68], eax
cmp dword [esi + 0x30], edi
jne 0x46401c
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x174]
call fcn.00463a70
mov ecx, dword [esi + 0x5c]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040bf00
cmp dword [ebp - 0x74], 0x10
jb 0x464006
mov edx, dword [ebp - 0x88]
push edx
call fcn.0055ae44
add esp, 4
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x88], 0
jmp 0x4640d9
lea ecx, [ebp - 0x218]
call fcn.00405990
test eax, eax
jne 0x464054
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x210]
lea ecx, [ebp + ecx - 0x21c]
or eax, 2
cmp dword [ecx + 0x38], edi
jne 0x46404d
or eax, 4
push edi
push eax
call fcn.00402fc0
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x464060
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 0x98]
and ecx, 0xfffffffd
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, dword [ebp - 0x8c]
add esi, 0x20
cmp dword [esi + 0x14], 8
jb 0x464084
mov eax, dword [esi]
jmp 0x464086
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
jne 0x4640af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4640af
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x4640aa
lea eax, [ebp - 0x6c]
push eax
call edi
jmp 0x4640d9
mov eax, 8
cmp dword [esi + 0x14], eax
jb 0x4640bb
mov esi, dword [esi]
cmp dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x6c]
jae 0x4640c6
lea eax, [ebp - 0x6c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne cl
mov byte [ebp - 0xb0], cl
mov edx, dword [ebp - 0x94]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x58], 8
jb 0x4640f8
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0055ae44
add esp, 4
xor ecx, ecx
mov word [ebp - 0x6c], cx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 1
call fcn.004633c0
lea edx, [ebp - 0x114]
mov esi, vtable.std::ios_base.0
push edx
mov dword [ebp - 0x114], esi
call fcn.005234a2
add esp, 4
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0
call fcn.00406660
lea eax, [ebp - 0x1bc]
push eax
mov dword [ebp - 0x1bc], esi
call fcn.005234a2
add esp, 4
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x46416d
push ebx
call fcn.0055ae44
add esp, 4
mov ecx, dword [ebp - 0xcc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [esi]
mov edx, dword [edx + 8]
push eax
push ecx
mov ecx, esi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret