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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0xd8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14004a0c0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movdqa xmm6, xmmword [0x14003dc80]
movdqu xmmword [rbp + 0x20], xmm6
mov byte [rbp + 0x10], 0
mov dword [rbp - 0x38], 0
mov dword [rbp - 0x40], 0x80
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x140016cc4
lea r9, [rbp - 0x38]
lea r8, [rbp + 0x10]
mov edx, dword [rbp - 0x40]
lea rcx, [rbp + 0x30]
call fcn.140008940
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqu xmmword [rbp - 0x20], xmm6
mov byte [rbp - 0x30], 0
mov dword [rbp - 0x34], 0
mov dword [rbp - 0x40], 0x80
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140016d0b
lea r9, [rbp - 0x34]
lea r8, [rbp - 0x30]
mov edx, dword [rbp - 0x40]
lea rcx, [rbp + 0x30]
call fcn.140008940
mov qword [rsp + 0x30], rdi
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x34]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + 0x78]
mov qword [rbp + 8], rax
mov rax, qword [rdi + 0x70]
mov qword [rbp], rax
mov rax, qword [rdi + 0x68]
mov qword [rbp - 8], rax
mov rax, qword [rdi + 0x60]
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp - 0x80], xmm0
mov qword [rbp - 0x40], rbx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x40], rax
lea rax, [rbp]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x50], xmm0
lea rcx, [rdi + 0x48]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi + 0x58]
mov r8, qword [rdi + 0x50]
mov rdx, rbx
call fcn.140024ae0
movzx edi, al
mov edx, 2
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140016e3f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016e3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140035304
movdqa xmm0, xmmword [0x14003dc80]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140016e8e
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016e89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140035304
movzx eax, dil
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140034f90
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret