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

Disassembly:
sub esp, 0x10
mov al, byte [esp + 0x1c]
test al, al
push ebx
mov ebx, dword [sym.imp.tier0_s.dll__SpewInfo]
push ebp
mov ebp, dword [sym.imp.tier0_s.dll_SetInAssert]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
je 0x1005393a
call dword [sym.imp.tier0_s.dll_IsInAssert]
test al, al
jne 0x1005393a
push 1
call ebp
push 0x16f
push str.._tcpconnection.cpp
push 2
call ebx
push str.Assertion_Failed:__bAsDatagram
push 0x1008d3bc
call dword [sym.imp.tier0_s.dll__SpewMessage]
add esp, 0x18
mov esi, eax
call dword [sym.imp.tier0_s.dll_CallFlushLogFunc]
call dword [sym.imp.tier0_s.dll_CallAssertFailedNotifyFunc]
test esi, esi
jne 0x10053901
call dword [sym.imp.tier0_s.dll_ShouldUseNewAssertDialog]
test al, al
je 0x10053901
push str.Assertion_Failed:__bAsDatagram
push 0x16f
push str.._tcpconnection.cpp
call dword [sym.imp.tier0_s.dll_DoNewAssertDialog]
add esp, 0xc
test al, al
je 0x10053901
int3
mov al, byte [0x100c0859]
test al, al
jne 0x10053933
call dword [sym.imp.tier0_s.dll_Plat_IsInDebugSession]
test al, al
jne 0x10053933
push 0x16f
push str.._tcpconnection.cpp
push str.Assertion_Failed:__bAsDatagram
call dword [sym.imp.tier0_s.dll_WriteMiniDump]
add esp, 0xc
mov byte [0x100c0859], 1
push 0
call ebp
add esp, 4
cmp dword [edi + 0xc], 2
jne 0x10053e13
mov edi, dword [esp + 0x28]
add edi, 8
cmp edi, 0x10000
jle 0x100539fc
call dword [sym.imp.tier0_s.dll_IsInAssert]
test al, al
jne 0x100539fc
push 1
call ebp
push 0x17a
push str.._tcpconnection.cpp
push 2
call ebx
push str.Assertion_Failed:_cubPkt___k_cubMsgSizeMax
push 0x1008d3bc
call dword [sym.imp.tier0_s.dll__SpewMessage]
add esp, 0x18
mov esi, eax
call dword [sym.imp.tier0_s.dll_CallFlushLogFunc]
call dword [sym.imp.tier0_s.dll_CallAssertFailedNotifyFunc]
test esi, esi
jne 0x100539c3
call dword [sym.imp.tier0_s.dll_ShouldUseNewAssertDialog]
test al, al
je 0x100539c3
push str.Assertion_Failed:_cubPkt___k_cubMsgSizeMax
push 0x17a
push str.._tcpconnection.cpp
call dword [sym.imp.tier0_s.dll_DoNewAssertDialog]
add esp, 0xc
test al, al
je 0x100539c3
int3
mov al, byte [0x100c0858]
test al, al
jne 0x100539f5
call dword [sym.imp.tier0_s.dll_Plat_IsInDebugSession]
test al, al
jne 0x100539f5
push 0x17a
push str.._tcpconnection.cpp
push str.Assertion_Failed:_cubPkt___k_cubMsgSizeMax
call dword [sym.imp.tier0_s.dll_WriteMiniDump]
add esp, 0xc
mov byte [0x100c0858], 1
push 0
call ebp
add esp, 4
push edi
mov ecx, 0x100b1410
call fcn.10043740
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
jne 0x10053aba
call dword [sym.imp.tier0_s.dll_IsInAssert]
test al, al
jne 0x10053aba
push 1
call ebp
push 0x17c
push str.._tcpconnection.cpp
push 2
call ebx
push str.Assertion_Failed:_NULL___pubPkt
push 0x1008d3bc
call dword [sym.imp.tier0_s.dll__SpewMessage]
add esp, 0x18
mov esi, eax
call dword [sym.imp.tier0_s.dll_CallFlushLogFunc]
call dword [sym.imp.tier0_s.dll_CallAssertFailedNotifyFunc]
test esi, esi
jne 0x10053a81
call dword [sym.imp.tier0_s.dll_ShouldUseNewAssertDialog]
test al, al
je 0x10053a81
push str.Assertion_Failed:_NULL___pubPkt
push 0x17c
push str.._tcpconnection.cpp
call dword [sym.imp.tier0_s.dll_DoNewAssertDialog]
add esp, 0xc
test al, al
je 0x10053a81
int3
mov al, byte [0x100c0857]
test al, al
jne 0x10053ab3
call dword [sym.imp.tier0_s.dll_Plat_IsInDebugSession]
test al, al
jne 0x10053ab3
push 0x17c
push str.._tcpconnection.cpp
push str.Assertion_Failed:_NULL___pubPkt
call dword [sym.imp.tier0_s.dll_WriteMiniDump]
add esp, 0xc
mov byte [0x100c0857], 1
push 0
call ebp
add esp, 4
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [edi], ecx
mov eax, ecx
mov dword [edi + 4], 0x31305456
shr ecx, 2
add edi, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x18], eax
cmp dword [edi + 0x14], 0xffffffff
mov dword [esp + 0x1c], ecx
jne 0x10053b9e
call dword [sym.imp.tier0_s.dll_IsInAssert]
test al, al
jne 0x10053b9e
push 1
call ebp
push 0x18c
push str.._tcpconnection.cpp
push 2
call ebx
push str.Assertion_Failed:_INVALID_SOCKET___m_hSocket
push 0x1008d3bc
call dword [sym.imp.tier0_s.dll__SpewMessage]
add esp, 0x18
mov esi, eax
call dword [sym.imp.tier0_s.dll_CallFlushLogFunc]
call dword [sym.imp.tier0_s.dll_CallAssertFailedNotifyFunc]
test esi, esi
jne 0x10053b65
call dword [sym.imp.tier0_s.dll_ShouldUseNewAssertDialog]
test al, al
je 0x10053b65
push str.Assertion_Failed:_INVALID_SOCKET___m_hSocket
push 0x18c
push str.._tcpconnection.cpp
call dword [sym.imp.tier0_s.dll_DoNewAssertDialog]
add esp, 0xc
test al, al
je 0x10053b65
int3
mov al, byte [0x100c0856]
test al, al
jne 0x10053b97
call dword [sym.imp.tier0_s.dll_Plat_IsInDebugSession]
test al, al
jne 0x10053b97
push 0x18c
push str.._tcpconnection.cpp
push str.Assertion_Failed:_INVALID_SOCKET___m_hSocket
call dword [sym.imp.tier0_s.dll_WriteMiniDump]
add esp, 0xc
mov byte [0x100c0856], 1
push 0
call ebp
add esp, 4
mov dl, byte [edi + 0x34]
not dl
test dl, 1
je 0x10053c5d
call dword [sym.imp.tier0_s.dll_IsInAssert]
test al, al
jne 0x10053c51
push 1
call ebp
push 0x199
push str.._tcpconnection.cpp
push 2
call ebx
push str.Assertion_Failed:_false
push 0x1008d3bc
call dword [sym.imp.tier0_s.dll__SpewMessage]
add esp, 0x18
mov esi, eax
call dword [sym.imp.tier0_s.dll_CallFlushLogFunc]
call dword [sym.imp.tier0_s.dll_CallAssertFailedNotifyFunc]
test esi, esi
jne 0x10053c18
call dword [sym.imp.tier0_s.dll_ShouldUseNewAssertDialog]
test al, al
je 0x10053c18
push str.Assertion_Failed:_false
push 0x199
push str.._tcpconnection.cpp
call dword [sym.imp.tier0_s.dll_DoNewAssertDialog]
add esp, 0xc
test al, al
je 0x10053c18
int3
mov al, byte [0x100c0855]
test al, al
jne 0x10053c4a
call dword [sym.imp.tier0_s.dll_Plat_IsInDebugSession]
test al, al
jne 0x10053c4a
push 0x199
push str.._tcpconnection.cpp
push str.Assertion_Failed:_false
call dword [sym.imp.tier0_s.dll_WriteMiniDump]
add esp, 0xc
mov byte [0x100c0855], 1
push 0
call ebp
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret 0xc
mov eax, dword [edi + 0x64]
test eax, eax
mov esi, 0x64
je 0x10053d68
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
test esi, esi
jle 0x10053c90
push 1
call edi
mov ecx, dword [esp + 0x10]
call fcn.10053350
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x10053c73
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x64]
test eax, eax
je 0x10053d68
call dword [sym.imp.tier0_s.dll_IsInAssert]
test al, al
jne 0x10053d44
push 1
call ebp
push 0x1b0
push str.._tcpconnection.cpp
push 2
call ebx
push str.Assertion_Failed:_NULL__m_pSendBuffer
push 0x1008d3bc
call dword [sym.imp.tier0_s.dll__SpewMessage]
add esp, 0x18
mov esi, eax
call dword [sym.imp.tier0_s.dll_CallFlushLogFunc]
call dword [sym.imp.tier0_s.dll_CallAssertFailedNotifyFunc]
test esi, esi
jne 0x10053d0b
call dword [sym.imp.tier0_s.dll_ShouldUseNewAssertDialog]
test al, al
je 0x10053d0b
push str.Assertion_Failed:_NULL__m_pSendBuffer
push 0x1b0
push str.._tcpconnection.cpp
call dword [sym.imp.tier0_s.dll_DoNewAssertDialog]
add esp, 0xc
test al, al
je 0x10053d0b
int3
mov al, byte [0x100c0854]
test al, al
jne 0x10053d3d
call dword [sym.imp.tier0_s.dll_Plat_IsInDebugSession]
test al, al
jne 0x10053d3d
push 0x1b0
push str.._tcpconnection.cpp
push str.Assertion_Failed:_NULL__m_pSendBuffer
call dword [sym.imp.tier0_s.dll_WriteMiniDump]
add esp, 0xc
mov byte [0x100c0854], 1
push 0
call ebp
add esp, 4
push str.CTCPConnection_stalled_in_InternalAsyncSend___waiting_for_the_previous_async_send_to_complete_n
push 0xb
push 1
push 0x10094ef8
call fcn.1005a4a0
mov ecx, dword [edi + 0x64]
add esp, 0x10
push ecx
mov ecx, 0x100b1410
call fcn.10042df0
mov ebx, dword [esp + 0x14]
mov esi, dword [sym.imp.tier0_s.dll_ThreadInterlockedIncrement]
push 0x100c0834
mov dword [edi + 0x64], ebx
call esi
push 0
push 0x100c0838
call dword [sym.imp.tier0_s.dll_ThreadInterlockedExchangeAdd]
mov al, byte [edi + 0x6d]
add esp, 0xc
test al, al
je 0x10053d9d
push 0x100c083c
call esi
add esp, 4
mov ecx, dword [edi + 0x14]
push 0
push 0
push 0
lea edx, [esp + 0x38]
push edx
push 1
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x10053c51
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x10053c51
push eax
call fcn.10046760
add esp, 4
test al, al
je 0x10053de6
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x20]
mov eax, dword [esp + 0x28]
push eax
call fcn.10052840
mov al, byte [edi + 0x6d]
add esp, 4
test al, al
je 0x10053e08
push 0x100c083c
call dword [sym.imp.tier0_s.dll_ThreadInterlockedDecrement]
add esp, 4
push ebx
mov ecx, 0x100b1410
call fcn.10042df0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret 0xc