Function at 0x43a3c0
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 ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc136
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x50d080]
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 ecx, dword [ebx]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x430], esi
test ecx, ecx
je 0x43a418
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx]
push str.Initializing_...
mov eax, dword [ecx]
call dword [eax]
push 0
push 0
push 0
push 0
push str.SpreadsheetTools
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x438], eax
xor eax, eax
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x438], eax
je 0x43a905
cmp dword [ebx], eax
je 0x43a5b9
push 0xe
push str.Connecting_to
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
call fcn.00410170
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x418]
mov eax, edx
mov ecx, dword [ebp - 0x41c]
sub eax, ecx
cmp eax, 0x14
jb 0x43a4c6
cmp edx, 8
lea esi, [ebp - 0x42c]
push 0x28
cmovae esi, dword [ebp - 0x42c]
lea edi, [ecx + 0x14]
push str.SpreadsheetTools.com
mov dword [ebp - 0x41c], edi
lea eax, [esi + ecx*2]
push eax
call fcn.0047ec50
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43a4e7
push 0x14
push str.SpreadsheetTools.com
mov byte [ebp - 0x434], 0
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x434]
push 0x14
call fcn.0040a8f0
mov edx, dword [ebp - 0x418]
mov eax, edx
mov ecx, dword [ebp - 0x41c]
sub eax, ecx
cmp eax, 4
jb 0x43a530
cmp edx, 8
lea esi, [ebp - 0x42c]
push 8
cmovae esi, dword [ebp - 0x42c]
lea edi, [ecx + 4]
push str._...
mov dword [ebp - 0x41c], edi
lea eax, [esi + ecx*2]
push eax
call fcn.0047ec50
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43a551
push 4
push str._...
mov byte [ebp - 0x434], 0
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x434]
push 4
call fcn.0040a8f0
mov ecx, dword [ebx]
lea edx, [ebp - 0x42c]
cmp dword [ebp - 0x418], 8
cmovae edx, dword [ebp - 0x42c]
mov eax, dword [ecx]
push edx
call dword [eax]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x43a5b3
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a5a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a935
push edx
push ecx
call fcn.0047cdbf
add esp, 8
mov esi, dword [ebp - 0x430]
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.SpreadsheetTools.com
push dword [ebp - 0x438]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x448], eax
test eax, eax
je 0x43a903
push 0
push 0x84000000
push 0
push 0
push 0
push esi
push 0x4fbc80
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
je 0x43a8f3
cmp dword [ebx], 0
je 0x43a776
push str.Downloading_from
lea ecx, [ebp - 0x42c]
call fcn.00405a00
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x418]
mov eax, edx
mov ecx, dword [ebp - 0x41c]
sub eax, ecx
cmp eax, 0x14
jb 0x43a67d
cmp edx, 8
lea esi, [ebp - 0x42c]
push 0x28
cmovae esi, dword [ebp - 0x42c]
lea edi, [ecx + 0x14]
push str.SpreadsheetTools.com
mov dword [ebp - 0x41c], edi
lea eax, [esi + ecx*2]
push eax
call fcn.0047ec50
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43a69e
push 0x14
push str.SpreadsheetTools.com
mov byte [ebp - 0x434], 0
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x434]
push 0x14
call fcn.0040a8f0
mov edx, dword [ebp - 0x418]
mov eax, edx
mov ecx, dword [ebp - 0x41c]
sub eax, ecx
cmp eax, 4
jb 0x43a6e7
cmp edx, 8
lea esi, [ebp - 0x42c]
push 8
cmovae esi, dword [ebp - 0x42c]
lea edi, [ecx + 4]
push str._...
mov dword [ebp - 0x41c], edi
lea eax, [esi + ecx*2]
push eax
call fcn.0047ec50
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43a708
push 4
push str._...
mov byte [ebp - 0x434], 0
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x434]
push 4
call fcn.0040a8f0
mov ecx, dword [ebx]
lea edx, [ebp - 0x42c]
cmp dword [ebp - 0x418], 8
cmovae edx, dword [ebp - 0x42c]
mov eax, dword [ecx]
push edx
call dword [eax]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x43a76a
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a760
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a93a
push edx
push ecx
call fcn.0047cdbf
add esp, 8
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x430]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x43a8f3
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x434]
push 0
push eax
lea eax, [ebp - 0x444]
mov dword [ebp - 0x434], 4
push eax
push 0x20000013
push edi
mov dword [ebp - 0x444], 0
call esi
cmp dword [ebp - 0x444], 0x190
jae 0x43a8ea
push 0
push dword [ebx + 4]
mov dword [ebp - 0x438], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43a8ea
push 0
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x438]
push eax
push 0x20000005
push edi
call esi
test eax, eax
je 0x43a8ea
mov eax, dword [ebp - 0x43c]
mov ecx, eax
push eax
push dword [ebp - 0x438]
call fcn.00417600
mov ecx, dword [ebx]
test ecx, ecx
je 0x43a831
mov eax, dword [ecx]
push dword [ebp - 0x438]
call dword [eax + 4]
xor esi, esi
push esi
push dword [ebx + 4]
mov dword [ebp - 0x430], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43a8ea
nop dword [eax + eax]
lea eax, [ebp - 0x430]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x43a895
push eax
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x43c]
mov eax, dword [eax]
add eax, esi
push eax
call fcn.0047e6d0
mov eax, dword [ebp - 0x430]
add esp, 0xc
mov ecx, dword [ebx]
add esi, eax
test ecx, ecx
je 0x43a8a3
mov eax, dword [ecx]
push esi
call dword [eax + 8]
push 0
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov eax, dword [ebp - 0x438]
je 0x43a8d0
cmp dword [ebp - 0x430], 0
jbe 0x43a8c5
cmp esi, eax
jb 0x43a850
mov edx, dword [ebp - 0x43c]
mov ecx, dword [edx + 4]
jmp 0x43a8db
mov edx, dword [ebp - 0x43c]
mov ecx, dword [edx]
mov dword [edx + 4], ecx
sub ecx, dword [edx]
xor edx, edx
cmp ecx, eax
sete dl
mov dword [ebp - 0x440], edx
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x448]
call esi
mov eax, dword [ebp - 0x440]
jmp 0x43a905
xor eax, eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x43a911
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x440]
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.0047cdd2
mov esp, ebp
pop ebp
ret 0xc
call fcn.0048954f
call fcn.0048954f
int3