Function at 0x4c2c90
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3c9c
call fcn.004d7530
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x18]
push ebx
push ebx
push ebx
mov dword [ebp - 0x3c24], ecx
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x3c20], ecx
mov ecx, dword [ebp + 0x1c]
push eax
mov dword [ebp - 0x3c34], ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x3c2c], eax
test eax, eax
je 0x4c3006
push 0x800
lea eax, [ebp - 0xc04]
push ebx
push eax
call fcn.004d9fe0
push 0x800
lea eax, [ebp - 0x1404]
push ebx
push eax
call fcn.004d9fe0
push 0x38
lea eax, [ebp - 0x3c70]
push ebx
push eax
call fcn.004d9fe0
add esp, 0x24
mov dword [ebp - 0x3c74], 0x3c
lea eax, [ebp - 0xc04]
mov dword [ebp - 0x3c60], 0x800
mov dword [ebp - 0x3c64], eax
lea eax, [ebp - 0x1404]
mov dword [ebp - 0x3c48], eax
lea eax, [ebp - 0x3c74]
push eax
push ebx
push ebx
push esi
mov dword [ebp - 0x3c44], 0x800
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push ebx
push ebx
push 3
push 0x591dde
push 0x591dde
push dword [ebp - 0x3c5c]
push dword [ebp - 0x3c64]
push dword [ebp - 0x3c2c]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x3c38], eax
test eax, eax
je 0x4c2ffa
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x3c48]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [ebp - 0x3c28], esi
test esi, esi
je 0x4c2fec
push 0x31
push 0x543cc8
lea ecx, [ebp - 0x3c1c]
mov dword [ebp - 0x3c0c], ebx
mov dword [ebp - 0x3c08], 0xf
mov byte [ebp - 0x3c1c], bl
call fcn.00422610
cmp dword [ebp - 0x3c08], 0x10
lea eax, [ebp - 0x3c1c]
push 0x20000000
push dword [ebp - 0x3c0c]
cmovae eax, dword [ebp - 0x3c1c]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
push ebx
push ebx
movups xmmword [ebp - 0x3c88], xmm0
mov dword [ebp - 0x3c80], eax
lea eax, [ebp - 0x3c9c]
push ebx
push eax
push esi
movups xmmword [ebp - 0x3c98], xmm0
mov dword [ebp - 0x3c78], ebx
mov dword [ebp - 0x3c9c], 0x28
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
je 0x4c2fd6
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3c24]
push dword [ebp - 0x3c20]
add ecx, 0xfffffffc
push esi
call fcn.004c3dc0
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestA]
push 0x400
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.004d9fe0
add esp, 0xc
mov dword [ebp - 0x3c30], 0x400
lea eax, [ebp - 0x3c24]
mov dword [ebp - 0x3c24], ebx
push eax
lea eax, [ebp - 0x3c30]
push eax
lea eax, [ebp - 0x404]
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4c2ec9
lea eax, [ebp - 0x404]
push eax
call fcn.004e1abd
add esp, 4
mov dword [edi], eax
cmp dword [edi], 0xc8
jne 0x4c2fd6
push 0x5d10f0
push 0x100000
xor edi, edi
call fcn.004d72ec
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4c2fd6
push 0x2800
lea eax, [ebp - 0x3c04]
mov dword [ebp - 0x3c20], edi
push edi
push eax
call fcn.004d9fe0
add esp, 0xc
lea eax, [ebp - 0x3c20]
push eax
push 0x2800
lea eax, [ebp - 0x3c04]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4c2f9f
nop dword [eax]
mov esi, dword [ebp - 0x3c20]
mov eax, 0xfffff
sub eax, esi
cmp edi, eax
ja 0x4c2f9f
test esi, esi
je 0x4c2fc8
push esi
lea eax, [ebp - 0x3c04]
push eax
lea eax, [edi + ebx]
push eax
call fcn.004d9a60
push 0x2800
lea eax, [ebp - 0x3c04]
mov dword [ebp - 0x3c20], 0
push 0
push eax
add edi, esi
call fcn.004d9fe0
add esp, 0x18
lea eax, [ebp - 0x3c20]
push eax
push 0x2800
lea eax, [ebp - 0x3c04]
push eax
push dword [ebp - 0x3c28]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4c2f30
push ebx
call fcn.004d71b8
add esp, 4
lea ecx, [ebp - 0x3c1c]
call fcn.00421e60
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0x3c34]
mov esi, dword [ebp - 0x3c28]
mov dword [eax], edi
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
lea ecx, [ebp - 0x3c1c]
call fcn.00421e60
jmp 0x4c2ff2
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x3c38]
call esi
push dword [ebp - 0x3c2c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 0x18