Function at 0x50efb0
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad1a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x65ec1c]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.0052ee10
mov eax, dword [esi + 0xb0]
mov ebx, 2
cmp dword [eax + 4], ebx
jne 0x50f03b
mov ecx, dword [esi + 0x3190]
cmp ecx, edi
je 0x50f011
cmp dword [esi + 0x3194], edi
je 0x50f03b
lea edx, [esi + 0x3184]
push 1
push edx
lea edx, [esi + 0x3194]
push edx
mov edx, dword [eax + 0x118]
push edx
mov edx, dword [eax + 0x114]
push edx
add eax, 8
push ecx
push eax
mov ecx, esi
call fcn.00514970
push 0x663188
lea ecx, [ebp - 0x14]
call fcn.0058872e
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 2
cmp dword [eax + 4], 1
jne 0x50f074
mov eax, dword [esi + 0x30f0]
cmp eax, edi
je 0x50f074
push eax
lea ecx, [ebp - 0x14]
push 0x638fa8
push ecx
call fcn.0058148b
add esp, 0xc
mov edx, dword [esi + 0xb0]
cmp dword [edx + 4], ebx
jne 0x50f097
mov eax, dword [esi + 0x3184]
lea ecx, [ebp - 0x14]
push eax
push 0x638fa8
push ecx
call fcn.0058148b
add esp, 0xc
mov edx, dword [esi + 0x3170]
cmp dword [edx - 8], edi
je 0x50f0c4
mov eax, dword [esi + 0x80]
mov dl, byte [eax + 0x172]
test dl, dl
sete al
test al, al
je 0x50f0c4
cmp dword [esi + 0x3174], edi
sete al
test al, al
jne 0x50f0e6
mov ecx, dword [esi + 0x3184]
cmp dword [ecx - 8], edi
je 0x50f0df
mov edx, dword [esi + 0xb0]
cmp dword [edx + 4], ebx
sete al
test al, al
jne 0x50f0e6
mov ebx, 0x663188
jmp 0x50f0eb
mov ebx, str.Connection:_Keep_Alive_r_n
mov eax, dword [esi + 0x84]
cmp eax, edi
je 0x50f0fa
mov edi, dword [eax + 0xc]
jmp 0x50f103
mov ecx, dword [esi + 0x80]
mov edi, dword [ecx + 0x14]
test eax, eax
jne 0x50f123
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x20]
mov eax, dword [edx]
push eax
call fcn.0058872e
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
push ecx
push ebx
push edi
push eax
lea edx, [ebp - 0x18]
push str.CONNECT__s:_ld_HTTP_1.1_r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_5.00__Windows_98__r_n_s_s_r_n
push edx
call fcn.0058148b
mov al, byte [ebp - 0x1c]
add esp, 0x18
test al, 1
mov dword [ebp - 4], 2
je 0x50f153
lea ecx, [ebp - 0x20]
call fcn.005886c0
mov ecx, esi
mov dword [esi + 0x5c], 0x10
call fcn.004f9770
mov eax, dword [ebp - 0x18]
push str.send___CONNECT
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 0x30c4]
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004f8b20
mov edi, eax
test edi, edi
jne 0x50f1c8
mov eax, dword [ebp + 8]
test eax, eax
je 0x50f1c8
push edi
mov ecx, esi
call fcn.0050e560
lea ecx, [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005886c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005886c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4