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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x188
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x100], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
push 0x18
pop rcx
push 8
pop rdx
call fcn.140084fcd
push 1
pop rcx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov byte [rax + 0x10], 0
mov word [rbp + 0x38], 1
and qword [rbp + 0x20], 0
mov qword [rbp + 0x30], rax
mov rcx, rsi
call fcn.140152066
mov rcx, qword [rax]
xorps xmm0, xmm0
lea rdx, [rbp - 0x60]
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rbp + 0x40]
mov dword [r8], 0x80
call qword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x14008cb9f
mov eax, dword [rbp + 0x40]
movzx ecx, word [rbp - 0x60]
cmp ecx, 2
je 0x14008cbaf
cmp ecx, 0x17
jne 0x14008cbda
cmp eax, 0x1c
jb 0x14008cea4
movzx eax, word [rbp - 0x5e]
rol ax, 8
movups xmm0, xmmword [rbp - 0x58]
mov ecx, dword [rbp - 0x5c]
mov edx, dword [rbp - 0x48]
mov word [rbp + 0x90], 1
movups xmmword [rbp + 0x94], xmm0
mov dword [rbp + 0xa4], ecx
mov dword [rbp + 0xa8], edx
mov word [rbp + 0xac], ax
jmp 0x14008cbf1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x14008cbe1
cmp eax, 0x10
jb 0x14008cebc
mov eax, dword [rbp - 0x5c]
movzx ecx, word [rbp - 0x5e]
and word [rbp + 0x90], 0
rol cx, 8
mov word [rbp + 0x96], cx
mov dword [rbp + 0x92], eax
jmp 0x14008cbf1
lea rax, str.invalid_argument_R__
mov qword [rbp + 0x98], rax
mov word [rbp + 0x90], 2
mov rcx, rsi
call fcn.140152066
mov rcx, qword [rax]
xorps xmm0, xmm0
lea rdx, [rbp - 0x60]
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rbp + 0x40]
mov dword [r8], 0x80
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14008cc72
mov eax, dword [rbp + 0x40]
movzx ecx, word [rbp - 0x60]
cmp ecx, 2
je 0x14008cc82
cmp ecx, 0x17
jne 0x14008cca7
cmp eax, 0x1c
jb 0x14008ced4
movups xmm0, xmmword [rbp - 0x58]
movzx ecx, word [rbp - 0x5e]
rol cx, 8
mov r8d, dword [rbp - 0x5c]
mov edx, dword [rbp - 0x48]
movups xmmword [rbp + 0xe2], xmm0
mov ax, 1
jmp 0x14008ccb9
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x14008ccae
cmp eax, 0x10
jb 0x14008ceec
movzx eax, word [rbp - 0x5e]
rol ax, 8
mov ecx, dword [rbp - 0x5c]
mov word [rbp + 0xe4], ax
mov dword [rbp + 0xe0], ecx
xor eax, eax
jmp 0x14008ccb9
lea rax, str.invalid_argument_R__
mov qword [rbp + 0xe6], rax
mov ax, 2
movups xmm0, xmmword [rbp + 0x90]
movups xmm1, xmmword [rbp + 0xa0]
movaps xmmword [rbp + 0x50], xmm1
movaps xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x60], ax
mov r9d, dword [rbp + 0xe0]
mov dword [rbp + 0x62], r9d
movzx r9d, word [rbp + 0xe4]
mov word [rbp + 0x66], r9w
mov r9, qword [rbp + 0xe6]
mov qword [rbp + 0x68], r9
movzx r9d, word [rbp + 0xee]
mov word [rbp + 0x70], r9w
movzx r9d, word [rbp + 0xf0]
mov word [rbp + 0x72], r9w
mov dword [rbp + 0x74], r8d
mov dword [rbp + 0x78], edx
mov word [rbp + 0x7c], cx
cmp word [rbp + 0x40], 2
je 0x14008cdeb
cmp ax, 2
je 0x14008cdeb
lea rax, [rbp + 0x60]
movaps xmm0, xmmword [rax - 0x20]
movaps xmm1, xmmword [rax - 0x10]
movaps xmmword [rbp + 0xa0], xmm1
movaps xmmword [rbp + 0x90], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0xb0], xmm0
movaps xmmword [rbp + 0xc0], xmm1
movups xmm0, xmmword [rbp + 0x20]
movups xmm1, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0xe0], xmm0
movaps xmmword [rbp + 0xf0], xmm1
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
mov qword [rbp + 0x80], rcx
je 0x14008cdff
mov rax, qword [rbp + 0xe8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp + 0x90]
movaps xmm1, xmmword [rbp + 0xa0]
movaps xmm2, xmmword [rbp + 0xb0]
movaps xmm3, xmmword [rbp + 0xc0]
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp - 0x30], xmm3
push 0x50
pop rcx
push 8
pop rdx
call fcn.140084fcd
push 0xa
pop rcx
lea rsi, [rbp - 0x60]
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov qword [rbp + 0xe0], rax
lea rax, fcn.14008c87a
jmp 0x14008ce67
movups xmm0, xmmword [rbp + 0x20]
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
jmp 0x14008ce8e
and qword [rbp + 0xd8], 0
push 0x40
pop rcx
push 4
pop rdx
call fcn.140084fcd
movaps xmm0, xmmword [rbp + 0x90]
movaps xmm1, xmmword [rbp + 0xa0]
movaps xmm2, xmmword [rbp + 0xb0]
movaps xmm3, xmmword [rbp + 0xc0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
mov qword [rbp + 0x88], rax
movups xmmword [rax], xmm0
mov rdx, qword [rbp + 0xe8]
xor ecx, ecx
call fcn.14015205c
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xe0], rax
lea rax, [0x1402b0d10]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rbp + 0xe8]
movaps xmm0, xmmword [rbp + 0xf0]
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx], rax
mov qword [rbx + 8], rcx
lea rcx, [rbp + 0x40]
call fcn.14008d078
nop
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, [0x1402d5208]
push 0x43
pop rdx
call fcn.140281860
jmp 0x14008cf02
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x1402d51a8]
push 0x42
pop rdx
call fcn.140281860
jmp 0x14008cf02
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, [0x1402d5208]
push 0x43
pop rdx
call fcn.140281860
jmp 0x14008cf02
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x1402d51a8]
push 0x42
pop rdx
call fcn.140281860
ud2