Function at 0x4ddd00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ddf12
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dword [ebx + 0x44], 0xffffffff
lea eax, [ebx + 0x4c]
call fcn.00404a2c
mov byte [ebx + 0x50], 0
mov byte [ebx + 0x51], 0
mov byte [ebx + 0x52], 0
lea eax, [ebx + 0x54]
call fcn.00404a2c
cmp dword [ebx + 0x24], 0xffffffff
je 0x4ddefc
mov byte [ebx + 0x49], 8
mov byte [ebx + 0x4a], 0
mov byte [ebx + 0x4b], 3
lea ecx, [ebx + 0x30]
mov edx, dword [ebx + 0x3c]
add edx, 0xc
jno 0x4ddd6e
call fcn.00403b58
mov al, 0x37
call fcn.004050dc
mov esi, dword [ebx + 0x30]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x14]
mov dl, byte [ebx + 0x49]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x14]
mov word [eax + 2], 0
mov eax, 0x7fff
call fcn.00403274
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x38]
mov edx, dword [ebp - 0x14]
mov word [edx + 4], ax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], eax
add dword [ebx + 0x34], 1
jno 0x4dddc0
call fcn.00403b58
mov eax, dword [ebx + 0x34]
mov edx, dword [ebp - 0x14]
mov word [edx + 6], ax
mov edx, dword [ebx + 0x30]
mov eax, ebx
call fcn.004ddf24
mov edx, dword [ebp - 0x14]
mov word [edx + 2], ax
lea eax, [ebx + 0x14]
xor ecx, ecx
mov edx, 0x10
call fcn.00403254
mov word [ebx + 0x14], 2
push 0
call sub.wsock32.dll_htons
mov word [ebx + 0x16], ax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_htonl
mov dword [ebx + 0x18], eax
push 0x10
lea eax, [ebx + 0x14]
push eax
push 0
mov eax, dword [ebx + 0x30]
call fcn.00404cec
push eax
lea eax, [ebx + 0x30]
call fcn.00404f44
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.wsock32.dll_sendto
inc eax
je 0x4ddefc
lea eax, [ebp - 0x10]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [ebx + 0x30]
call fcn.00404f4c
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.004ddc0c
mov byte [ebp - 6], al
cmp byte [ebp - 6], 0
je 0x4ddea0
mov edi, dword [ebx + 0x30]
mov al, byte [edi]
and al, 0xf
and eax, 0xff
imul esi, eax, 4
jno 0x4dde75
call fcn.00403b58
lea eax, [ebx + 0x30]
call fcn.00404f44
add eax, esi
mov esi, eax
mov al, byte [esi]
cmp al, byte [ebx + 0x49]
je 0x4dde4f
movzx eax, word [esi + 4]
cmp eax, dword [ebx + 0x38]
je 0x4ddea0
mov edx, dword [ebx + 0x30]
mov eax, dword [ebp - 0x10]
call fcn.00405030
test eax, eax
jle 0x4dde4f
cmp byte [ebp - 6], 0
je 0x4ddefc
call sub.kernel32.dll_GetTickCount_1
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004de080
mov dword [ebx + 0x44], eax
mov al, byte [edi + 8]
mov byte [ebx + 0x48], al
mov al, byte [esi]
mov byte [ebx + 0x50], al
mov al, byte [esi + 1]
mov byte [ebx + 0x51], al
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00403254
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebx + 0x4c]
call fcn.00404c24
cmp byte [ebx + 0x50], 0
jne 0x4ddefc
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddf19
lea eax, [ebp - 0x10]
call fcn.00404a2c
ret