Function at 0x42d9d3
Capabilities:
Check for time delay via gettickcount
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov dword [ebp - 0x300], 0x190
lea eax, [ebp - 0x2f0]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
je 0x42da0d
xor eax, eax
jmp 0x42dd55
push 0
push 2
push 2
call sub.WSOCK32.dll_socket
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x42da2d
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42dd55
push 0x10
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.0042a88c
add esp, 0xc
mov word [ebp - 0x24], 2
push 0
call sub.WSOCK32.dll_htonl
mov dword [ebp - 0x20], eax
push 0
call sub.WSOCK32.dll_htons
mov word [ebp - 0x22], ax
mov dword [ebp - 4], 1
push 4
lea edx, [ebp - 4]
push edx
push 4
push 0xffff
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x42da8f
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42dd55
push 0x10
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_bind
cmp eax, 0xffffffff
jne 0x42dab8
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42dd55
mov dword [ebp - 4], 1
push 4
lea edx, [ebp - 4]
push edx
push 0x20
push 0xffff
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x42daef
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42dd55
mov dword [ebp - 0x2fc], 1
lea edx, [ebp - 0x2fc]
push edx
push 0x8004667e
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_ioctlsocket
cmp eax, 0xffffffff
jne 0x42db28
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42dd55
push 0x10
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.0042a88c
add esp, 0xc
mov word [ebp - 0x14], 2
push 0xffffffffffffffff
call sub.WSOCK32.dll_htonl
mov dword [ebp - 0x10], eax
push 0x11eb
call sub.WSOCK32.dll_htons
mov word [ebp - 0x12], ax
mov eax, dword [0x4363c8]
mov byte [eax], 0
lea ecx, [ebp - 0x160]
push ecx
push 0x4363c8
call fcn.0042ccf1
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x308], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x304], eax
mov edx, dword [ebp - 0x304]
add edx, dword [ebp - 0x300]
cmp edx, dword [ebp - 0x308]
jbe 0x42dc15
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x308], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push 0x135
lea ecx, [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call sub.WSOCK32.dll_sendto
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0xffffffff
jne 0x42dc04
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0x2733
jne 0x42dbef
jmp 0x42db8a
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42dd55
cmp dword [ebp - 0x2f8], 0x135
je 0x42dc15
jmp 0x42db8a
mov ecx, dword [ebp - 0x304]
add ecx, dword [ebp - 0x300]
cmp ecx, dword [ebp - 0x308]
ja 0x42dc3e
mov edx, dword [ebp - 0x28]
push edx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42dd55
push 0x125
push 0
lea eax, [ebp - 0x430]
push eax
call fcn.0042a88c
add esp, 0xc
mov dword [ebp - 0x2f4], 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x308], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x304]
add ecx, dword [ebp - 0x300]
cmp ecx, dword [ebp - 0x308]
jbe 0x42dd53
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x308], eax
lea edx, [ebp - 0x2f4]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0x125
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call sub.WSOCK32.dll_recvfrom
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0xffffffff
je 0x42dcd4
cmp dword [ebp - 0x2f8], 0
jne 0x42dcff
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0x2733
jne 0x42dced
jmp 0x42dc76
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42dd55
cmp dword [ebp - 0x2f8], 0x125
jne 0x42dd4e
push 0x10
push 0
push 0x4364bd
call fcn.0042a88c
add esp, 0xc
mov word [0x4364bd], 2
mov cx, word [ebp - 0x12]
mov word [0x4364bf], cx
mov edx, dword [ebp - 0x10]
mov dword [0x4364c1], edx
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
mov eax, 1
jmp 0x42dd55
jmp 0x42dc76
xor eax, eax
mov esp, ebp
pop ebp
ret