Function at 0x100709a0
Capabilities:
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10112200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp ebx, 0xfff
ja 0x10070d90
push 0x28bc
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
jne 0x100709f5
call dword [0x10112008]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bb287
mov esp, ebp
pop ebp
ret
push 0x28bc
push 0
push esi
call fcn.100bda00
imul eax, ebx, 0x1b0
push eax
mov dword [ebp - 0x24], eax
call dword [section..data]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x10070a41
call dword [0x10112008]
push esi
mov dword [esi + 0x30], ebx
call dword [0x10112004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bb287
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x24]
mov dword [esi + 0x30], ebx
push 0
push ebx
call fcn.100bda00
add esp, 0xc
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x10070a7f
push 4
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push ecx
push 0x1b
push 0x29
push eax
call ebx
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x10070d6f
test edi, edi
je 0x10070ae3
mov eax, 0x17
mov dword [ebp - 0xc], 0
mov word [ebp - 0x20], ax
xorps xmm0, xmm0
movzx eax, word [edi + 0x10]
push eax
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.WS2_32.dll_htons]
movups xmm0, xmmword [edi]
mov word [ebp - 0x1e], ax
movzx eax, word [edi + 0x12]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push 0x1c
push eax
push dword [ebp - 0x24]
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x10070d6f
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
push 0x8004667e
push dword [esi]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
push 0x20
push 0xffff
push dword [esi]
call ebx
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x40000
push eax
push 0x1002
push 0xffff
push dword [esi]
call ebx
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x40000
push eax
push 0x1001
push 0xffff
push dword [esi]
call ebx
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0x1b
push 0x29
push dword [esi]
call ebx
test edi, edi
je 0x10070baa
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1c
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x10070b9d
movups xmm0, xmmword [ebp - 0x18]
push dword [ebp - 0x1e]
movups xmmword [esi + 4], xmm0
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 0x14], ax
mov ax, word [ebp - 8]
mov word [esi + 0x16], ax
jmp 0x10070baa
movups xmm0, xmmword [edi]
movups xmmword [esi + 4], xmm0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x14], eax
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10070bb9
cmp edi, 0xff
jbe 0x10070bbe
mov edi, 0xff
xor edx, edx
or ecx, 0xffffffff
mov eax, esi
div ecx
add eax, esi
mov dword [esi + 0x28], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [esi + 0x28]
add ecx, eax
mov dword [esi + 0x38], edi
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x34], eax
xor eax, eax
ror ecx, 0x10
mov dword [esi + 0x28], ecx
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0x570
mov dword [esi + 0x654], 0
mov dword [esi + 0x860], 0
mov dword [esi + 0x864], 0
movups xmm0, xmmword [0x100f7858]
mov word [esi + 0x2888], ax
mov dword [esi + 0x288c], eax
mov dword [esi + 0x2890], eax
mov dword [esi + 0x2894], eax
mov dword [esi + 0x2898], eax
mov dword [esi + 0x289c], eax
mov dword [esi + 0x28a0], eax
mov dword [esi + 0x28a8], eax
mov dword [esi + 0x28ac], eax
mov dword [esi + 0x868], eax
mov dword [esi + 0x86c], eax
mov dword [esi + 0x870], eax
mov dword [esi + 0x874], eax
mov dword [esi + 0x28a4], eax
lea eax, [esi + 0x40]
movups xmmword [esi + 0x2878], xmm0
mov dword [eax], eax
mov dword [eax + 4], eax
imul eax, dword [esi + 0x34], 0x1b0
mov ebx, dword [esi + 0x30]
mov dword [esi + 0x28b0], 0xfff
mov dword [esi + 0x28b4], 0x2000000
mov dword [esi + 0x28b8], 0x2000000
add eax, ebx
cmp ebx, eax
jae 0x10070d5c
lea edi, [ebx + 0xf8]
nop word [eax + eax]
mov dword [edi - 0xf0], esi
mov ecx, ebx
sub ecx, dword [esi + 0x30]
mov eax, 0x4bda12f7
imul ecx
push ebx
sar edx, 7
mov eax, edx
mov word [edi - 0xe4], 0xffff
shr eax, 0x1f
add eax, edx
mov dword [edi - 0xcc], 0
mov word [edi - 0xea], ax
lea eax, [edi - 0xc]
mov dword [eax], eax
mov dword [edi - 8], eax
lea eax, [edi - 4]
mov dword [eax], eax
mov dword [edi], eax
lea eax, [edi + 4]
mov dword [eax], eax
mov dword [edi + 8], eax
lea eax, [edi + 0xc]
mov dword [eax], eax
mov dword [edi + 0x10], eax
lea eax, [edi + 0x14]
mov dword [eax], eax
mov dword [edi + 0x18], eax
lea eax, [edi + 0x1c]
mov dword [eax], eax
mov dword [edi + 0x20], eax
call fcn.10071d90
imul eax, dword [esi + 0x34], 0x1b0
lea edi, [edi + 0x1b0]
add ebx, 0x1b0
add esp, 4
add eax, dword [esi + 0x30]
cmp ebx, eax
jb 0x10070cd0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bb287
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10070d7d
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [esi + 0x30]
call dword [0x10112004]
push esi
call dword [0x10112004]
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bb287
mov esp, ebp
pop ebp
ret