Function at 0x42cd40
Capabilities:
Connect to http server
Create http request
Encode data using xor
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x6d48e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov dword [ebp - 0x808], 0x5b0544
mov ebx, dword [ebp - 0x808]
push esi
push edi
mov edi, dword [ebp - 0x808]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42cdba
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x808], ecx
test esi, esi
je 0x42cdb1
sub edi, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x808]
cmp edx, dword [ebx + 0xf]
jb 0x42cd95
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [ebp - 0x814], esi
test esi, esi
je 0x42cfa3
push 1
push 0
push 3
push 0
push 0
push 0x50
push dword [0x6e5140]
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x80c], eax
test eax, eax
je 0x42cfa8
mov dword [ebp - 0x808], 0x5b0568
mov ebx, dword [ebp - 0x808]
mov edi, dword [ebp - 0x808]
add edi, 0x14
mov dword [ebp - 0x81c], 0x5b0564
mov dword [ebp - 0x818], 0
cmp byte [ebx + 0x13], 0
je 0x42ce84
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x808], ecx
test esi, esi
je 0x42ce6f
sub edi, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x808]
cmp edx, dword [ebx + 0xf]
jb 0x42ce53
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov esi, dword [ebp - 0x814]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x80c]
push 1
push 0
lea ecx, [ebp - 0x81c]
push ecx
push 0
push 0
push edi
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
je 0x42cfad
mov ecx, 0x5de8c8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ceb2
sub ecx, edx
mov edx, 0x5de8cc
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x42cec3
push ecx
push 0x5de8c8
sub edx, ebx
push edx
push 0x5de8cc
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x42cfb2
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x810], 0x800
lea eax, [ebp - 0x810]
push 0
push eax
lea eax, [ebp - 0x804]
push eax
push 0x16
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x42cfb7
push 0x4200e0
lea eax, [ebp - 0x804]
push eax
push dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.0040ae60
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x800
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42cfbc
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x80c]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00598fe4
mov esp, ebp
pop ebp
ret
call fcn.0042cfe0
call fcn.0042cfe0
call fcn.0042cfe0
call fcn.0042cfe0
call fcn.0042cfe0
call fcn.0042cfe0
int3