Function at 0x43a5a0
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 0x4dc2d6
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 0x43a5f8
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 0x43aae5
cmp dword [ebx], eax
je 0x43a799
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 0x43a6a6
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.0047edb0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43a6c7
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 0x43a710
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.0047edb0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43a731
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 0x43a793
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a789
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ab15
push edx
push ecx
call fcn.0047cf1c
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 0x43aae3
push 0
push 0x84000000
push 0
push 0
push 0
push esi
push 0x4fbbb0
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 0x43aad3
cmp dword [ebx], 0
je 0x43a956
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 0x43a85d
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.0047edb0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43a87e
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 0x43a8c7
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.0047edb0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43a8e8
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 0x43a94a
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a940
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ab1a
push edx
push ecx
call fcn.0047cf1c
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 0x43aad3
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 0x43aaca
push 0
push dword [ebx + 4]
mov dword [ebp - 0x438], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43aaca
push 0
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x438]
push eax
push 0x20000005
push edi
call esi
test eax, eax
je 0x43aaca
mov eax, dword [ebp - 0x43c]
mov ecx, eax
push eax
push dword [ebp - 0x438]
call fcn.00417a50
mov ecx, dword [ebx]
test ecx, ecx
je 0x43aa11
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 0x43aaca
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 0x43aa75
push eax
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x43c]
mov eax, dword [eax]
add eax, esi
push eax
call fcn.0047e830
mov eax, dword [ebp - 0x430]
add esp, 0xc
mov ecx, dword [ebx]
add esi, eax
test ecx, ecx
je 0x43aa83
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 0x43aab0
cmp dword [ebp - 0x430], 0
jbe 0x43aaa5
cmp esi, eax
jb 0x43aa30
mov edx, dword [ebp - 0x43c]
mov ecx, dword [edx + 4]
jmp 0x43aabb
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 0x43aae5
xor eax, eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x43aaf1
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.0047cf2f
mov esp, ebp
pop ebp
ret 0xc
call fcn.004896af
call fcn.004896af
int3