Function at 0x5666d0
Capabilities:
Connect socket
Connect udp socket
Create raw socket
Create udp socket
Get local ipv4 addresses
Get socket information
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push dword [ebp + 8]
mov eax, 2
mov dword [ebp - 0x3c], 0x10
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], 0
call dword [sym.imp.WS2_32.dll_htons]
push 0x11
push 2
push 2
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_socket]
push dword [ebp - 0x3c]
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x44], ebx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
js 0x5668d0
push 0x100000
push ebx
call fcn.00556e30
push 0x80000
push ebx
call fcn.00556e90
push ebx
call fcn.00556e00
add esp, 0x14
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x5668d0
push esi
push edi
call fcn.0054cc20
push 0
push 0x3e8
mov esi, edx
mov ebx, eax
push esi
push ebx
call fcn.0066b190
push 0
push 0xea60
push esi
push ebx
mov edi, eax
call fcn.0066b190
push 0
push 0x3c
mov esi, edx
mov dword [ebp - 0x40], eax
push esi
push eax
call fcn.0066b190
push dword [ebp - 0x12]
mov dword [ebp - 0x38], eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [ebp - 0x40]
movzx ecx, ax
mov eax, edx
push ecx
imul ecx, edi, 0x3e8
shl eax, 4
sub eax, edx
shl eax, 2
sub edi, eax
mov eax, edx
sub ebx, ecx
push ebx
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
shl ecx, 4
push edi
sub ecx, ebx
shl ecx, 2
sub eax, ecx
push eax
push 0
push 0x5a0
push esi
push edx
call fcn.0066b190
lea eax, [eax + eax*2]
shl eax, 3
sub ebx, eax
push ebx
push str._TitanSDK___02d:_02d:_02d._03d__udp__listen_port_ipv4_d_n
call fcn.00551730
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
add esp, 0x18
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x12]
mov dword [0x753210], eax
call dword [sym.imp.WS2_32.dll_ntohs]
push 0
push 2
push 2
mov word [0x753214], ax
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
push str.255.255.255.255
call ebx
mov dword [0x753210], eax
cmp esi, 0xffffffff
je 0x5668ad
xorps xmm0, xmm0
mov eax, 2
movups xmmword [ebp - 0x24], xmm0
push str.8.8.8.8
mov word [ebp - 0x24], ax
call ebx
push 0x35
mov dword [ebp - 0x20], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x56689f
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x10
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [0x753210]
cmp eax, 0xffffffff
cmovne ecx, dword [ebp - 0x30]
mov dword [0x753210], ecx
push esi
call fcn.00556c40
mov eax, dword [0x753210]
add esp, 4
push eax
call edi
pop edi
mov dword [0x753210], eax
mov eax, dword [ebp - 0x44]
pop esi
mov dword [0x753208], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00556c40
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov dword [0x753208], 0xffffffff
mov eax, 0x67
pop ebx
call fcn.00669a1e
mov esp, ebp
pop ebp
ret