Function at 0x140077494
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, 0xd8
cmp rdx, 0xffffffffffffffff
je 0x14007775c
mov rbx, rdx
mov rsi, rcx
xorps xmm0, xmm0
lea rdx, [rsp + 0x50]
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, [rsp + 0x2c]
mov dword [r8], 0x80
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x140077530
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x50]
cmp ecx, 0x17
je 0x140077546
cmp ecx, 2
jne 0x140077589
cmp eax, 0xf
jbe 0x140077780
mov eax, dword [rsp + 0x54]
movzx ecx, word [rsp + 0x52]
rol cx, 8
movzx r13d, cx
shl r13, 0x20
or r13, rax
xor ebp, ebp
jmp 0x140077594
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov bp, 2
jmp 0x140077594
cmp eax, 0x1b
jbe 0x140077768
movzx eax, word [rsp + 0x52]
rol ax, 8
mov word [rsp + 0x32], ax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x44], eax
mov r13d, dword [rsp + 0x58]
shl r13, 0x10
mov rdi, qword [rsp + 0x5c]
mov bp, 1
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x3c], eax
jmp 0x140077594
mov bp, 2
lea rdi, str.invalid_argumentp
xorps xmm0, xmm0
lea rdx, [rsp + 0x50]
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, [rsp + 0x2c]
mov dword [r8], 0x80
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140077621
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x50]
cmp ecx, 2
je 0x140077640
cmp ecx, 0x17
jne 0x14007767b
cmp eax, 0x1b
jbe 0x140077768
movzx r14d, word [rsp + 0x52]
rol r14w, 8
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x68]
mov ebx, dword [rsp + 0x58]
shl rbx, 0x10
mov rdx, qword [rsp + 0x5c]
mov r15w, 1
mov r12d, dword [rsp + 0x64]
jmp 0x140077663
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov qword [rsi], 0
mov word [rsi + 0x10], 1
jmp 0x14007768f
cmp eax, 0xf
jbe 0x140077780
mov eax, dword [rsp + 0x54]
movzx ecx, word [rsp + 0x52]
rol cx, 8
movzx ebx, cx
shl rbx, 0x20
or rbx, rax
xor r15d, r15d
cmp bp, 2
jne 0x1400776aa
mov qword [rsi], 0
mov word [rsi + 0x10], 1
mov rcx, rdi
jmp 0x1400776a0
mov qword [rsi], 0
mov word [rsi + 0x10], 1
lea rbx, str.invalid_argumentp
cmp bp, 2
jne 0x14007769d
mov rcx, rdi
call fcn.140143f96
mov rcx, rbx
call fcn.140143f96
jmp 0x140077748
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], ecx
mov al, byte [0x140353270]
mov edx, 0x40
xor ecx, ecx
call fcn.140190370
test rax, rax
je 0x140077798
mov word [rax], bp
mov dword [rax + 2], r13d
shr r13, 0x20
mov word [rax + 6], r13w
mov qword [rax + 8], rdi
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x10], ecx
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x14], ecx
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x18], ecx
movzx ecx, word [rsp + 0x32]
mov word [rax + 0x1c], cx
mov word [rax + 0x20], r15w
mov dword [rax + 0x22], ebx
shr rbx, 0x20
mov word [rax + 0x26], bx
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x28], rcx
mov dword [rax + 0x30], r12d
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x34], ecx
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x38], ecx
mov word [rax + 0x3c], r14w
mov qword [rsi], rax
lea rax, [0x14028a680]
mov qword [rsi + 8], rax
mov word [rsi + 0x10], 1
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.C:Usersdiddy.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_srciopoll_evented.rs
call fcn.1402321b0
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, [0x14030aa58]
mov edx, 0x3a
call fcn.140231dd0
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x14030aa00]
mov edx, 0x39
call fcn.140231dd0
mov ecx, 4
mov edx, 0x40
call fcn.1402316b0
int3