Function at 0x48bfa4
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x48bfad
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ca0
xor eax, eax
push ebp
push 0x48c1ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp + 0xc]
call fcn.004047f0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0048c234
mov esi, 0x84000000
mov eax, dword [ebp - 0x14]
mov edx, 0x48c1ec
call fcn.00404bfc
jne 0x48c01d
mov esi, 0x80f000
cmp byte [ebx + 0xc], 0
jne 0x48c029
or esi, 0x200000
push 0
push 0
push 3
push 0x48c1f4
push 0x48c1f4
mov ax, word [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404cb0
push eax
mov eax, dword [ebx + 0x18]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x10], eax
push 0
push esi
push 0
push 0x48c1f4
push 0x48c1f8
mov eax, dword [ebp - 0x1c]
call fcn.00404cb0
push eax
push 0x48c204
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0xc], eax
push 4
lea eax, [ebx + 0x10]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebx + 0x10]
push eax
push 5
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebx + 0x10]
push eax
push 6
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
lea eax, [ebp - 0x20]
call fcn.004047f0
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x48c128
inc eax
mov dword [ebp - 0x2c], eax
xor esi, esi
lea ecx, [ebp - 0x24]
mov edx, esi
mov eax, edi
call fcn.0041c3b8
push dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
mov edx, esi
mov eax, edi
call fcn.0041b840
push dword [ebp - 0x30]
push 0x48c214
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.0048cd8c
push dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404b70
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp esi, eax
jge 0x48c122
lea eax, [ebp - 0x20]
mov edx, 0x48c220
call fcn.00404ab8
inc esi
dec dword [ebp - 0x2c]
jne 0x48c0c9
mov eax, dword [ebp - 0x20]
call fcn.00404ab0
mov edx, dword [ebx + 4]
mov dword [edx + 0x2c], eax
mov ecx, 0x48c22c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0048c3d0
xor eax, eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404cb0
push eax
push 0
push 0x48c1f4
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
jne 0x48c178
call sub.kernel32.dll_GetLastError_1
mov dword [ebx + 0x14], eax
jmp 0x48c19e
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0048cba4
mov byte [ebp - 5], al
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c1d5
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00404814
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404814
lea eax, [ebp - 4]
call fcn.004047f0
ret