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

Disassembly:
mov eax, 0x1424
call fcn.10019cd0
mov eax, dword [0x10023050]
xor eax, esp
mov dword [esp + 0x141c], eax
mov eax, dword [esp + 0x1428]
push ebx
push ebp
mov ebp, dword [esp + 0x1434]
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x4c]
mov dword [esp + 0x1c], eax
call fcn.100047f0
push edi
mov ecx, str.http:__center.rising.com.cn_urg.asp_v12
call fcn.10010120
test eax, eax
jne 0x1000fec1
mov eax, SysReAllocStringLen
jmp 0x100100ff
mov ecx, edi
call fcn.1000e9c0
test eax, eax
je 0x100100fc
cmp dword [edi + 0x44], 0
je 0x1000fee7
mov esi, edi
call fcn.100107a0
mov eax, 2
jmp 0x100100ff
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 8]
push 0
push 0x4400010
push 0x100239e4
push 0
push str.HTTP_1.0
push eax
push 0x1001e3d0
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [edi + 0xc], eax
test eax, eax
je 0x100100ec
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1000ff68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, edi
mov dword [edi + 0x54], eax
call fcn.100107a0
mov edi, dword [edi + 0x54]
sub edi, 0x2ee2
je 0x1000ff5e
sub edi, 5
je 0x1000ff54
sub edi, 0x16
jne 0x100100fc
mov eax, reloc.OLEAUT32.dll_VariantClear
jmp 0x100100ff
mov eax, VariantClear
jmp 0x100100ff
mov ecx, dword [edi + 0xc]
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push 0x20000013
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 4
call ebx
test eax, eax
je 0x100100ec
mov eax, dword [esp + 0x18]
cmp eax, 0xc8
je 0x10010021
cmp eax, 0x12c
jbe 0x100100f5
cmp eax, 0x12e
ja 0x100100f5
push 0x400
lea edx, [esp + 0x25]
push 0
push edx
mov byte [esp + 0x2c], 0
call sub.MSVCR90.dll_memset
mov edx, dword [edi + 0xc]
add esp, 0xc
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x21
push edx
mov dword [esp + 0x28], 0x400
call ebx
test eax, eax
je 0x100100ec
lea edx, [esp + 0x20]
mov ebx, esi
call fcn.10004550
mov eax, dword [edi + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 0xc], 0
mov eax, 1
jmp 0x100100ff
cmp dword [edi + 0x44], 0
jne 0x1000fed6
push 0x1000
lea ecx, [esp + 0x42c]
push 0
push ecx
call sub.MSVCR90.dll_memset
mov ebx, dword [ebp]
mov esi, dword [esp + 0x28]
add esp, 0xc
mov dword [ebp], 0
cmp dword [edi + 0x44], 0
mov dword [esp + 0x10], 0
jne 0x1000fed6
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x10]
push edx
push 0xfff
lea eax, [esp + 0x430]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100100ec
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x100100cc
mov edx, dword [ebp]
add edx, eax
cmp edx, ebx
ja 0x100100b4
push eax
lea eax, [esp + 0x42c]
push eax
push esi
call sub.MSVCR90.dll_memcpy
mov eax, dword [esp + 0x1c]
add dword [ebp], eax
add esp, 0xc
add esi, eax
test eax, eax
ja 0x10010050
jmp 0x100100cc
sub ebx, dword [ebp]
lea ecx, [esp + 0x428]
push ebx
push ecx
push esi
call sub.MSVCR90.dll_memcpy
add esp, 0xc
add dword [ebp], ebx
mov edx, dword [edi + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
cmp eax, dword [esp + 0x10]
mov dword [edi + 0xc], 0
sbb eax, eax
and eax, reloc.OLEAUT32.dll_SysStringLen
jmp 0x100100ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x54], eax
mov esi, edi
call fcn.100107a0
or eax, 0xffffffff
mov ecx, dword [esp + 0x142c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100192c6
add esp, 0x1424
ret 8