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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x110
mov r14, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400d2f32
mov rcx, qword [rax]
pxor xmm0, xmm0
lea rdx, [rsp + 0x90]
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 + 0x50]
mov dword [r8], pe_nt_image_headers64
call sub.WS2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x1400323c5
mov eax, dword [rsp + 0x50]
movzx ecx, word [rsp + 0x90]
cmp ecx, 2
je 0x1400323d6
cmp ecx, 0x17
jne 0x1400323ff
cmp eax, 0x1c
jb 0x14003264b
movdqu xmm0, xmmword [rsp + 0x98]
movzx ebp, word [rsp + 0x92]
rol bp, 8
mov r12d, dword [rsp + 0x94]
mov r15d, dword [rsp + 0xa8]
movdqu xmmword [rsp + 0x3a], xmm0
movq rax, xmm0
pshufd xmm0, xmm0, 0xee
movq rbx, xmm0
shld rbx, rax, 0x20
mov di, 1
jmp 0x14003240f
call sub.WS2_32.dll_WSAGetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x140032406
cmp eax, 0x10
jb 0x140032660
movzx eax, word [rsp + 0x92]
rol ax, 8
mov ecx, dword [rsp + 0x94]
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x38], ecx
xor edi, edi
jmp 0x14003240f
lea rbx, str.invalid_argument
mov qword [rsp + 0x3e], rbx
mov di, 2
mov rcx, r14
call fcn.1400d2f32
mov rcx, qword [rax]
pxor xmm0, xmm0
lea rdx, [rsp + 0x90]
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 + 0x50]
mov dword [r8], pe_nt_image_headers64
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x1400324b2
mov eax, dword [rsp + 0x50]
movzx ecx, word [rsp + 0x90]
cmp ecx, 2
je 0x1400324c1
cmp ecx, 0x17
jne 0x1400324ea
cmp eax, 0x1c
jb 0x14003267a
movdqu xmm0, xmmword [rsp + 0x98]
movzx edx, word [rsp + 0x92]
rol dx, 8
mov ecx, dword [rsp + 0x94]
mov r8d, dword [rsp + 0xa8]
movdqu xmmword [rsp + 0x22], xmm0
mov ax, 1
jmp 0x1400324fa
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x1400324f1
cmp eax, 0x10
jb 0x14003268f
movzx eax, word [rsp + 0x92]
rol ax, 8
mov ecx, dword [rsp + 0x94]
mov word [rsp + 0x24], ax
mov dword [rsp + 0x20], ecx
xor eax, eax
jmp 0x1400324fa
lea rax, str.invalid_argument
mov qword [rsp + 0x26], rax
mov ax, 2
mov word [rsp + 0x50], di
movdqu xmm0, xmmword [rsp + 0x38]
movdqu xmmword [rsp + 0x52], xmm0
movzx r9d, word [rsp + 0x48]
mov word [rsp + 0x62], r9w
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x68], r15d
mov word [rsp + 0x6c], bp
mov word [rsp + 0x70], ax
mov r9d, dword [rsp + 0x20]
mov dword [rsp + 0x72], r9d
movzx r9d, word [rsp + 0x24]
mov word [rsp + 0x76], r9w
mov r9, qword [rsp + 0x26]
mov qword [rsp + 0x78], r9
movzx r9d, word [rsp + 0x2e]
mov word [rsp + 0x80], r9w
movzx r9d, word [rsp + 0x30]
mov word [rsp + 0x82], r9w
mov dword [rsp + 0x84], ecx
mov dword [rsp + 0x88], r8d
mov word [rsp + 0x8c], dx
cmp di, 2
je 0x140032624
cmp ax, 2
je 0x140032624
lea rax, [rsp + 0x70]
movups xmm0, xmmword [rax - 0x20]
movups xmm1, xmmword [rax - 0x10]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
movdqu xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movdqa xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm1
mov ecx, 0x40
mov edx, 4
call fcn.1400308f9
mov rdi, rax
movdqa xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmm2, xmmword [rsp + 0xb0]
movaps xmm3, xmmword [rsp + 0xc0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movdqu xmmword [rax], xmm0
xor ecx, ecx
call fcn.140031731
mov qword [rsi], rdi
lea rax, [0x140101d68]
mov qword [rsi + 8], rax
jmp 0x140032628
and qword [rsi], 0
mov word [rsi + 0x10], 1
lea rcx, [rsp + 0x50]
call fcn.14003270c
nop
add rsp, 0x110
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, [0x14011dba0]
mov edx, 0x43
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
jmp 0x140032673
lea r8, [0x14011db40]
mov edx, 0x42
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
call fcn.14000ae60
jmp 0x1400326a7
lea r8, [0x14011dba0]
mov edx, 0x43
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
jmp 0x1400326a2
lea r8, [0x14011db40]
mov edx, 0x42
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
call fcn.14000ae60
ud2