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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x50]
not al
test al, 1
je 0x4b29e0
push str._BUseIOCP__
push 0x723
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_tcpconnection.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4b29e0
int3
cmp byte [esi + 0x151], 0
jne 0x4b2b70
mov edi, dword [esi + 0x134]
xor al, al
mov byte [ebp - 1], al
test edi, edi
js 0x4b2b72
lea ebx, [esi + 0x130]
push edi
mov ecx, ebx
call fcn.004a3790
test al, al
jne 0x4b2a2e
push str.IsValidIndex__idx__
push 0x9f
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlqueue.h
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4b2a2e
int3
and edi, dword [ebx]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + edi*8]
mov eax, dword [eax + edi*8 + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
cmp dword [esi + 0x144], ecx
jb 0x4b2a67
push str.m_cubAlreadySentFromHeadBuffer___head.len
push 0x736
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_tcpconnection.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4b2a64
int3
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0x144]
mov edi, ecx
push 0
sub edi, eax
add eax, dword [ebp - 0xc]
push edi
push eax
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, eax
test ecx, ecx
jle 0x4b2b97
cdq
add dword [esi + 0x88], eax
mov byte [ebp - 1], 1
adc dword [esi + 0x8c], edx
add dword [0x7bb0b8], eax
adc dword [0x7bb0bc], edx
add dword [0x7bb0b0], 1
adc dword [0x7bb0b4], 0
cmp ecx, edi
jle 0x4b2ad8
push str.rv___0__rv___nSendLen
push 0x744
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_tcpconnection.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4b2ade
int3
jl 0x4b2b79
mov dword [esi + 0x144], 0
mov eax, dword [esi + 0x134]
test eax, eax
js 0x4b2b1c
cmp eax, dword [esi + 0x138]
jne 0x4b2b10
mov dword [esi + 0x138], 0xffffffff
mov dword [esi + 0x134], 0xffffffff
jmp 0x4b2b1c
inc eax
and eax, 0x7fffffff
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x50]
mov edi, dword [ebp - 8]
and eax, 0x130
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
sub edi, eax
call fcn.00521c10
push 0
push dword [ebp - 0xc]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push edi
push esi
call fcn.004b31e0
mov ecx, dword [esi + 0x68]
add esp, 8
test ecx, ecx
je 0x4b2b67
cmp byte [0x7bada6], 0
jne 0x4b2b67
mov eax, dword [ecx]
push edi
push dword [esi + 0xc]
call dword [eax + 0x1c]
cmp byte [esi + 0x151], 0
je 0x4b2b7f
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add dword [esi + 0x144], ecx
mov edi, dword [esi + 0x134]
test edi, edi
jns 0x4b2a06
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call sub.WS2_32.dll_WSAGetLastError
mov ecx, eax
mov dword [ebp - 8], ecx
cmp ecx, 0x2733
je 0x4b2b8d
mov byte [esi + 0x151], 1
mov edi, dword [ebx + 4]
test edi, edi
js 0x4b2c2b
mov eax, dword [ebx + 0x10]
mov ecx, edi
and ecx, dword [ebx]
mov edx, dword [eax + ecx*8]
mov ecx, dword [eax + ecx*8 + 4]
mov dword [ebp - 0xc], ecx
cmp edi, dword [ebx + 8]
jne 0x4b2bd9
mov dword [ebx + 8], 0xffffffff
or eax, 0xffffffff
jmp 0x4b2be1
lea eax, [edi + 1]
and eax, 0x7fffffff
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x50]
and eax, 0x130
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
sub edx, eax
push edx
push esi
call fcn.004b31e0
add esp, 8
cmp byte [esi + 0x152], 0
je 0x4b2c12
lock dec dword [0x7bb298]
dec dword [esi + 0x168]
call fcn.00521c10
push 0
push dword [ebp - 0xc]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x4b2bb0
lea eax, [esi + 0x20]
push eax
push str.send
push str.CTCPConnection::BProcessPendingSends
push dword [ebp - 8]
push esi
call fcn.004b3350
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