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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov r14, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.14014b9fe
mov rcx, qword [rax]
pxor xmm0, xmm0
lea rdx, [rsp + 0x60]
movdqa xmmword [rdx + 0x70], xmm0
movdqa xmmword [rdx + 0x60], xmm0
movdqa xmmword [rdx + 0x50], xmm0
movdqa xmmword [rdx + 0x40], xmm0
movdqa xmmword [rdx + 0x30], xmm0
movdqa xmmword [rdx + 0x20], xmm0
movdqa xmmword [rdx + 0x10], xmm0
movdqa xmmword [rdx], xmm0
lea r8, [rsp + 0x20]
mov dword [r8], 0x80
call qword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x140074c72
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x60]
cmp ecx, 2
je 0x140074c84
cmp ecx, 0x17
jne 0x140074ca7
cmp eax, 0x1b
jbe 0x140074e54
movdqu xmm0, xmmword [rsp + 0x68]
movzx eax, word [rsp + 0x62]
rol ax, 8
mov word [rsp + 0x26], ax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x2c], eax
movdqu xmmword [rsp + 0x4a], xmm0
movq rax, xmm0
pshufd xmm0, xmm0, 0xee
movq rdi, xmm0
shld rdi, rax, 0x20
mov bx, 1
jmp 0x140074cb7
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x140074cae
cmp eax, 0xf
jbe 0x140074e6c
movzx eax, word [rsp + 0x62]
rol ax, 8
mov ecx, dword [rsp + 0x64]
mov word [rsp + 0x4c], ax
mov dword [rsp + 0x48], ecx
xor ebx, ebx
jmp 0x140074cb7
lea rdi, str.invalid_argumentxC__
mov qword [rsp + 0x4e], rdi
mov bx, 2
mov rcx, r14
call fcn.14014b9fe
mov rcx, qword [rax]
pxor xmm0, xmm0
lea rdx, [rsp + 0x60]
movdqa xmmword [rdx + 0x70], xmm0
movdqa xmmword [rdx + 0x60], xmm0
movdqa xmmword [rdx + 0x50], xmm0
movdqa xmmword [rdx + 0x40], xmm0
movdqa xmmword [rdx + 0x30], xmm0
movdqa xmmword [rdx + 0x20], xmm0
movdqa xmmword [rdx + 0x10], xmm0
movdqa xmmword [rdx], xmm0
lea r8, [rsp + 0x20]
mov dword [r8], 0x80
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140074d50
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x60]
cmp ecx, 2
je 0x140074d63
cmp ecx, 0x17
jne 0x140074e0f
cmp eax, 0x1b
jbe 0x140074e54
movdqu xmm0, xmmword [rsp + 0x68]
movzx r12d, word [rsp + 0x62]
rol r12w, 8
mov r13d, dword [rsp + 0x64]
mov r15d, dword [rsp + 0x78]
movdqu xmmword [rsp + 0x32], xmm0
mov bp, 1
jmp 0x140074d84
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x140074e16
cmp eax, 0xf
jbe 0x140074e6c
movzx eax, word [rsp + 0x62]
rol ax, 8
mov ecx, dword [rsp + 0x64]
mov word [rsp + 0x34], ax
mov dword [rsp + 0x30], ecx
xor ebp, ebp
cmp bx, 2
je 0x140074e1f
mov ecx, 0x40
mov edx, 4
call fcn.140072f62
mov r14, rax
mov word [rax], bx
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax + 2], xmm0
movzx eax, word [rsp + 0x58]
mov word [r14 + 0x12], ax
mov eax, dword [rsp + 0x28]
mov dword [r14 + 0x14], eax
mov eax, dword [rsp + 0x2c]
mov dword [r14 + 0x18], eax
movzx eax, word [rsp + 0x26]
mov word [r14 + 0x1c], ax
mov word [r14 + 0x20], bp
movdqu xmm0, xmmword [rsp + 0x30]
movdqu xmmword [r14 + 0x22], xmm0
movzx eax, word [rsp + 0x40]
mov word [r14 + 0x32], ax
mov dword [r14 + 0x34], r13d
mov dword [r14 + 0x38], r15d
mov word [r14 + 0x3c], r12w
xor ecx, ecx
call fcn.140074127
mov qword [rsi], r14
lea rax, [0x1401a3da8]
mov qword [rsi + 8], rax
jmp 0x140074e23
lea rax, str.invalid_argumentxC__
mov qword [rsp + 0x36], rax
mov bp, 2
and qword [rsi], 0
mov word [rsi + 0x10], 1
mov ecx, ebx
mov rdx, rdi
call fcn.140074e85
mov rdx, qword [rsp + 0x36]
mov ecx, ebp
call fcn.140074e85
nop
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, [0x140224360]
mov edx, 0x43
call fcn.1401583f0
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x140224300]
mov edx, 0x42
call fcn.1401583f0
int3