Function at 0x423ffc
Capabilities:
Check http status code
Connect to http server
Create http request
Get http content length
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0x440
mov eax, 0x447bef
call fcn.0042be30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [esi]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x434], eax
cmp ecx, ebx
je 0x424040
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi]
mov eax, dword [ecx]
push str.Initializing_...
call dword [eax]
push ebx
push ebx
push ebx
push ebx
push str.SpreadsheetTools
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x440], ebx
cmp eax, ebx
je 0x424349
mov edi, str._...
cmp dword [esi], ebx
je 0x4240df
push str.Connecting_to
lea ecx, [ebp - 0x42c]
call fcn.00408d30
push dword [ebp - 0x430]
mov dword [ebp - 4], ebx
call fcn.0042c241
pop ecx
push eax
push dword [ebp - 0x430]
lea ecx, [ebp - 0x42c]
call fcn.0040d2e0
push edi
call fcn.0042c241
pop ecx
push eax
push edi
lea ecx, [ebp - 0x42c]
call fcn.0040d2e0
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jae 0x4240c6
lea eax, [ebp - 0x42c]
mov ecx, dword [esi]
mov edx, dword [ecx]
push eax
call dword [edx]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x42c]
call fcn.00409e10
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push dword [ebp - 0x430]
push dword [ebp - 0x448]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x44c], eax
cmp eax, ebx
je 0x424349
push ebx
push 0x84000000
push ebx
push ebx
push ebx
push dword [ebp - 0x444]
push 0x44d3c4
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x43c], eax
cmp eax, ebx
je 0x42433d
cmp dword [esi], ebx
je 0x4241ab
push str.Downloading_from
lea ecx, [ebp - 0x42c]
call fcn.00408d30
push dword [ebp - 0x430]
mov dword [ebp - 4], 1
call fcn.0042c241
pop ecx
push eax
push dword [ebp - 0x430]
lea ecx, [ebp - 0x42c]
call fcn.0040d2e0
push edi
call fcn.0042c241
pop ecx
push eax
push edi
lea ecx, [ebp - 0x42c]
call fcn.0040d2e0
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jae 0x424192
lea eax, [ebp - 0x42c]
mov ecx, dword [esi]
mov edx, dword [ecx]
push eax
call dword [edx]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x42c]
call fcn.00409e10
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x43c]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x42433d
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x444]
push eax
push 0x20000013
push dword [ebp - 0x43c]
mov dword [ebp - 0x448], 4
mov dword [ebp - 0x444], ebx
call edi
cmp dword [ebp - 0x444], 0x190
jae 0x424331
mov ecx, esi
mov dword [ebp - 0x438], ebx
call fcn.00423fb8
test eax, eax
jne 0x424331
push ebx
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x438]
push eax
push 0x20000005
push dword [ebp - 0x43c]
call edi
test eax, eax
je 0x424331
mov edi, dword [ebp - 0x434]
push dword [ebp - 0x438]
mov ecx, edi
call fcn.0040d8e0
mov ecx, dword [esi]
cmp ecx, ebx
je 0x424262
push dword [ebp - 0x438]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
call fcn.00423fb8
test eax, eax
jne 0x424331
lea eax, [ebp - 0x430]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x43c]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x430], ebx
je 0x4242c2
push dword [ebp - 0x430]
lea eax, [ebp - 0x410]
push eax
mov eax, dword [edi]
add eax, dword [ebp - 0x434]
push eax
call fcn.0042b3e0
add esp, 0xc
mov eax, dword [ebp - 0x430]
mov ecx, dword [esi]
add dword [ebp - 0x434], eax
cmp ecx, ebx
je 0x4242df
push dword [ebp - 0x434]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
call fcn.00423fb8
test eax, eax
jne 0x424306
cmp dword [ebp - 0x430], ebx
jbe 0x42431b
mov eax, dword [ebp - 0x434]
cmp eax, dword [ebp - 0x438]
jb 0x42427d
jmp 0x42431b
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x440]
push eax
mov ecx, edi
call fcn.00409430
mov eax, dword [edi + 4]
sub eax, dword [edi]
sub eax, dword [ebp - 0x438]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x440], eax
push dword [ebp - 0x43c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x44c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [esi]
cmp esi, ebx
je 0x42435c
push dword [ebp - 0x440]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [ebp - 0x440]
call fcn.0042beb3
ret 0xc