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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ca0
xor eax, eax
push ebp
push 0x48cb59
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 - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0048c234
mov edi, 0x84000000
mov eax, dword [ebp - 0x18]
mov edx, 0x48cb74
call fcn.00404bfc
jne 0x48c9a2
mov edi, 0x80f000
cmp byte [ebx + 0xc], 0
jne 0x48c9ae
or edi, 0x200000
push 0
push 0
push 3
push 0x48cb7c
push 0x48cb7c
mov ax, word [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
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 edi
push 0
push 0x48cb7c
push 0x48cb80
mov eax, dword [ebp - 0x20]
call fcn.00404cb0
push eax
push 0x48cb8c
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
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov edi, dword [ebx + 4]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x24]
mov edx, dword [esi + 0xc]
call fcn.00404844
mov ecx, 0x48cb9c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0048c3d0
xor eax, eax
mov dword [ebx + 0x14], eax
push 0
push 0xc
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpSendRequestExA
test eax, eax
jne 0x48ca81
call sub.kernel32.dll_GetLastError_1
mov dword [ebx + 0x14], eax
jmp 0x48cb36
push 0
push 0
mov eax, esi
call fcn.0041cabc
lea eax, [ebp - 0x426]
xor ecx, ecx
mov edx, 0x400
call fcn.004031fc
jmp 0x48cacc
lea edx, [ebp - 0x426]
mov ecx, 0x400
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
xor edx, edx
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x14]
push edx
push eax
lea eax, [ebp - 0x426]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetWriteFile
mov eax, esi
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, esi
call fcn.0041ca9c
cmp edx, dword [esp + 4]
jne 0x48caea
cmp eax, dword [esp]
pop edx
pop eax
jb 0x48caa0
jmp 0x48caee
pop edx
pop eax
jl 0x48caa0
xor eax, eax
mov dword [ebx + 0x14], eax
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpEndRequestA
test eax, eax
jne 0x48cb10
call sub.kernel32.dll_GetLastError_1
mov dword [ebx + 0x14], eax
jmp 0x48cb36
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 0x48cb60
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404814
lea eax, [ebp - 4]
call fcn.004047f0
ret