Function at 0x140017a10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
mov r10, r8
mov rsi, rcx
mov eax, dword [rsp + 0x120]
pxor xmm0, 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
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x44], pe_nt_image_headers64
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov rcx, rdx
mov rdx, r10
mov r9d, eax
call fcn.1400a2360
cmp eax, 0xffffffff
je 0x140017aea
mov ecx, dword [rsp + 0x44]
movzx edx, word [rsp + 0x60]
cmp edx, 0x17
je 0x140017b44
cmp edx, 2
jne 0x140017b38
cmp ecx, 0xf
jbe 0x140017c83
movzx ecx, word [rsp + 0x62]
rol cx, 8
mov edx, dword [rsp + 0x64]
mov word [rsp + 0x4c], cx
mov dword [rsp + 0x48], edx
xor r11d, r11d
jmp 0x140017b8e
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x140017bd2
mov eax, dword [rsp + 0x44]
movzx ecx, word [rsp + 0x60]
cmp ecx, 0x17
je 0x140017be8
cmp ecx, 2
jne 0x140017b38
cmp eax, 0xf
jbe 0x140017c83
movzx eax, word [rsp + 0x62]
rol ax, 8
mov ecx, dword [rsp + 0x64]
mov word [rsp + 0x4c], ax
mov dword [rsp + 0x48], ecx
xor r10d, r10d
jmp 0x140017c31
lea rax, str.invalid_argument
jmp 0x140017bda
cmp ecx, 0x1b
jbe 0x140017c9b
movzx ecx, word [rsp + 0x62]
rol cx, 8
movdqu xmm0, xmmword [rsp + 0x68]
mov edx, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x78]
movq r10, xmm0
pshufd xmm1, xmm0, 0xee
movq r9, xmm1
shld r9, r10, 0x20
movdqu xmmword [rsp + 0x4a], xmm0
pshufd xmm0, xmm0, 0xff
movd r10d, xmm0
mov r11w, 1
cdqe
movzx edi, word [rsp + 0x4c]
mov word [rsp + 0x40], di
mov edi, dword [rsp + 0x48]
mov dword [rsp + 0x3c], edi
mov qword [rsi], rax
mov word [rsi + 8], r11w
mov eax, dword [rsp + 0x3c]
mov dword [rsi + 0xa], eax
movzx eax, word [rsp + 0x40]
mov word [rsi + 0xe], ax
mov qword [rsi + 0x10], r9
mov dword [rsi + 0x18], r10d
mov dword [rsi + 0x1c], edx
mov dword [rsi + 0x20], r8d
mov word [rsi + 0x24], cx
jmp 0x140017c79
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov word [rsi + 8], 2
jmp 0x140017c79
cmp eax, 0x1b
jbe 0x140017c9b
movzx eax, word [rsp + 0x62]
rol ax, 8
movdqu xmm0, xmmword [rsp + 0x68]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x78]
movq r9, xmm0
pshufd xmm1, xmm0, 0xee
movq r8, xmm1
shld r8, r9, 0x20
movdqu xmmword [rsp + 0x4a], xmm0
pshufd xmm0, xmm0, 0xff
movd r9d, xmm0
mov r10w, 1
movzx r11d, word [rsp + 0x4c]
mov word [rsp + 0x40], r11w
mov r11d, dword [rsp + 0x48]
mov dword [rsp + 0x3c], r11d
mov qword [rsi], 0
mov word [rsi + 8], r10w
mov r10d, dword [rsp + 0x3c]
mov dword [rsi + 0xa], r10d
movzx r10d, word [rsp + 0x40]
mov word [rsi + 0xe], r10w
mov qword [rsi + 0x10], r8
mov dword [rsi + 0x18], r9d
mov dword [rsi + 0x1c], edx
mov dword [rsi + 0x20], ecx
mov word [rsi + 0x24], ax
add rsp, 0xe8
pop rdi
pop rsi
ret
lea rcx, [0x1400b0b43]
lea r8, str._Users_elyzianfields_.rustup_toolchains_nightly_aarch64_apple_darwin_lib_rustlib_src_rust_library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x42
call sym.core::panicking::panic::h467566c8418d2e96
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, str._Users_elyzianfields_.rustup_toolchains_nightly_aarch64_apple_darwin_lib_rustlib_src_rust_library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x43
call sym.core::panicking::panic::h467566c8418d2e96
int3