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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x134]
mov ecx, 0x4d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x66486c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp esi, esp
call fcn.004a7520
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
cmp esi, esp
call fcn.004a7520
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x53aecf
mov eax, 0xffffb1e0
jmp 0x53b20b
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
cmp dword [eax + 4], 0
je 0x53af03
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
mov ecx, eax
call fcn.004a8a60
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x53af03
mov eax, dword [ebp - 0x30]
jmp 0x53b20b
mov dword [ebp - 0x3c], 0
cmp dword [ebp + 0xc], 0
je 0x53afe9
mov dword [ebp - 0x60], 0x10
cmp dword [0x663d08], 0
jne 0x53af37
mov eax, dword [str.neptune.sockets.bsd]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x663d08], eax
cmp dword [0x663d08], 0
je 0x53af92
mov ecx, dword [0x663d08]
call fcn.004a9082
cmp eax, 0x64
jg 0x53af92
mov ecx, dword [ebp + 0xc]
call fcn.004a50a4
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004a9037
mov ecx, eax
call fcn.004a50e5
push eax
push str.receiving_dagagram_from__lx_port__d
push str.NPT_BsdUdpSocket::Receive
mov eax, dword [0x663e78]
add eax, 0x16
push eax
push str.d:work_studio_backupmediaserversource_source_codeplatinum_src_0_6_3_683_neptune_source_system_bsd_nptbsdsockets.cpp
push 0x64
mov ecx, dword [0x663d08]
push ecx
call fcn.004a5216
add esp, 0x20
xor eax, eax
jne 0x53af1b
mov esi, esp
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp esi, esp
call fcn.004a7520
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
je 0x53afe4
cmp dword [ebp - 0x60], 0x10
jne 0x53afe4
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.0053b390
add esp, 8
jmp 0x53b075
cmp dword [0x663d08], 0
jne 0x53b005
mov eax, dword [str.neptune.sockets.bsd]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x663d08], eax
cmp dword [0x663d08], 0
je 0x53b047
mov ecx, dword [0x663d08]
call fcn.004a9082
cmp eax, 0x64
jg 0x53b047
push str.receiving_dagagram
push str.NPT_BsdUdpSocket::Receive
mov eax, dword [0x663e78]
add eax, 0x25
push eax
push str.d:work_studio_backupmediaserversource_source_codeplatinum_src_0_6_3_683_neptune_source_system_bsd_nptbsdsockets.cpp
push 0x64
mov ecx, dword [0x663d08]
push ecx
call fcn.004a5216
add esp, 0x18
xor eax, eax
jne 0x53afe9
mov esi, esp
push 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
mov edx, dword [eax]
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call fcn.004a7520
mov dword [ebp - 0x3c], eax
cmp dword [0x663d08], 0
jne 0x53b091
mov eax, dword [str.neptune.sockets.bsd]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x663d08], eax
cmp dword [0x663d08], 0
je 0x53b0d8
mov ecx, dword [0x663d08]
call fcn.004a9082
cmp eax, 0x64
jg 0x53b0d8
mov eax, dword [ebp - 0x3c]
push eax
push str.recv_recvfrom_returned__d
push str.NPT_BsdUdpSocket::Receive
mov ecx, dword [0x663e78]
add ecx, 0x2d
push ecx
push str.d:work_studio_backupmediaserversource_source_codeplatinum_src_0_6_3_683_neptune_source_system_bsd_nptbsdsockets.cpp
push 0x64
mov edx, dword [0x663d08]
push edx
call fcn.004a5216
add esp, 0x1c
xor eax, eax
jne 0x53b075
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
movzx eax, byte [eax + 0x18]
test eax, eax
je 0x53b111
mov esi, esp
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
call eax
cmp esi, esp
call fcn.004a7520
mov eax, 0xffffb1cb
jmp 0x53b20b
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x53b1bf
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a7520
push eax
call fcn.00537ee0
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [0x663d08], 0
jne 0x53b152
mov eax, dword [str.neptune.sockets.bsd]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x663d08], eax
cmp dword [0x663d08], 0
je 0x53b19e
mov ecx, dword [0x663d08]
call fcn.004a9082
cmp eax, 0x12c
jg 0x53b19e
mov eax, dword [ebp - 0x6c]
push eax
push str.socket_error__d
push str.NPT_BsdUdpSocket::Receive
mov ecx, dword [0x663e78]
add ecx, 0x34
push ecx
push str.d:work_studio_backupmediaserversource_source_codeplatinum_src_0_6_3_683_neptune_source_system_bsd_nptbsdsockets.cpp
push 0x12c
mov edx, dword [0x663d08]
push edx
call fcn.004a5216
add esp, 0x1c
xor eax, eax
jne 0x53b136
mov esi, esp
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
call eax
cmp esi, esp
call fcn.004a7520
mov eax, dword [ebp - 0x6c]
jmp 0x53b20b
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
call eax
cmp esi, esp
call fcn.004a7520
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
add eax, 0x10
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x3c]
cdq
mov ecx, dword [ebp - 0x134]
add eax, dword [ecx]
mov ecx, dword [ecx + 4]
adc ecx, edx
mov edx, dword [ebp - 0x134]
mov dword [edx], eax
mov dword [edx + 4], ecx
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x53b23c]
call fcn.004a8880
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a59eb
add esp, 0x134
cmp ebp, esp
call fcn.004a7520
mov esp, ebp
pop ebp
ret 8