Function at 0x40724a
Capabilities:
Check http status code
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1428
call fcn.0041c5d0
mov eax, dword [0x42f080]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x4c]
mov dword [ebp - 0x1418], eax
mov ebx, edx
call fcn.00407fcf
push str.http:__center.rising.com.cn_urg.asp_v12
push edi
call fcn.00407522
test eax, eax
jne 0x407292
mov eax, SysReAllocStringLen
jmp 0x407511
mov ecx, edi
call fcn.004060bc
test eax, eax
je 0x40750e
xor esi, esi
cmp dword [edi + 0x44], esi
je 0x4072b9
push 2
pop ebx
mov esi, edi
call fcn.004079e5
mov eax, ebx
jmp 0x407511
mov eax, dword [edi + 0x28]
push esi
push 0x4400010
push 0x430e44
push esi
push str.HTTP_1.0
push eax
push 0x42ace4
push dword [edi + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [edi + 0xc], eax
cmp eax, esi
jne 0x4072f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x54], eax
or ebx, 0xffffffff
jmp 0x4072ab
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x40733d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, edi
mov dword [edi + 0x54], eax
call fcn.004079e5
mov edi, dword [edi + 0x54]
sub edi, 0x2ee2
je 0x407333
sub edi, 5
je 0x407329
sub edi, 0x16
jne 0x40750e
mov eax, reloc.OLEAUT32.dll_VariantClear
jmp 0x407511
mov eax, VariantClear
jmp 0x407511
push esi
lea eax, [ebp - 0x1424]
push eax
lea eax, [ebp - 0x1420]
push eax
push 0x20000013
push dword [edi + 0xc]
mov dword [ebp - 0x1420], esi
mov dword [ebp - 0x1424], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4072e3
cmp dword [ebp - 0x1420], 0xc8
je 0x40740b
cmp dword [ebp - 0x1420], 0x12c
jbe 0x4072ec
cmp dword [ebp - 0x1420], 0x12e
ja 0x4072ec
mov ebx, 0x400
push ebx
lea eax, [ebp - 0x413]
push esi
push eax
mov byte [ebp - 0x414], 0
call fcn.00414930
add esp, 0xc
push esi
lea eax, [ebp - 0x1424]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x21
push dword [edi + 0xc]
mov dword [ebp - 0x1424], ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4072e3
lea eax, [ebp - 0x414]
push eax
lea eax, [edi + 0x4c]
push eax
call fcn.00407f6c
push dword [edi + 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov dword [edi + 0xc], esi
inc eax
jmp 0x407511
cmp dword [edi + 0x44], esi
jne 0x4072a8
push 0x1000
lea eax, [ebp - 0x1414]
push esi
push eax
call fcn.00414930
mov eax, dword [ebp - 0x1418]
mov dword [ebp - 0x1418], eax
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebp - 0x1428], eax
mov dword [ebx], esi
mov dword [ebp - 0x141c], esi
cmp dword [edi + 0x44], esi
jne 0x4072a8
lea eax, [ebp - 0x141c]
push eax
push 0xfff
lea eax, [ebp - 0x1414]
push eax
push dword [edi + 0xc]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4074fe
cmp dword [ebp - 0x141c], esi
jbe 0x4074e1
mov ecx, dword [ebx]
add ecx, dword [ebp - 0x141c]
mov eax, dword [ebp - 0x1428]
cmp ecx, eax
ja 0x4074bb
push dword [ebp - 0x141c]
lea eax, [ebp - 0x1414]
push eax
push dword [ebp - 0x1418]
call fcn.00414d40
mov eax, dword [ebp - 0x141c]
add dword [ebp - 0x1418], eax
add dword [ebx], eax
add esp, 0xc
cmp eax, esi
ja 0x40743f
jmp 0x4074e1
sub eax, dword [ebx]
push eax
mov dword [ebp - 0x1428], eax
lea eax, [ebp - 0x1414]
push eax
push dword [ebp - 0x1418]
call fcn.00414d40
mov eax, dword [ebp - 0x1428]
add esp, 0xc
add dword [ebx], eax
push dword [edi + 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
cmp eax, dword [ebp - 0x141c]
mov dword [edi + 0xc], esi
sbb eax, eax
and eax, reloc.OLEAUT32.dll_SysStringLen
jmp 0x407511
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, edi
mov dword [edi + 0x54], eax
call fcn.004079e5
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411d8c
leave
ret 4