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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 4
mov edi, ecx
mov eax, dword [edi + 0x1c]
push ebx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov esi, dword [sym.imp.MSVCR100.dll__errno]
cmp eax, 0xffffffff
jne 0x1004beeb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call esi
mov dword [eax], edi
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov eax, dword [eax]
test eax, eax
je 0x1004bea6
mov edi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push str._recv_reply_returned__1_n
push 4
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Name_Proxy.cpp
mov dword [eax + 0x144], 0x9a
mov dword [eax + 0x148], 0
mov dword [eax + 0x14c], edi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0xc
jmp 0x1004c01e
test eax, eax
je 0x1004c07b
cmp eax, 4
jne 0x1004c01c
mov eax, dword [ebx]
mov esi, eax
shr esi, 8
mov ecx, eax
and esi, 0xff
mov edx, eax
shl ecx, 8
or esi, ecx
shr edx, 0x10
shl esi, 8
and edx, 0xff
or esi, edx
shr eax, 0x18
shl esi, 8
or esi, eax
mov eax, dword [edi + 0x1c]
push 0
lea edi, [esi - 4]
push edi
lea ecx, [ebx + 4]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x1004bf5e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp + 8], eax
call dword [sym.imp.MSVCR100.dll__errno]
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov dword [ebp + 8], 0xffffffff
jmp 0x1004bf61
mov dword [ebp + 8], eax
cmp dword [ebp + 8], edi
je 0x1004bf9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x1004bf7c
mov edi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov ecx, dword [ebp + 8]
push ecx
push esi
push str.invalid_length
mov dword [eax + 0x144], 0xb8
push str._p_expected__d__got__d_n
jmp 0x1004c04c
mov ecx, ebx
call sym.ACE.dll_public:_int___thiscall_ACE_Name_Request::decode_void_
cmp eax, 0xffffffff
jne 0x1004c013
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x1004bfc1
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push str.decode_failed
push 0x100a50fc
push 0x80
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Name_Proxy.cpp
mov dword [eax + 0x144], 0xc1
mov dword [eax + 0x148], 0xffffffff
mov dword [eax + 0x14c], esi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov eax, dword [eax]
test eax, eax
je 0x1004c030
mov edi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push 4
push ebx
push str.recv_failed
mov dword [eax + 0x144], 0xa0
push str._p_got__d_bytes__expected__d_bytes_n
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Name_Proxy.cpp
push 0x80
mov dword [eax + 0x148], 0xffffffff
push eax
mov dword [eax + 0x14c], edi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x18
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret 4