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

Disassembly:
enter 0, 2
pushal
mov esi, dword [ebp - 4]
mov eax, dword [esi - 8]
lea eax, [eax + 0x402c]
push eax
mov eax, dword [esi - 8]
lea eax, [eax + 0x401c]
push eax
push 0
push 0x4000
mov eax, dword [esi - 8]
lea eax, [eax + 8]
push eax
push dword [0x53b994]
call sub.WSOCK32.dll_recvfrom
mov ebx, dword [esi - 8]
mov dword [ebx + 0x4018], eax
mov eax, dword [esi - 8]
cmp dword [eax + 0x4018], 0
jle 0x4bd45e
mov eax, dword [esi - 8]
mov eax, dword [eax + 0x4018]
add dword [0x5c29f4], eax
mov eax, 0x53fd84
mov ebx, 0x5c237c
mov ecx, 0
call fcn.00423ae0
mov eax, dword [esi - 8]
lea ecx, [eax + 8]
mov eax, dword [esi - 8]
mov edx, dword [eax + 0x4018]
mov eax, 0x53fd90
mov ebx, 0x4000
call fcn.004208b6
mov eax, dword [esi - 8]
mov eax, dword [eax + 0x4018]
mov dword [0x543d90], eax
mov eax, dword [esi - 8]
mov eax, dword [eax + 0x4020]
mov dword [0x53fd84], eax
mov eax, dword [esi - 8]
movzx eax, word [eax + 0x401e]
push eax
call sub.WSOCK32.dll_ntohs
mov word [0x543d9a], ax
mov eax, dword [0x53b994]
mov dword [0x53fd88], eax
mov eax, dword [0x53b998]
mov dword [0x53fd8c], eax
mov dword [0x543d94], 3
movzx eax, word [0x53b99e]
push eax
call sub.WSOCK32.dll_ntohs
mov word [0x543d98], ax
mov eax, dword [0x53b998]
mov dword [0x543da0], eax
mov eax, dword [0x53b994]
mov dword [0x543d9c], eax
inc dword [0x5c2974]
mov eax, dword [0x5c2974]
mov dword [0x543da4], eax
cmp dword [0x5c290c], 0
je 0x4bd366
mov eax, str.Server_FD_READ.__DebugPacketNumber_
mov ebx, 0x25
call fcn.00425f5c
mov eax, dword [0x543da4]
call fcn.00425c64
call fcn.00425618
mov eax, str.__Listening_Port_
mov ebx, 0x13
call fcn.00425f5c
call fcn.00425618
movzx eax, word [0x53b99e]
push eax
call sub.WSOCK32.dll_ntohs
movzx eax, ax
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b7708
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
mov eax, str._From_IP_
mov ebx, 0xb
call fcn.00425f5c
call fcn.00425618
push dword [0x53fd84]
call sub.WSOCK32.dll_inet_ntoa
call fcn.004260bc
call fcn.00425618
mov eax, str._UDPFromPort_
mov ebx, 0xf
call fcn.00425f5c
call fcn.00425618
movzx eax, word [0x543d9a]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b7728
mov ebx, 0xd
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x53b994]
call fcn.00425c64
call fcn.00425618
mov eax, str._SocketID___Message_
mov ebx, 0xc
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x53b998]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b7744
mov ebx, 0xb
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x53b9ac]
call fcn.00425c64
call fcn.00425618
mov eax, str._Total_bytes_read__SimpleServer_UDP_Read
mov ebx, 0x14
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi - 8]
mov eax, dword [eax + 0x4018]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b7764
mov ebx, 0x15
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
mov eax, 0x5c25f8
call fcn.00426380
cmp dword [0x59a778], 0
je 0x4bd3d3
mov eax, str.Server_FD_READ_Error____Could_not_write_to_qSimpleInData._Error_
mov ebx, 0x42
call fcn.00425f5c
mov eax, dword [0x59a778]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b77c0
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
call fcn.00425ac0
call fcn.004206fb
call fcn.00425618
mov eax, 0x5b77c4
mov ebx, 0x15
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
mov eax, dword [0x53b9b4]
mov ebx, 0
mov ecx, dword [0x53b9b0]
mov edx, 0
call fcn.00519018
call fcn.004bd0e4
cmp dword [0x5c290c], 0
je 0x4bd528
mov eax, 0x5b77dc
mov ebx, 0x20
call fcn.00425f5c
mov eax, dword [0x53b9b0]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b77fc
mov ebx, 9
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x53b9b4]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b7808
mov ebx, 0x15
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4bd528
call sub.WSOCK32.dll_WSAGetLastError
mov ebx, dword [esi - 8]
mov dword [ebx], eax
mov eax, dword [esi - 8]
cmp dword [eax], 0x2746
jne 0x4bd4cd
cmp dword [0x5c290c], 0
je 0x4bd528
mov eax, str.Last_UDP_Message_on_Socket____was_unable_to_be_delivered_as_the_host_was_not_listening_on_that_port__WSAECONNRESET_10054_
mov ebx, 0x1c
call fcn.00425f5c
mov eax, dword [0x53b994]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b783c
mov ebx, 0x5d
call fcn.00425f5c
call fcn.00425618
mov eax, 0x5b789c
mov ebx, 0x15
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4bd528
mov eax, str.UDP_Read_Error__maybe_error_from_previous_send__
mov ebx, 0x32
call fcn.00425f5c
mov eax, dword [esi - 8]
mov eax, dword [eax]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b78e8
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi - 8]
mov eax, dword [eax]
push eax
call fcn.004a5630
call fcn.00425618
mov eax, 0x5b78ec
mov ebx, 0x15
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
popal
leave
ret