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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x2e
push 0
push eax
mov dword [ebp - 0x1c0], esi
call fcn.10267270
mov edi, dword [ebp + 0x10]
add esp, 0xc
cmp byte [esi + 0x247], 0
mov dword [ebp - 0x1bc], 0xffffffff
jne 0x101724af
cmp byte [esi + 0x455], 3
jne 0x101723f2
cmp byte [esi + 0x255], 0
jne 0x101724af
push 0x80
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1b8], 0x80
push 0
push eax
call fcn.10267270
add esp, 0xc
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1b4]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x10172454
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.1015cfa0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.10170b90
jmp 0x101724ac
lea eax, [ebp - 0x1c4]
push eax
lea eax, [esi + 0xbc]
push eax
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
push eax
call fcn.101715c0
add esp, 0x10
test al, al
jne 0x101724af
call fcn.10276a94
mov esi, dword [eax]
call fcn.10276a94
mov edi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.1015cfa0
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.10170b90
mov edi, dword [ebp + 0x10]
add esp, 0x1c
push 0x80
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1b8], 0x80
push 0
push eax
call fcn.10267270
add esp, 0xc
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1b4]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1017250b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.1015cfa0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x10172557
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
push eax
call fcn.101715c0
add esp, 0x10
test al, al
jne 0x10172560
call fcn.10276a94
mov esi, dword [eax]
call fcn.10276a94
mov edi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.1015cfa0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.10170b90
add esp, 0x1c
cmp byte [ebp - 0x34], 0
mov ecx, dword [ebp - 0x1c0]
movups xmm0, xmmword [ecx + 0xbc]
movups xmmword [ebx + 0xd20], xmm0
movups xmm0, xmmword [ecx + 0xcc]
movups xmmword [ebx + 0xd30], xmm0
movq xmm0, qword [ecx + 0xdc]
movq qword [ebx + 0xd40], xmm0
mov eax, dword [ecx + 0xe4]
mov dword [ebx + 0xd48], eax
mov ax, word [ecx + 0xe8]
mov word [ebx + 0xd4c], ax
je 0x101725eb
movups xmm0, xmmword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
movups xmmword [ebx + 0xd58], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebx + 0xd68], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ebx + 0xd78], xmm0
mov dword [ebx + 0xd80], eax
mov ax, word [ebp - 8]
mov word [ebx + 0xd84], ax
jmp 0x101725f2
mov byte [ebx + 0xd58], 0
mov eax, dword [ecx + 0x280]
pop edi
pop esi
mov eax, dword [eax]
mov dword [ebx + 0xd8c], eax
mov eax, dword [ecx + 0x280]
mov eax, dword [eax + 0x44]
and eax, 0x3ffffff
mov dword [ebx + 0xd90], eax
mov eax, dword [ecx + 0x440]
mov dword [ebx + 0xd50], eax
mov eax, dword [ecx + 0x444]
mov ecx, dword [ebp - 4]
mov dword [ebx + 0xd54], eax
xor ecx, ebp
mov eax, dword [ebp - 0x1bc]
mov dword [ebx + 0xd88], eax
pop ebx
call fcn.102649e4
mov esp, ebp
pop ebp
ret