Function at 0x53a9e0
Capabilities:
Send data
Send 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 + 0x18]
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 + 0x20]
call eax
cmp esi, esp
call fcn.004a7520
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
cmp dword [eax + 8], 0
je 0x53aa73
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
mov ecx, eax
call fcn.004a69d1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x53aa73
mov eax, dword [ebp - 0x30]
jmp 0x53ad1e
cmp dword [ebp + 0xc], 0
je 0x53ab3d
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00539080
add esp, 8
cmp dword [0x663d08], 0
jne 0x53aaa9
mov eax, dword [str.neptune.sockets.bsd]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x663d08], eax
cmp dword [0x663d08], 0
je 0x53ab04
mov ecx, dword [0x663d08]
call fcn.004a9082
cmp eax, 0x64
jg 0x53ab04
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.sending_datagram_to__lx_port__d
push str.NPT_BsdUdpSocket::Send
mov eax, dword [0x663e74]
add eax, 0x17
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 0x53aa8d
mov esi, esp
push 0x10
lea eax, [ebp - 0x54]
push eax
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp esi, esp
call fcn.004a7520
mov dword [ebp - 0x3c], eax
jmp 0x53abd2
mov dword [ebp - 0x60], 0
cmp dword [0x663d08], 0
jne 0x53ab60
mov eax, dword [str.neptune.sockets.bsd]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x663d08], eax
cmp dword [0x663d08], 0
je 0x53aba2
mov ecx, dword [0x663d08]
call fcn.004a9082
cmp eax, 0x64
jg 0x53aba2
push str.sending_datagram
push str.NPT_BsdUdpSocket::Send
mov eax, dword [0x663e74]
add eax, 0x27
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 0x53ab44
mov esi, esp
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.004a7520
mov dword [ebp - 0x3c], eax
cmp dword [0x663d08], 0
jne 0x53abee
mov eax, dword [str.neptune.sockets.bsd]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x663d08], eax
cmp dword [0x663d08], 0
je 0x53ac35
mov ecx, dword [0x663d08]
call fcn.004a9082
cmp eax, 0x64
jg 0x53ac35
mov eax, dword [ebp - 0x3c]
push eax
push str.send_sendto_returned__d
push str.NPT_BsdUdpSocket::Send
mov ecx, dword [0x663e74]
add ecx, 0x2f
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 0x53abd2
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
movzx eax, byte [eax + 0x18]
test eax, eax
je 0x53ac56
mov eax, 0xffffb1cb
jmp 0x53ad1e
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x53acec
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 0x53ac97
mov eax, dword [str.neptune.sockets.bsd]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x663d08], eax
cmp dword [0x663d08], 0
je 0x53ace3
mov ecx, dword [0x663d08]
call fcn.004a9082
cmp eax, 0x12c
jg 0x53ace3
mov eax, dword [ebp - 0x6c]
push eax
push str.socket_error__d
push str.NPT_BsdUdpSocket::Send
mov ecx, dword [0x663e74]
add ecx, 0x33
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 0x53ac7b
mov eax, dword [ebp - 0x6c]
jmp 0x53ad1e
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.004a921c
add eax, 0x10
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x24]
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, [0x53ad50]
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