Function at 0x40f700
Capabilities:
Create udp socket
Get socket status
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6062ca
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x6ab0d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov edi, dword [ebx + 0xc]
mov eax, 2
movups xmmword [ebp - 0x2c], xmm0
push 0x7f000001
mov word [ebp - 0x2c], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x11
mov dword [ebp - 0x28], eax
mov ax, word [0x6b2b94]
push 2
push 2
mov word [ebp - 0x2a], ax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x40f7e8
cmp byte [0x6b2b20], 0
je 0x40f7e1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x16c]
call fcn.004029b0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x40f7ae
mov eax, dword [eax]
push eax
push str.lsp_accelerate__loopback_udp_socket__create_socket_failed____s_
push 3
push 0x6b2b20
call fcn.00403570
mov eax, dword [ebp - 0x158]
add esp, 0x10
cmp eax, 8
jb 0x40f7e1
inc eax
lea ecx, [ebp - 0x16c]
push eax
push dword [ebp - 0x16c]
call fcn.00408960
xor al, al
jmp 0x40fa98
push edi
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.0040fb80
mov dword [ebp - 4], 1
lea esi, [ebp - 0x44]
mov edi, dword [ebp - 0x30]
cmp edi, 0x10
mov edx, dword [ebp - 0x34]
cmovae esi, dword [ebp - 0x44]
xor ecx, ecx
test edx, edx
je 0x40f825
mov al, byte [esi + ecx]
add al, 7
not al
mov byte [esi + ecx], al
inc ecx
cmp ecx, edx
jb 0x40f810
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x151], 0
push ecx
push 0
cmp edi, 0x10
lea eax, [ebp - 0x44]
mov edi, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x44]
push edx
push eax
push edi
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x40f913
cmp byte [0x6b2b20], 0
je 0x40fa76
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x184]
call fcn.004029b0
mov esi, eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.0040ee90
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x40f893
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x40f89b
mov eax, dword [eax]
push esi
push eax
push str.lsp_accelerate__loopback_udp_socket__send_to_failed___s:__s_
push 3
push 0x6b2b20
call fcn.00403570
mov eax, dword [ebp - 0x158]
add esp, 0x14
cmp eax, 8
jb 0x40f8cf
inc eax
lea ecx, [ebp - 0x16c]
push eax
push dword [ebp - 0x16c]
call fcn.00408960
xor eax, eax
mov dword [ebp - 0x158], 7
mov word [ebp - 0x16c], ax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x15c], 0
cmp eax, 8
jb 0x40fa76
inc eax
lea ecx, [ebp - 0x184]
push eax
push dword [ebp - 0x184]
call fcn.00408960
jmp 0x40fa76
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14c], edi
push eax
push 0
push 0
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 1
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x1c], xmm0
push 0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x40fa6f
jns 0x40fa17
cmp byte [0x6b2b20], 0
je 0x40fa76
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x184]
call fcn.004029b0
mov esi, eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x16c]
call fcn.0040ee90
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 8
jb 0x40f99e
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x40f9a6
mov eax, dword [eax]
push esi
push eax
push str.lsp_accelerate__loopback_udp_socket__select_failed____s_:__s_
push 3
push 0x6b2b20
call fcn.00403570
mov eax, dword [ebp - 0x158]
add esp, 0x14
cmp eax, 8
jb 0x40f9da
inc eax
lea ecx, [ebp - 0x16c]
push eax
push dword [ebp - 0x16c]
call fcn.00408960
xor eax, eax
mov dword [ebp - 0x158], 7
mov word [ebp - 0x16c], ax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x15c], 0
cmp eax, 8
jb 0x40fa76
inc eax
lea ecx, [ebp - 0x184]
push eax
push dword [ebp - 0x184]
call fcn.00408960
jmp 0x40fa76
cmp byte [0x6b2b20], 0
je 0x40fa76
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x184]
call fcn.0040ee90
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x40fa3a
mov eax, dword [eax]
push eax
push str.lsp_accelerate__loopback_udp_socket__select_timeout___s
push 3
push 0x6b2b20
call fcn.00403570
mov eax, dword [ebp - 0x170]
add esp, 0x10
cmp eax, 8
jb 0x40fa76
inc eax
lea ecx, [ebp - 0x184]
push eax
push dword [ebp - 0x184]
call fcn.00408960
jmp 0x40fa76
mov byte [ebp - 0x151], 1
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40fa92
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.00408cd0
mov al, byte [ebp - 0x151]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005697c8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8