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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4d48
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x61df80]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x70]
add ecx, 0x34
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::util::Mutex::lock_void_
mov eax, dword [ebp - 0x70]
movzx ecx, byte [eax + 0x4c]
test ecx, ecx
jne 0x4ae45a
mov edx, dword [ebp - 0x70]
cmp dword [edx + 0x3c], 0
jge 0x4ae46f
mov ecx, dword [ebp - 0x70]
add ecx, 0x34
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::util::Mutex::unlock_void_
mov eax, 0x12
jmp 0x4ae5ec
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x70]
call sym.GNTKProProxy.exe_protected:_bool___thiscall_gloox::ConnectionTCPBase::dataAvailable_int_
movzx ecx, al
test ecx, ecx
jne 0x4ae494
mov ecx, dword [ebp - 0x70]
add ecx, 0x34
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::util::Mutex::unlock_void_
xor eax, eax
jmp 0x4ae5ec
push 0
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x48]
push eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x3c]
push ecx
call sub.WS2_32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4ae4c8
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x40]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x40], eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x34
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::util::Mutex::unlock_void_
cmp dword [ebp - 0x10], 0
jg 0x4ae587
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4ae549
call sub.WS2_32.dll_WSAGetLastError
push eax
lea edx, [ebp - 0x50]
push edx
call fcn.004ae070
add esp, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
push ecx
push str.recv___failed._WSAGetLastError:
lea edx, [ebp - 0x34]
push edx
call fcn.00426690
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00403180
lea eax, [ebp - 0x34]
push eax
push 0x100
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx + 0x2c]
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::LogSink::err_enum_gloox::LogArea__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__const
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403180
xor edx, edx
cmp dword [ebp - 0x10], 0
setne dl
lea edx, [edx*4 + 3]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x70]
cmp dword [eax + 4], 0
je 0x4ae582
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov eax, dword [ebp - 0x14]
jmp 0x4ae5ec
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
mov byte [edx + eax], 0
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + 4], 0
je 0x4ae5ea
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x38]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.0040fd20
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00403180
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004c7d13
mov esp, ebp
pop ebp
ret 4