Function at 0x140029aae
Capabilities:
Get local ipv4 addresses
Get socket information
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov rbx, rdx
mov rsi, rcx
mov al, byte [0x14010b298]
mov edx, 0x18
xor ecx, ecx
call fcn.14008ec10
test rax, rax
je 0x140029e0b
mov rdi, rax
mov eax, 1
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov byte [rdi + 0x10], 0
mov rbx, qword [rbx + 0x10]
cmp rbx, 0xffffffffffffffff
je 0x140029e1a
xorps xmm0, xmm0
lea rdx, [rsp + 0x80]
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 + 0x24]
mov dword [r8], 0x80
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x140029bb5
mov eax, dword [rsp + 0x24]
movzx ecx, word [rsp + 0x80]
cmp ecx, 2
je 0x140029bc5
cmp ecx, 0x17
jne 0x140029bf5
cmp eax, 0x1b
jbe 0x140029e3e
movzx eax, word [rsp + 0x82]
rol ax, 8
mov ecx, dword [rsp + 0x84]
mov edx, dword [rsp + 0x98]
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x28], 1
movups xmm0, xmmword [rsp + 0x6e]
movups xmmword [rsp + 0x2a], xmm0
movzx r8d, word [rsp + 0x7e]
mov word [rsp + 0x3a], r8w
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x40], edx
mov word [rsp + 0x44], ax
jmp 0x140029bf1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x140029bfc
cmp eax, 0xf
jbe 0x140029e26
mov eax, dword [rsp + 0x84]
movzx ecx, word [rsp + 0x82]
rol cx, 8
mov word [rsp + 0x28], 0
mov word [rsp + 0x2e], cx
mov dword [rsp + 0x2a], eax
xor ebp, ebp
jmp 0x140029c0b
lea rax, str.invalid_argument
mov qword [rsp + 0x30], rax
mov word [rsp + 0x28], 2
mov bpl, 1
xorps xmm0, xmm0
lea rdx, [rsp + 0x80]
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 + 0x24]
mov dword [r8], 0x80
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140029c97
mov eax, dword [rsp + 0x24]
movzx ecx, word [rsp + 0x80]
cmp ecx, 0x17
je 0x140029caa
cmp ecx, 2
jne 0x140029d27
cmp eax, 0xf
jbe 0x140029e26
movzx eax, word [rsp + 0x82]
rol ax, 8
mov ecx, dword [rsp + 0x84]
mov word [rsp + 0x48], 0
mov word [rsp + 0x4e], ax
mov dword [rsp + 0x4a], ecx
jmp 0x140029d04
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x140029d2e
cmp eax, 0x1b
jbe 0x140029e3e
movzx eax, word [rsp + 0x82]
rol ax, 8
mov ecx, dword [rsp + 0x84]
mov edx, dword [rsp + 0x98]
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x48], 1
movups xmm0, xmmword [rsp + 0x6e]
movups xmmword [rsp + 0x4a], xmm0
movzx r8d, word [rsp + 0x7e]
mov word [rsp + 0x5a], r8w
mov dword [rsp + 0x5c], ecx
mov dword [rsp + 0x60], edx
mov word [rsp + 0x64], ax
test bpl, bpl
je 0x140029d69
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
je 0x140029dff
lea rcx, [rsp + 0x30]
jmp 0x140029d5f
lea rax, str.invalid_argument
mov qword [rsp + 0x50], rax
mov word [rsp + 0x48], 2
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
test bpl, bpl
je 0x140029d5a
lea rcx, [rsp + 0x30]
call fcn.140033159
lea rcx, [rsp + 0x50]
call fcn.140033159
jmp 0x140029dff
lea rax, [rsp + 0x48]
movups xmm0, xmmword [rax - 0x20]
movups xmm1, xmmword [rax - 0x10]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
mov al, byte [0x14010b298]
mov edx, 0x40
xor ecx, ecx
call fcn.14008ec10
test rax, rax
je 0x140029e56
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movaps xmm3, xmmword [rsp + 0xb0]
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, [0x1400c1a30]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov ecx, 8
mov edx, 0x18
call fcn.1400a2b10
lea rcx, str.C:Usersmorker.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.1_srciopoll_evented.rs_b
call fcn.1400a3320
lea rcx, [0x1400db841]
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x39
call fcn.1400a2fe0
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x3a
call fcn.1400a2fe0
mov ecx, 4
mov edx, 0x40
call fcn.1400a2b10
int3