Function at 0x490e2e
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x14], 0x1001
mov dword [ebp - 0x48], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
push eax
call sub.ntdll.dll_strlen
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x490ebd
mov dword [ebp - 0x48], 0x13
jmp 0x4912ab
mov eax, dword [ebp - 0x10]
imul eax, eax, 3
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x490eed
mov dword [ebp - 0x48], 0x13
jmp 0x4912a6
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x490f1a
mov dword [ebp - 0x48], 0x13
jmp 0x4912a1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00409100
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x490f56
mov eax, dword [ebp - 4]
mov cl, byte [eax]
xor cl, 0x4c
mov edx, dword [ebp - 4]
mov byte [edx], cl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x490f34
mov ecx, 1
test ecx, ecx
je 0x490fcc
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00490b24
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x5c]
sub eax, 1
cmp dword [ebp - 0xc], eax
jl 0x490fc8
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push edx
call fcn.004aa2c8
add esp, 4
mov eax, dword [ebp - 0x5c]
shl eax, 1
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x490fc6
mov dword [ebp - 0x48], 0x13
jmp 0x49129c
jmp 0x490fca
jmp 0x490fcc
jmp 0x490f56
mov eax, 1
test eax, eax
je 0x491059
push str.info
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00409100
mov eax, dword [ebp - 0xc]
add eax, 6
cmp eax, dword [ebp - 0x5c]
jle 0x491039
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.004aa2c8
add esp, 4
mov eax, dword [ebp - 0x54]
shl eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x491037
mov dword [ebp - 0x48], 0x13
jmp 0x491297
jmp 0x490fcc
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 5
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 5
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x491084
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], 5
jmp 0x491292
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.qsys.f.360.cn
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4910ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], 8
jmp 0x49128d
mov dword [ebp - 0x60], 0x4400040
push 0
mov edx, dword [ebp - 0x60]
push edx
push 0
push 0
push str.HTTP_1.0
mov eax, dword [ebp + 0x14]
push eax
push 0x54821c
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x4910fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], 9
jmp 0x491288
push 0xa0000000
push 0xd
push str.Accept:___r_n
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x49112a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], 0xc
jmp 0x491283
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x491159
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], 0xa
jmp 0x49127e
mov eax, 1
test eax, eax
je 0x4911a1
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x49118e
mov dword [ebp - 0x48], 4
jmp 0x491279
cmp dword [ebp - 8], 0
jne 0x491196
jmp 0x4911a1
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 8]
mov dword [ebp - 0x50], edx
jmp 0x491159
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp + 0x10]
jge 0x4911b4
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x50]
mov byte [ecx], 0
jmp 0x4911c0
mov dword [ebp - 0x48], 0xb
jmp 0x491274
lea edx, [ebp - 8]
push edx
push 0x20
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 8], 0
je 0x4911e6
mov dword [ebp - 0x48], 0xb
jmp 0x49126f
cmp dword [ebp - 0x58], 0
je 0x4911f6
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x20], 0
je 0x491206
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x4c], 0
je 0x491216
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x18], 0
je 0x49122e
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call fcn.004aa2c8
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x49124c
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
push edx
call fcn.004aa2c8
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x49126a
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.004aa2c8
add esp, 4
mov eax, dword [ebp - 0x48]
jmp 0x4912b0
jmp 0x4911e6
jmp 0x4911e6
jmp 0x4911e6
jmp 0x4911e6
jmp 0x4911e6
jmp 0x4911e6
jmp 0x4911e6
jmp 0x4911e6
jmp 0x4911e6
jmp 0x4911e6
jmp 0x4911e6
jmp 0x4911e6
jmp 0x4911e6
mov esp, ebp
pop ebp
ret