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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff32c
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x1014d094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
call eax
test al, al
jne 0x100eb124
mov di, word [ebp + 8]
test di, di
jne 0x100eb144
push 0xf0
push str.C:Usersw9263DesktopFormDX_PrivateFormDXSAMPRakNetRakPeer.cpp
push str.maxConnections___0
call fcn.10063b16
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10054437
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x828], 0xffffffff
jne 0x100eb2d2
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x100eb209
push 4
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], 1
push eax
push 4
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], 0x40000
push eax
push 0x1002
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], 0x4000
push eax
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe4], 1
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x100eb218
push 0xe6
push str.C:Usersw9263DesktopFormDX_PrivateFormDXSAMPRakNetSocketLayer.cpp
push 0x10117520
call fcn.10063b16
add esp, 0xc
mov dword [ebx + 0x828], 0xffffffff
jmp 0x100eb124
push 4
lea eax, [ebp - 0xd4]
push eax
push 0x20
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0xd8], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xbe], ax
mov eax, 2
mov word [ebp - 0xc0], ax
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x100eb270
cmp byte [eax], 0
je 0x100eb270
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0xbc], eax
jmp 0x100eb27a
mov dword [ebp - 0xbc], 0
push 0x10
lea eax, [ebp - 0xc0]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x100eb209
lea eax, [ebp - 0xdc]
mov dword [ebx + 0x828], esi
push eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xdc], 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x100eb2db
push dword [ebp - 0xce]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
test ax, ax
je 0x100eb2db
jmp 0x100eb2d5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd8], eax
cmp word [ebx + 8], 0
jne 0x100eb40a
cmp word [ebx + 0xa], di
jbe 0x100eb2f0
mov word [ebx + 0xa], di
mov word [ebx + 8], di
xor ecx, ecx
movzx edi, di
mov edx, 0x840
mov eax, edi
mov dword [ebp - 0xe8], edi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.10054fae
add esp, 4
mov dword [ebp - 0xec], eax
push 0x1004bc80
push 0x1004bc10
push edi
lea esi, [eax + 4]
mov dword [ebp - 4], 0
push 0x840
push esi
mov dword [eax], edi
call fcn.10054ae8
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov dword [ebx + 0x340], esi
xor esi, esi
cmp ax, word [ebx + 8]
jae 0x100eb3cd
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x340]
mov byte [edi + eax], 0
mov edx, dword [ebx + 0x340]
movzx eax, word [ebx + 0x848]
add edx, edi
movzx ecx, word [ebx + 0x84a]
movsd xmm0, qword [ebx + 0x840]
mov dword [edx + 0x6b0], eax
add eax, ecx
add eax, eax
movsd qword [edx + 0x6a8], xmm0
mov dword [edx + 0x6b4], ecx
cmp dword [edx + 0x2f0], eax
jae 0x100eb3be
mov dword [edx + 0x2f0], eax
movzx eax, word [ebx + 8]
inc esi
add edi, 0x840
cmp esi, eax
jb 0x100eb370
mov eax, dword [ebx + 0x34c]
test eax, eax
je 0x100eb40a
cmp eax, 0x200
jbe 0x100eb400
push dword [ebx + 0x344]
call fcn.10054445
add esp, 4
mov dword [ebx + 0x34c], 0
mov dword [ebx + 0x344], 0
mov dword [ebx + 0x348], 0
cmp byte [ebx + 4], 0
je 0x100eb51a
push 0x400
lea eax, [ebx + 0x3e0]
push 0
push eax
call fcn.10056960
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebx + 0x7f4], 0
mov ecx, ebx
mov dword [ebx + 0x7f0], 0
mov dword [ebx + 0x7ec], 0
mov dword [ebx + 0x7e8], 0
mov byte [ebx + 0x368], 0
mov byte [ebx + 4], 0
mov dword [ebx + 0x824], eax
call fcn.100e5e10
lea eax, [ebp - 0xb0]
push eax
call fcn.100f3800
mov eax, dword [ebp - 0xd8]
mov word [ebx + 0x238], ax
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x100eb495
cmp byte [eax], 0
jne 0x100eb49b
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebx + 0x234], eax
cmp byte [ebx + 5], 0
jne 0x100eb51a
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0
push eax
push 0
push ebx
push 0x100e3160
push 0x200000
push 0
call fcn.100674a9
add esp, 0x18
mov dword [ebx + 0x378], eax
test eax, eax
jne 0x100eb4f0
mov eax, dword [ebx]
mov ecx, ebx
push 0
push 0
call dword [eax + 0x24]
jmp 0x100eb124
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebx + 5], 0
mov dword [ebx + 0x378], 0
jne 0x100eb51a
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0xa
call esi
cmp byte [ebx + 5], 0
je 0x100eb510
xor esi, esi
cmp dword [ebx + 0x3c0], esi
jbe 0x100eb53c
mov eax, dword [ebx + 0x3bc]
push ebx
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
inc esi
cmp esi, dword [ebx + 0x3c0]
jb 0x100eb524
mov al, 1
jmp 0x100eb126