Function at 0x4eb8c1
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, edx
mov dword [esp + 8], ecx
push 0xc
pop ecx
push 4
pop edx
call fcn.004a3937
mov esi, eax
xor eax, eax
mov ecx, edi
inc eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [esi + 8], 0
call fcn.0060008d
mov eax, dword [eax]
lea ecx, [esp + 4]
lea ebx, [esp + 0x60]
xorps xmm0, xmm0
movaps xmmword [ebx + 0x70], xmm0
movaps xmmword [ebx + 0x60], xmm0
movaps xmmword [ebx + 0x50], xmm0
movaps xmmword [ebx + 0x40], xmm0
movaps xmmword [ebx + 0x30], xmm0
movaps xmmword [ebx + 0x20], xmm0
movaps xmmword [ebx + 0x10], xmm0
movaps xmmword [ebx], xmm0
mov dword [ecx], 0x80
push ecx
push ebx
push eax
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x4eb9c7
movzx ecx, word [esp + 0x60]
mov eax, dword [esp + 4]
cmp ecx, 2
je 0x4eb9e3
cmp ecx, 0x17
jne 0x4eba11
cmp eax, 0x1c
jb 0x4ebc51
movsd xmm0, qword [esp + 0x68]
mov ecx, dword [esp + 0x64]
movzx eax, word [esp + 0x62]
mov edx, dword [esp + 0x78]
mov word [esp + 0xc], 1
movsd qword [esp + 0x4e], xmm0
movsd xmm0, qword [esp + 0x70]
mov dword [esp], ecx
rol ax, 8
movsd qword [esp + 0x56], xmm0
movsd xmm0, qword [esp + 0x4c]
movzx ecx, word [esp + 0x5c]
movsd qword [esp + 0xe], xmm0
movsd xmm0, qword [esp + 0x54]
mov word [esp + 0x1e], cx
mov ecx, dword [esp]
movsd qword [esp + 0x16], xmm0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov word [esp + 0x28], ax
xor eax, eax
inc eax
jmp 0x4eba29
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esp + 0x10], cl
and word [esp + 0x11], 0
mov byte [esp + 0x13], cl
mov dword [esp + 0x14], eax
jmp 0x4eba1e
cmp eax, 0x10
jb 0x4ebc60
movzx ecx, word [esp + 0x62]
mov eax, dword [esp + 0x64]
and word [esp + 0xc], 0
mov dword [esp], 0
rol cx, 8
mov dword [esp + 0xe], eax
mov word [esp + 0x12], cx
jmp 0x4eba2c
mov byte [esp + 0x10], 2
mov dword [esp + 0x14], 0xa0cdf4
mov ax, 2
mov word [esp + 0xc], 2
mov dword [esp], eax
mov ecx, edi
call fcn.0060008d
mov eax, dword [eax]
xorps xmm0, xmm0
lea ecx, [esp + 4]
mov dword [esp + 4], 0x80
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
push ecx
push ebx
push eax
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x4ebb14
movzx ecx, word [esp + 0x60]
mov eax, dword [esp + 4]
cmp ecx, 2
je 0x4ebb33
cmp ecx, 0x17
jne 0x4ebc13
cmp eax, 0x1c
jb 0x4ebc51
movsd xmm0, qword [esp + 0x68]
movzx eax, word [esp + 0x62]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x78]
mov word [esp + 0x2c], 1
movsd qword [esp + 0x4e], xmm0
movsd xmm0, qword [esp + 0x70]
rol ax, 8
movsd qword [esp + 0x56], xmm0
movsd xmm0, qword [esp + 0x4c]
movsd xmm1, qword [esp + 0x54]
movzx edi, word [esp + 0x5c]
movsd qword [esp + 0x2e], xmm0
movsd qword [esp + 0x36], xmm1
mov word [esp + 0x3e], di
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov word [esp + 0x48], ax
jmp 0x4ebb58
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esp + 0x30], cl
and word [esp + 0x31], 0
mov byte [esp + 0x33], cl
mov dword [esp + 0x34], eax
jmp 0x4ebc20
cmp eax, 0x10
jb 0x4ebc60
movzx ecx, word [esp + 0x62]
mov eax, dword [esp + 0x64]
and word [esp + 0x2c], 0
rol cx, 8
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], cx
cmp word [esp], 2
je 0x4ebc27
movsd xmm1, qword [esp + 0x1c]
lea ebx, [esp + 0x60]
lea eax, [esp + 0x2c]
movsd xmm0, qword [esp + 0x24]
movsd xmm2, qword [esp + 0xc]
movsd xmm3, qword [eax]
movsd qword [ebx + 0x10], xmm1
movsd xmm1, qword [esp + 0x14]
movsd qword [ebx], xmm2
movsd qword [ebx + 0x18], xmm0
movsd xmm2, qword [eax + 0x10]
movsd qword [ebx + 8], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [ebx + 0x20], xmm3
movsd qword [ebx + 0x30], xmm2
movsd qword [ebx + 0x28], xmm1
movsd xmm1, qword [eax + 0x18]
lea eax, [esp + 0x4c]
and dword [eax], 0
mov dword [eax + 8], esi
mov word [eax + 0xc], 1
movsd qword [ebx + 0x38], xmm1
push 0x40
pop ecx
push 4
pop edx
call fcn.004a3937
mov dword [esp], eax
push 0x10
pop ecx
mov edi, eax
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x4c]
push esi
call fcn.004e41c2
pop eax
mov eax, dword [esp]
mov dword [esi], eax
mov dword [esi + 4], 0x9d40ec
mov eax, dword [esp + 8]
movsd xmm0, qword [esi + 8]
movsd xmm1, qword [esi]
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm1
jmp 0x4ebc37
mov byte [esp + 0x30], 2
mov dword [esp + 0x34], 0xa0cdf4
mov word [esp + 0x2c], 2
mov eax, dword [esp + 8]
and dword [eax], 0
mov dword [eax + 8], esi
mov word [eax + 0xc], 1
lea ecx, [esp + 0xc]
call fcn.004ebc75
lea ecx, [esp + 0x2c]
call fcn.004ebc75
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x43
pop edx
mov ecx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___library_std_src_sys_common_net.rsC
push 0xa0ce64
jmp 0x4ebc6d
push 0x42
pop edx
mov ecx, 0xa0ce74
push 0xa0ceb8
call fcn.0063cd70
pop eax
ud2