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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov rbx, rdx
mov rsi, rcx
movzx eax, byte [0x140182310]
mov edx, 0x18
xor ecx, ecx
call fcn.1400df540
test rax, rax
je 0x14003d5a1
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov byte [rax + 0x10], 0
mov r14, qword [rbx + 0x18]
cmp r14, 0xffffffffffffffff
je 0x14003d5b0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0xf0], xmm0
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmmword [rsp + 0xd0], xmm0
movdqa xmmword [rsp + 0xc0], xmm0
movdqa xmmword [rsp + 0xb0], xmm0
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x50], 0x80
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x14003d25f
mov eax, dword [rsp + 0x50]
movzx ecx, word [rsp + 0x80]
cmp ecx, 2
je 0x14003d271
cmp ecx, 0x17
jne 0x14003d29b
cmp eax, 0x1b
jbe 0x14003d5e3
movzx eax, word [rsp + 0x82]
rol ax, 8
mov word [rsp + 0x26], ax
movdqu xmm0, xmmword [rsp + 0x88]
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x4c], eax
movq rax, xmm0
pshufd xmm1, xmm0, 0xee
movq rbx, xmm1
shld rbx, rax, 0x20
movdqu xmmword [rsp + 0x6a], xmm0
pshufd xmm0, xmm0, 0xff
movd dword [rsp + 0x48], xmm0
mov r15w, 1
jmp 0x14003d2ac
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x14003d2a7
cmp eax, 0xf
jbe 0x14003d5cb
movzx eax, word [rsp + 0x82]
rol ax, 8
mov ecx, dword [rsp + 0x84]
mov word [rsp + 0x6c], ax
mov dword [rsp + 0x68], ecx
xor r15d, r15d
jmp 0x14003d2ac
lea rbx, str.invalid_argumentx
mov qword [rsp + 0x6e], rbx
mov r15w, 2
pxor xmm0, xmm0
movdqa xmmword [rsp + 0xf0], xmm0
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmmword [rsp + 0xd0], xmm0
movdqa xmmword [rsp + 0xc0], xmm0
movdqa xmmword [rsp + 0xb0], xmm0
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x28], 0x80
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14003d362
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x80]
cmp ecx, 0x17
je 0x14003d37a
cmp ecx, 2
jne 0x14003d3d7
cmp eax, 0xf
jbe 0x14003d5cb
movzx eax, word [rsp + 0x82]
rol ax, 8
mov ecx, dword [rsp + 0x84]
mov word [rsp + 0x54], ax
mov dword [rsp + 0x50], ecx
xor r13d, r13d
jmp 0x14003d3e3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
mov r13w, 2
jmp 0x14003d3e3
cmp eax, 0x1b
jbe 0x14003d5e3
movzx ebp, word [rsp + 0x82]
rol bp, 8
movdqu xmm0, xmmword [rsp + 0x88]
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x40], eax
mov r12d, dword [rsp + 0x98]
movq rax, xmm0
pshufd xmm1, xmm0, 0xee
movq r14, xmm1
shld r14, rax, 0x20
movdqu xmmword [rsp + 0x52], xmm0
pshufd xmm0, xmm0, 0xff
movd dword [rsp + 0x3c], xmm0
mov r13w, 1
jmp 0x14003d3e3
mov r13w, 2
lea r14, str.invalid_argumentx
movzx eax, word [rsp + 0x6c]
mov word [rsp + 0x38], ax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x2c], eax
movzx eax, word [rsp + 0x54]
mov word [rsp + 0x30], ax
cmp r15w, 2
je 0x14003d4bb
cmp r13w, 2
je 0x14003d4bb
movzx eax, byte [0x140182310]
mov edx, 0x40
xor ecx, ecx
call fcn.1400df540
test rax, rax
je 0x14003d5bc
mov word [rax], r15w
mov ecx, dword [rsp + 0x34]
mov dword [rax + 2], ecx
movzx ecx, word [rsp + 0x38]
mov word [rax + 6], cx
mov qword [rax + 8], rbx
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0x10], ecx
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x14], ecx
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 0x18], ecx
movzx ecx, word [rsp + 0x26]
mov word [rax + 0x1c], cx
mov word [rax + 0x20], r13w
mov ecx, dword [rsp + 0x2c]
mov dword [rax + 0x22], ecx
movzx ecx, word [rsp + 0x30]
mov word [rax + 0x26], cx
mov qword [rax + 0x28], r14
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x30], ecx
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x34], ecx
mov dword [rax + 0x38], r12d
mov word [rax + 0x3c], bp
mov qword [rsi], rax
lea rax, [0x14012be60]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
jmp 0x14003d58c
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
cmp r15w, 2
jne 0x14003d522
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x14003d522
lea rsi, [rbx - 1]
mov rdi, qword [rbx - 1]
mov rbx, qword [rbx + 7]
mov rcx, rdi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x14003d511
cmp qword [rbx + 0x10], 0x11
jb 0x14003d500
mov rdi, qword [rdi - 8]
mov rcx, qword [0x140182268]
xor edx, edx
mov r8, rdi
call fcn.140101bb0
mov rcx, qword [0x140182268]
xor edx, edx
mov r8, rsi
call fcn.140101bb0
cmp r13w, 2
jne 0x14003d58c
mov eax, r14d
and eax, 3
cmp eax, 1
jne 0x14003d58c
lea rsi, [r14 - 1]
mov rdi, qword [r14 - 1]
mov rbx, qword [r14 + 7]
mov rcx, rdi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x14003d568
cmp qword [rbx + 0x10], 0x11
jb 0x14003d557
mov rdi, qword [rdi - 8]
mov rcx, qword [0x140182268]
xor edx, edx
mov r8, rdi
call fcn.140101bb0
mov rcx, qword [0x140182268]
xor edx, edx
mov r8, rsi
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140101bb0
nop
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x18
call fcn.140107f90
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
call fcn.140108610
mov ecx, 4
mov edx, 0x40
call fcn.140107f90
lea rcx, [0x14014afb9]
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x42
call fcn.140108300
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x43
call fcn.140108300
int3