Function at 0x42c699
Capabilities:
Check for time delay via gettickcount
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, 0x434
mov dword [ebp - 0x304], 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 0x42c6d3
xor eax, eax
jmp 0x42c9cf
push 0x3e8
push 2
push 6
call sub.WSOCK32.dll_socket
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x42c6f6
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42c9cf
push 0xe
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.0042988c
add esp, 0xc
mov word [ebp - 0x24], 6
push 0
call sub.WSOCK32.dll_htons
mov word [ebp - 0x18], 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 0x42c74e
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42c9cf
push 0xe
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_bind
cmp eax, 0xffffffff
jne 0x42c777
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42c9cf
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 0x42c7ae
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42c9cf
mov dword [ebp - 0x300], 1
lea edx, [ebp - 0x300]
push edx
push 0x8004667e
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_ioctlsocket
cmp eax, 0xffffffff
jne 0x42c7e7
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42c9cf
push 0xe
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.0042988c
add esp, 0xc
mov word [ebp - 0x14], 6
mov dword [ebp - 0x2fc], 0
jmp 0x42c818
mov eax, dword [ebp - 0x2fc]
add eax, 1
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 6
jge 0x42c82e
mov ecx, dword [ebp - 0x2fc]
mov byte [ebp + ecx - 0xe], 0xff
jmp 0x42c809
push 0x4587
call sub.WSOCK32.dll_htons
mov word [ebp - 8], ax
mov edx, dword [0x4343c8]
mov byte [edx], 0
lea eax, [ebp - 0x160]
push eax
push 0x4343c8
call fcn.0042bcf1
add esp, 8
push 0xe
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x135
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_sendto
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0xffffffff
jne 0x42c89a
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x42c9cf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x308], eax
mov edx, dword [ebp - 0x308]
add edx, dword [ebp - 0x304]
cmp edx, dword [ebp - 0x30c]
jbe 0x42c9cd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30c], eax
push 0x125
push 0
lea eax, [ebp - 0x434]
push eax
call fcn.0042988c
add esp, 0xc
mov dword [ebp - 0x2f4], 0xe
lea ecx, [ebp - 0x2f4]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0x125
lea eax, [ebp - 0x434]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WSOCK32.dll_recvfrom
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0xffffffff
je 0x42c930
cmp dword [ebp - 0x2f8], 0
jne 0x42c95c
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0x2733
jne 0x42c94c
jmp 0x42c8b2
mov edx, dword [ebp - 0x28]
push edx
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
jmp 0x42c9cd
cmp dword [ebp - 0x2f8], 0x125
jne 0x42c9c8
push 0x10
push 0
push 0x4344bd
call fcn.0042988c
add esp, 0xc
mov word [0x4344bd], 6
push 4
lea eax, [ebp - 0x12]
push eax
push 0x4344bf
call fcn.00429858
add esp, 0xc
push 6
lea ecx, [ebp - 0xe]
push ecx
push 0x4344c3
call fcn.00429858
add esp, 0xc
mov dx, word [ebp - 8]
mov word [0x4344c9], dx
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
mov eax, 1
jmp 0x42c9cf
jmp 0x42c8b2
xor eax, eax
mov esp, ebp
pop ebp
ret