Function at 0x42c9d3
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 0x42ca0d
xor eax, eax
jmp 0x42cd55
push 0
push 2
push 2
call sub.WSOCK32.dll_socket
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x42ca2d
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42cd55
push 0x10
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.0042988c
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 0x42ca8f
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42cd55
push 0x10
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_bind
cmp eax, 0xffffffff
jne 0x42cab8
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42cd55
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 0x42caef
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42cd55
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 0x42cb28
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42cd55
push 0x10
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.0042988c
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 [0x4343c8]
mov byte [eax], 0
lea ecx, [ebp - 0x160]
push ecx
push 0x4343c8
call fcn.0042bcf1
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 0x42cc15
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 0x42cc04
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0x2733
jne 0x42cbef
jmp 0x42cb8a
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42cd55
cmp dword [ebp - 0x2f8], 0x135
je 0x42cc15
jmp 0x42cb8a
mov ecx, dword [ebp - 0x304]
add ecx, dword [ebp - 0x300]
cmp ecx, dword [ebp - 0x308]
ja 0x42cc3e
mov edx, dword [ebp - 0x28]
push edx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42cd55
push 0x125
push 0
lea eax, [ebp - 0x430]
push eax
call fcn.0042988c
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 0x42cd53
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 0x42ccd4
cmp dword [ebp - 0x2f8], 0
jne 0x42ccff
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0x2733
jne 0x42cced
jmp 0x42cc76
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42cd55
cmp dword [ebp - 0x2f8], 0x125
jne 0x42cd4e
push 0x10
push 0
push 0x4344bd
call fcn.0042988c
add esp, 0xc
mov word [0x4344bd], 2
mov cx, word [ebp - 0x12]
mov word [0x4344bf], cx
mov edx, dword [ebp - 0x10]
mov dword [0x4344c1], edx
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
mov eax, 1
jmp 0x42cd55
jmp 0x42cc76
xor eax, eax
mov esp, ebp
pop ebp
ret