Function at 0x40cf0d
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0x690
mov eax, 0x4813b4
call fcn.00455d8d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x66c], eax
xor edi, edi
push 0xffffffffffffffff
xor ebx, ebx
lea ecx, [eax + 4]
inc edi
push ebx
lea eax, [ebp + 0x28]
mov dword [ebp - 4], edi
call fcn.004017fd
xor eax, eax
mov dword [ebp - 0x630], 7
mov dword [ebp - 0x634], ebx
mov word [ebp - 0x644], ax
sub esp, 0x1c
lea eax, [ebp + 0xc]
mov esi, esp
mov dword [ebp - 0x670], esp
push eax
mov byte [ebp - 4], 2
call fcn.00402d78
push dword [ebp - 0x66c]
lea ecx, [ebp - 0x648]
call fcn.0040cc1c
mov esi, 0x104
push esi
lea eax, [ebp - 0x424]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push ebx
push esi
lea eax, [ebp - 0x62c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x424]
push ebx
push eax
call fcn.0044e09b
add esp, 0x24
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x66c], esi
mov byte [ebp - 0x665], 1
push ebx
cmp esi, ebx
jne 0x40cff0
push edi
lea esi, [ebp - 0x648]
call fcn.00401999
push ebx
push edi
lea esi, [ebp + 0xc]
call fcn.00401999
push ebx
push edi
jmp 0x40d21e
push ebx
push 3
push ebx
push ebx
push 0x1bb
push str.oms.symantec.com
push esi
mov byte [ebp - 4], 3
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x670], eax
cmp eax, ebx
jne 0x40d01e
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
jmp 0x40cfd3
push dword [ebp - 0x634]
lea eax, [ebp - 0x21c]
push str.Content_Length:__d_n
push 0x100
push eax
call fcn.0044db79
add esp, 0x10
push ebx
push 0xc00080
push ebx
push ebx
push ebx
push str.b_ss__6
push str.POST
push dword [ebp - 0x670]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x674], eax
cmp eax, ebx
jne 0x40d07e
push dword [ebp - 0x670]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x66c]
call esi
jmp 0x40d01b
push dword [ebp - 0x634]
lea eax, [ebp - 0x648]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x67c], esp
push eax
call fcn.00402d78
lea eax, [ebp - 0x69c]
push eax
call fcn.00402cc2
add esp, 0x20
cmp dword [eax + 0x18], 0x10
jb 0x40d0b5
mov eax, dword [eax + 4]
jmp 0x40d0b8
add eax, 4
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0044d1f0
pop ecx
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x674]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
neg eax
sbb al, al
push ebx
inc al
push edi
lea ecx, [ebp - 0x69c]
mov byte [ebp - 0x666], al
call fcn.004021e1
cmp byte [ebp - 0x666], bl
je 0x40d106
mov byte [ebp - 0x665], bl
jmp 0x40d1b3
push ebx
push ebx
lea eax, [ebp - 0x678]
push eax
push dword [ebp - 0x674]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x40d0fb
mov eax, dword [ebp - 0x678]
inc eax
push eax
call fcn.0044b156
mov esi, eax
mov eax, dword [ebp - 0x678]
pop ecx
inc eax
push eax
push ebx
push esi
call fcn.0044d3d0
add esp, 0xc
lea eax, [ebp - 0x680]
push eax
push dword [ebp - 0x678]
push esi
push dword [ebp - 0x674]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40d168
push esi
call fcn.0044d69b
pop ecx
jmp 0x40d0fb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x67c], esp
push esi
call fcn.00401fee
lea eax, [ebp - 0x664]
push eax
call fcn.00402c22
add esp, 0x20
push esi
call fcn.0044d69b
pop ecx
lea eax, [ebp - 0x664]
push eax
call fcn.0040d81e
push ebx
lea esi, [ebp - 0x664]
push edi
cmp eax, 0xffffffff
je 0x40d1ae
mov byte [ebp - 0x665], bl
call fcn.00401999
push dword [ebp - 0x670]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x66c]
call esi
push dword [ebp - 0x674]
call esi
push ebx
push edi
lea esi, [ebp - 0x648]
call fcn.00401999
push ebx
push edi
lea esi, [ebp + 0xc]
call fcn.00401999
push ebx
push edi
lea esi, [ebp + 0x28]
call fcn.00401999
mov al, byte [ebp - 0x665]
jmp 0x40d228
lea esi, [ebp + 0x28]
call fcn.00401999
xor al, al
call fcn.00455de9
ret 0x3c