Function at 0x10054920
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push esi
mov esi, ecx
mov al, byte [esi + 0x34]
not al
test al, 1
je 0x10054932
xor al, al
pop esi
pop ecx
ret
mov eax, dword [esi + 0x48]
test eax, eax
push ebx
mov ebx, dword [sym.imp.tier0_s.dll__SpewMessage]
push ebp
mov ebp, dword [sym.imp.tier0_s.dll__SpewInfo]
push edi
jne 0x100549f5
call dword [sym.imp.tier0_s.dll_IsInAssert]
test al, al
jne 0x100549f5
push 1
call dword [sym.imp.tier0_s.dll_SetInAssert]
push 0x1ea
push str.._tcpconnection.cpp
push 2
call ebp
push str.Assertion_Failed:_m_pConnectionCallback
push 0x1008d3bc
call ebx
add esp, 0x18
mov edi, eax
call dword [sym.imp.tier0_s.dll_CallFlushLogFunc]
call dword [sym.imp.tier0_s.dll_CallAssertFailedNotifyFunc]
test edi, edi
jne 0x100549b8
call dword [sym.imp.tier0_s.dll_ShouldUseNewAssertDialog]
test al, al
je 0x100549b8
push str.Assertion_Failed:_m_pConnectionCallback
push 0x1ea
push str.._tcpconnection.cpp
call dword [sym.imp.tier0_s.dll_DoNewAssertDialog]
add esp, 0xc
test al, al
je 0x100549b8
int3
mov al, byte [0x100c0864]
test al, al
jne 0x100549ea
call dword [sym.imp.tier0_s.dll_Plat_IsInDebugSession]
test al, al
jne 0x100549ea
push 0x1ea
push str.._tcpconnection.cpp
push str.Assertion_Failed:_m_pConnectionCallback
call dword [sym.imp.tier0_s.dll_WriteMiniDump]
add esp, 0xc
mov byte [0x100c0864], 1
push 0
call dword [sym.imp.tier0_s.dll_SetInAssert]
add esp, 4
cmp dword [esi + 8], 0xdddddddd
jne 0x10054aab
call dword [sym.imp.tier0_s.dll_IsInAssert]
test al, al
jne 0x10054aab
push 1
call dword [sym.imp.tier0_s.dll_SetInAssert]
push 0x1eb
push str.._tcpconnection.cpp
push 2
call ebp
push str.Assertion_Failed:_m_hConnection___0xdddddddd
push 0x1008d3bc
call ebx
add esp, 0x18
mov edi, eax
call dword [sym.imp.tier0_s.dll_CallFlushLogFunc]
call dword [sym.imp.tier0_s.dll_CallAssertFailedNotifyFunc]
test edi, edi
jne 0x10054a6e
call dword [sym.imp.tier0_s.dll_ShouldUseNewAssertDialog]
test al, al
je 0x10054a6e
push str.Assertion_Failed:_m_hConnection___0xdddddddd
push 0x1eb
push str.._tcpconnection.cpp
call dword [sym.imp.tier0_s.dll_DoNewAssertDialog]
add esp, 0xc
test al, al
je 0x10054a6e
int3
mov al, byte [0x100c0863]
test al, al
jne 0x10054aa0
call dword [sym.imp.tier0_s.dll_Plat_IsInDebugSession]
test al, al
jne 0x10054aa0
push 0x1eb
push str.._tcpconnection.cpp
push str.Assertion_Failed:_m_hConnection___0xdddddddd
call dword [sym.imp.tier0_s.dll_WriteMiniDump]
add esp, 0xc
mov byte [0x100c0863], 1
push 0
call dword [sym.imp.tier0_s.dll_SetInAssert]
add esp, 4
lea ecx, [esp + 0x11]
push ecx
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x16]
push edx
lea eax, [esp + 0x1b]
xor bl, bl
push eax
push ecx
mov byte [esp + 0x23], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x21], bl
call fcn.1005ae70
mov eax, dword [esi + 0xc]
add esp, 0x10
cmp eax, 1
jne 0x10054b15
mov al, byte [esp + 0x11]
test al, al
je 0x10054af3
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
pop edi
pop ebp
pop ebx
xor al, al
pop esi
pop ecx
ret
mov al, byte [esp + 0x12]
test al, al
je 0x10054bc2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, esi
call fcn.10053350
pop edi
pop ebp
mov al, bl
pop ebx
pop esi
pop ecx
ret
cmp eax, 2
je 0x10054b23
cmp eax, 3
jne 0x10054bc2
mov al, byte [esp + 0x13]
test al, al
je 0x10054bc2
mov eax, dword [esi + 0x60]
test eax, eax
jne 0x10054b4f
push 0x10000
mov ecx, 0x100b1410
call fcn.10043740
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x60]
push 0
mov ecx, 0x10000
sub ecx, eax
push ecx
add edx, eax
mov eax, dword [esi + 0x14]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x10054ba8
test eax, eax
mov bl, 1
jle 0x10054b92
mov ecx, dword [esi + 0x60]
push eax
push ecx
mov ecx, esi
call fcn.10053e20
mov ecx, esi
call fcn.10053350
pop edi
pop ebp
mov al, bl
pop ebx
pop esi
pop ecx
ret
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov ecx, esi
call fcn.10053350
pop edi
pop ebp
mov al, bl
pop ebx
pop esi
pop ecx
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.10046760
add esp, 4
test al, al
je 0x10054bc2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov ecx, esi
call fcn.10053350
pop edi
pop ebp
mov al, bl
pop ebx
pop esi
pop ecx
ret