Function at 0x4299d3
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 0x429a0d
xor eax, eax
jmp 0x429d55
push 0
push 2
push 2
call sub.WSOCK32.dll_socket
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x429a2d
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x429d55
push 0x10
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.0042688c
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 0x429a8f
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x429d55
push 0x10
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_bind
cmp eax, 0xffffffff
jne 0x429ab8
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x429d55
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 0x429aef
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x429d55
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 0x429b28
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x429d55
push 0x10
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.0042688c
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 [0x4313c8]
mov byte [eax], 0
lea ecx, [ebp - 0x160]
push ecx
push 0x4313c8
call fcn.00428cf1
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 0x429c15
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 0x429c04
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0x2733
jne 0x429bef
jmp 0x429b8a
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x429d55
cmp dword [ebp - 0x2f8], 0x135
je 0x429c15
jmp 0x429b8a
mov ecx, dword [ebp - 0x304]
add ecx, dword [ebp - 0x300]
cmp ecx, dword [ebp - 0x308]
ja 0x429c3e
mov edx, dword [ebp - 0x28]
push edx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x429d55
push 0x125
push 0
lea eax, [ebp - 0x430]
push eax
call fcn.0042688c
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 0x429d53
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 0x429cd4
cmp dword [ebp - 0x2f8], 0
jne 0x429cff
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0x2733
jne 0x429ced
jmp 0x429c76
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x429d55
cmp dword [ebp - 0x2f8], 0x125
jne 0x429d4e
push 0x10
push 0
push 0x4314bd
call fcn.0042688c
add esp, 0xc
mov word [0x4314bd], 2
mov cx, word [ebp - 0x12]
mov word [0x4314bf], cx
mov edx, dword [ebp - 0x10]
mov dword [0x4314c1], edx
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
mov eax, 1
jmp 0x429d55
jmp 0x429c76
xor eax, eax
mov esp, ebp
pop ebp
ret