Function at 0x140194334
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
and qword [rbp - 0x60], 0
push 0x18
pop rcx
push 8
pop rdx
call fcn.140121e95
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.140213c8e
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 sub.WS2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x14019441c
mov eax, dword [rbp + 0x40]
movzx ecx, word [rbp - 0x60]
cmp ecx, 2
je 0x14019442c
cmp ecx, 0x17
jne 0x140194457
cmp eax, 0x1c
jb 0x14019471e
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 0x14019446e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x14019445e
cmp eax, 0x10
jb 0x140194736
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 0x14019446e
lea rax, str.invalid_argument
mov qword [rbp + 0x98], rax
mov word [rbp + 0x90], 2
mov rcx, rsi
call fcn.140213c8e
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 sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x1401944ee
mov eax, dword [rbp + 0x40]
movzx ecx, word [rbp - 0x60]
cmp ecx, 2
je 0x1401944fe
cmp ecx, 0x17
jne 0x140194523
cmp eax, 0x1c
jb 0x14019474e
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 0x140194535
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x14019452a
cmp eax, 0x10
jb 0x140194766
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 0x140194535
lea rax, str.invalid_argument
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 0x140194667
cmp ax, 2
je 0x140194667
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 0x14019467b
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.140121e95
push reloc.WS2_32.dll_ioctlsocket
pop rcx
lea rsi, [rbp - 0x60]
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov qword [rbp + 0xe0], rax
lea rax, fcn.1401940fc
jmp 0x1401946e1
movups xmm0, xmmword [rbp + 0x20]
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
jmp 0x140194708
and qword [rbp + 0xd8], 0
push 0x40
pop rcx
push 4
pop rdx
call fcn.140121e95
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
lea rcx, [rbp + 0xe0]
call fcn.140086388
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xe0], rax
lea rax, method..virtual_0
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.1401948f4
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, [0x1402fe608]
push 0x43
pop rdx
call fcn.140286fb0
jmp 0x14019477c
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x1402fe5a8]
push 0x42
pop rdx
call fcn.140286fb0
jmp 0x14019477c
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, [0x1402fe608]
push 0x43
pop rdx
call fcn.140286fb0
jmp 0x14019477c
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x1402fe5a8]
push 0x42
pop rdx
call fcn.140286fb0
ud2