Function at 0x4a5280
Capabilities:
Check for time delay via gettickcount
Create raw socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xffffffff
jne 0x4a52ed
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x4a52c7
xor al, al
jmp 0x4a54b7
mov edx, dword [ebp - 0x6c]
movsx eax, word [edx + 0xa]
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + edx]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.004332a0
add esp, 0xc
push 1
push 3
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x64], eax
push 4
lea ecx, [ebp + 0x14]
push ecx
push 0x1006
push 0xffff
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp + 0x14]
push eax
push 0x1005
push 0xffff
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp dword [ebp + 0x18], 0
je 0x4a536c
push 0x10
push 0
lea edx, [ebp - 0x38]
push edx
call fcn.00432e20
add esp, 0xc
mov eax, 2
mov word [ebp - 0x38], ax
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x34], eax
push 0x10
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.WS2_32.dll_bind]
push 0x10
push 0
lea ecx, [ebp - 0x48]
push ecx
call fcn.00432e20
add esp, 0xc
mov edx, 2
mov word [ebp - 0x48], dx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
lea edx, [ebp - 0xc]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov byte [eax], 8
mov ecx, dword [ebp - 0x60]
mov byte [ecx + 1], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [ebp - 0x60]
mov word [edx + 4], ax
xor eax, eax
mov ecx, dword [ebp - 0x60]
mov word [ecx + 2], ax
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x68], 0
jmp 0x4a53d2
mov edx, dword [ebp - 0x68]
add edx, 1
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp + 0x10]
jge 0x4a54aa
mov ecx, dword [ebp - 0x60]
mov dx, word [ebp - 0x68]
mov word [ecx + 6], dx
push 8
lea eax, [ebp - 0xc]
push eax
call fcn.004a9520
add esp, 8
mov ecx, dword [ebp - 0x60]
mov word [ecx + 2], ax
push 0x10
lea edx, [ebp - 0x48]
push edx
push 0
push 8
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffff
jne 0x4a5421
jmp 0x4a53c9
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x7c], 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0x1c
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffff
je 0x4a54a5
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
movzx eax, byte [edx]
test eax, eax
je 0x4a5480
jmp 0x4a53c9
mov ecx, dword [ebp - 0x78]
movzx esi, word [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x4a54a5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x80]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov byte [ebp - 0x59], 1
jmp 0x4a54aa
jmp 0x4a53c9
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, byte [ebp - 0x59]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret 0x14