Function at 0x466a10
Capabilities:
Create raw socket
Receive data
Receive data on socket
Resolve function by parsing pe exports
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0xf0
mov eax, dword [0x4b39fc]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push esi
mov esi, dword [esp + 0x100]
push edi
mov edi, dword [esp + 0x108]
xor ebx, ebx
mov eax, 2
push ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x48], 0x1f4
mov word [esp + 0x78], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x76], ax
mov dword [esp + 0x48], 0x10
test esi, esi
je 0x466cd2
test edi, edi
je 0x466cd2
push 1
push 3
mov dword [esi], ebx
push 2
mov dword [edi], ebx
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
je 0x466cd2
push 4
lea ecx, [esp + 0x48]
push ecx
push 0x1006
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x466ccb
mov edx, dword [esp + 0x100]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
push ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
xor ebp, ebp
jmp 0x466b00
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov byte [esp + 0x50], 8
mov byte [esp + 0x51], al
mov word [esp + 0x52], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov word [esp + 0x54], ax
mov ecx, 8
mov esi, str.abcdefghijklmnopqrstuvwabcdefghi_
lea edi, [esp + 0x58]
mov word [esp + 0x56], bp
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x50]
xor ecx, ecx
mov edx, 0x14
movzx esi, word [eax]
add ecx, esi
add eax, 2
sub edx, 1
jne 0x466b63
mov eax, ecx
movzx ecx, cx
shr eax, 0x10
add eax, ecx
mov edx, eax
shr edx, 0x10
add edx, eax
not edx
mov word [esp + 0x52], dx
call ebx
mov esi, dword [esp + 0x10]
push 0x10
mov edi, eax
lea eax, [esp + 0x7c]
push eax
push 0
push 0x28
lea ecx, [esp + 0x60]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x466c43
push 0x64
lea edx, [esp + 0x9c]
push 0
push edx
call fcn.00477820
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x8c]
push ecx
push 0
push 0x64
lea edx, [esp + 0xa8]
push edx
push esi
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x466bf1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x466c39
cmp eax, 0x3c
jb 0x466c39
call ebx
cmp byte [esp + 0xac], 0
mov esi, eax
jne 0x466c39
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movzx ecx, word [esp + 0xb0]
cmp ecx, eax
jne 0x466c39
sub esi, edi
lea eax, [esi + 1]
mov dword [esp + ebp*4 + 0x1c], eax
test eax, eax
jg 0x466c2b
mov dword [esp + ebp*4 + 0x1c], 1
movzx edx, byte [esp + 0xa0]
mov eax, dword [esp + 0x18]
mov dword [eax], edx
inc ebp
cmp ebp, 0xa
jl 0x466b00
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 0
pop ebp
je 0x466cc3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jle 0x466c5b
mov eax, ecx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jle 0x466c65
mov eax, ecx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x466c6f
mov eax, ecx
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x466c79
mov eax, ecx
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x466c83
mov eax, ecx
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x466c8d
mov eax, ecx
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jle 0x466c97
mov eax, ecx
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jle 0x466ca1
mov eax, ecx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jle 0x466cab
mov eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
test eax, eax
ja 0x466cbb
mov dword [ecx], 1
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004771de
add esp, 0xf0
ret