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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x120
cmp rdx, 0xffffffffffffffff
je 0x1400f856f
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0x60], pe_nt_image_headers64
lea rdx, [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov rcx, rdi
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x1400f8293
mov eax, dword [rsp + 0x60]
movzx ecx, word [rsp + 0xa0]
cmp ecx, 2
je 0x1400f82a2
cmp ecx, 0x17
jne 0x1400f82d2
cmp eax, 0x1b
jbe 0x1400f8598
movups xmm0, xmmword [rsp + 0xa8]
movzx eax, word [rsp + 0xa2]
rol ax, 8
mov ecx, dword [rsp + 0xa4]
mov edx, dword [rsp + 0xb8]
mov word [rsp + 0x40], 1
movups xmmword [rsp + 0x44], xmm0
mov dword [rsp + 0x54], ecx
mov dword [rsp + 0x58], edx
mov word [rsp + 0x5c], ax
mov bx, 1
jmp 0x1400f82e9
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x1400f82d9
cmp eax, 0xf
jbe 0x1400f85b0
mov eax, dword [rsp + 0xa4]
movzx ecx, word [rsp + 0xa2]
rol cx, 8
mov word [rsp + 0x40], 0
mov word [rsp + 0x46], cx
mov dword [rsp + 0x42], eax
xor ebx, ebx
jmp 0x1400f82e9
lea rax, str.invalid_argument_b_r4_
mov qword [rsp + 0x48], rax
mov word [rsp + 0x40], 2
mov bx, 2
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0x60], pe_nt_image_headers64
lea rdx, [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov rcx, rdi
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x1400f839a
mov eax, dword [rsp + 0x60]
movzx ecx, word [rsp + 0xa0]
cmp ecx, 2
je 0x1400f83a9
cmp ecx, 0x17
jne 0x1400f83d2
cmp eax, 0x1b
jbe 0x1400f85c8
movups xmm0, xmmword [rsp + 0xa8]
movzx eax, word [rsp + 0xa2]
rol ax, 8
mov edx, dword [rsp + 0xa4]
mov ecx, dword [rsp + 0xb8]
movups xmmword [rsp + 0x2a], xmm0
mov di, 1
jmp 0x1400f83e2
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x1400f83d9
cmp eax, 0xf
jbe 0x1400f85dd
movzx eax, word [rsp + 0xa2]
rol ax, 8
mov ecx, dword [rsp + 0xa4]
mov word [rsp + 0x2c], ax
mov dword [rsp + 0x28], ecx
xor edi, edi
jmp 0x1400f83e2
lea rax, str.invalid_argument_b_r4_
mov qword [rsp + 0x2e], rax
mov di, 2
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x80], di
mov r8d, dword [rsp + 0x28]
mov dword [rsp + 0x82], r8d
movzx r8d, word [rsp + 0x2c]
mov word [rsp + 0x86], r8w
mov r8, qword [rsp + 0x2e]
mov qword [rsp + 0x88], r8
movzx r8d, word [rsp + 0x36]
mov word [rsp + 0x90], r8w
movzx r8d, word [rsp + 0x38]
mov word [rsp + 0x92], r8w
mov dword [rsp + 0x94], edx
mov dword [rsp + 0x98], ecx
mov word [rsp + 0x9c], ax
movzx eax, word [rsp + 0x60]
cmp ax, 2
je 0x1400f8533
cmp di, 2
je 0x1400f8533
lea rax, [rsp + 0x80]
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xd0], xmm1
movzx eax, byte [0x14037f348]
mov rcx, qword [0x14037f2d0]
test rcx, rcx
jne 0x1400f84d8
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400f8587
mov rcx, rax
mov qword [0x14037f2d0], rax
mov r8d, 0x40
xor edx, edx
call fcn.1402699c4
test rax, rax
je 0x1400f8587
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmm1, xmmword [rsp + 0xb0]
movaps xmm2, xmmword [rsp + 0xc0]
movaps xmm3, xmmword [rsp + 0xd0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov qword [rsi], rax
lea rax, [0x1402bc718]
mov qword [rsi + 8], rax
mov word [rsi + 0x10], 1
jmp 0x1400f8563
mov qword [rsi], 0
mov word [rsi + 0x10], 1
cmp ax, 2
jne 0x1400f8550
lea rcx, [rsp + 0x68]
call fcn.1400f5c80
cmp di, 2
jne 0x1400f8563
lea rcx, [rsp + 0x88]
call fcn.1400f5c80
nop
add rsp, 0x120
pop rbx
pop rdi
pop rsi
ret
lea r8, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_io_poll_evented.rs
mov edx, 0x2b
lea rcx, str.called__Option::unwrap____on_a__None__value
call fcn.1400a7990
mov ecx, 4
mov edx, 0x40
call fcn.140054b50
jmp 0x1400f85f5
lea r8, str.j_f4_
mov edx, 0x43
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
call fcn.1400a7990
lea r8, [0x140340c90]
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.1400a7990
lea r8, str.j_f4_
mov edx, 0x43
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
jmp 0x1400f85f0
lea r8, [0x140340c90]
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.1400a7990
ud2