Function at 0x4b5550
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x50]
not al
test al, 1
je 0x4b5580
push str._BUseIOCP__
push 0x74a
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_tcpconnection.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4b5580
int3
cmp byte [esi + 0x151], 0
jne 0x4b5742
xor al, al
mov byte [ebp - 1], al
mov edi, dword [esi + 0x134]
test edi, edi
js 0x4b5744
mov edx, edi
mov byte [ebp - 2], al
mov ebx, edi
test edx, edx
js 0x4b55bc
mov ecx, dword [esi + 0x138]
sub ecx, edx
and ecx, 0x7fffffff
inc ecx
jmp 0x4b55be
xor ecx, ecx
mov eax, edi
sub eax, edx
and eax, 0x7fffffff
cmp eax, ecx
jl 0x4b55f5
mov al, byte [ebp - 2]
mov edi, ebx
push str.IsValidIndex__idx__
push 0x9f
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlqueue.h
mov byte [ebp - 1], al
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4b55f5
int3
and edi, dword [esi + 0x130]
mov eax, dword [esi + 0x140]
mov ebx, dword [eax + edi*8]
mov eax, dword [eax + edi*8 + 4]
mov edi, ebx
mov ecx, eax
mov dword [ebp - 0xc], eax
cmp dword [esi + 0x144], ebx
jb 0x4b563f
push str.m_cubAlreadySentFromHeadBuffer___head.len
push 0x75d
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_tcpconnection.cpp
mov dword [ebp - 8], eax
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4b563c
int3
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0x144]
sub edi, eax
push 0
push edi
add eax, ecx
push eax
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, eax
test ecx, ecx
jle 0x4b5759
cdq
add dword [esi + 0x88], eax
mov byte [ebp - 1], 1
adc dword [esi + 0x8c], edx
add dword [0x7e00d0], eax
adc dword [0x7e00d4], edx
add dword [0x7e00c8], 1
adc dword [0x7e00cc], 0
cmp ecx, edi
jle 0x4b56ad
push str.rv___0__rv___nSendLen
push 0x76b
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_tcpconnection.cpp
call fcn.0053aea0
add esp, 0xc
test al, al
jne 0x4b56b3
int3
jl 0x4b574b
mov dword [esi + 0x144], 0
mov eax, dword [esi + 0x134]
test eax, eax
js 0x4b56f1
cmp eax, dword [esi + 0x138]
jne 0x4b56e5
mov dword [esi + 0x138], 0xffffffff
mov dword [esi + 0x134], 0xffffffff
jmp 0x4b56f1
inc eax
and eax, 0x7fffffff
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x50]
and eax, 0x130
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
sub ebx, eax
call fcn.0053aa60
push 0
push dword [ebp - 0xc]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push ebx
push esi
call fcn.004b5d60
mov ecx, dword [esi + 0x68]
add esp, 8
test ecx, ecx
je 0x4b5739
cmp byte [0x7dfefa], 0
jne 0x4b5739
mov eax, dword [ecx]
push ebx
push dword [esi + 0xc]
call dword [eax + 0x1c]
cmp byte [esi + 0x151], 0
je 0x4b5751
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add dword [esi + 0x144], ecx
mov al, byte [ebp - 1]
jmp 0x4b5592
call sub.WS2_32.dll_WSAGetLastError
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp ecx, 0x2733
je 0x4b581c
mov byte [esi + 0x151], 1
mov edx, dword [esi + 0x134]
test edx, edx
js 0x4b57f0
mov eax, dword [esi + 0x140]
mov ecx, edx
and ecx, dword [esi + 0x130]
mov edi, dword [eax + ecx*8]
mov ebx, dword [eax + ecx*8 + 4]
cmp edx, dword [esi + 0x138]
jne 0x4b57ac
mov dword [esi + 0x138], 0xffffffff
or eax, 0xffffffff
jmp 0x4b57b4
lea eax, [edx + 1]
and eax, 0x7fffffff
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x50]
and eax, 0x130
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
sub edi, eax
push edi
push esi
call fcn.004b5d60
add esp, 8
mov ecx, esi
call fcn.004b5e70
call fcn.0053aa60
push 0
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x4b5776
lea eax, [esi + 0x20]
push eax
push str.send
push str.CTCPConnection::BProcessPendingSends
push dword [ebp - 0xc]
push esi
call fcn.004b5fb0
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
push 0x25
call dword [eax + 0x60]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret