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

Disassembly:
push rsi
sub rsp, 0xd0
mov rax, r8
mov rsi, rcx
mov r10d, dword [rsp + 0x100]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x3c], pe_nt_image_headers64
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
lea rcx, [rsp + 0x3c]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, rdx
mov rdx, rax
mov r9d, r10d
call sub.ws2_32.dll_recvfrom
cmp eax, 0xffffffff
je 0x1009d26f
mov ecx, dword [rsp + 0x3c]
movzx edx, word [rsp + 0x50]
cmp edx, 0x17
je 0x1009d2ca
cmp edx, 2
jne 0x1009d2be
cmp ecx, 0x10
jb 0x1009d40f
movzx ecx, word [rsp + 0x52]
rol cx, 8
mov edx, dword [rsp + 0x54]
shl rdx, 0x10
movzx ecx, cx
or rcx, rdx
xor r8d, r8d
jmp 0x1009d318
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x1009d35f
mov eax, dword [rsp + 0x3c]
movzx ecx, word [rsp + 0x50]
cmp ecx, 0x17
je 0x1009d379
cmp ecx, 2
jne 0x1009d2be
cmp eax, 0x10
jb 0x1009d40f
movzx eax, word [rsp + 0x52]
rol ax, 8
mov ecx, dword [rsp + 0x54]
shl rcx, 0x10
movzx eax, ax
or rax, rcx
xor r8d, r8d
jmp 0x1009d3c6
lea rax, str.invalid_argument
jmp 0x1009d367
cmp ecx, 0x1c
jb 0x1009d429
movzx edx, word [rsp + 0x52]
mov r8d, dword [rsp + 0x68]
rol dx, 8
mov ecx, dword [rsp + 0x54]
shl rcx, 0x10
movzx edx, dx
shl rdx, 0x20
or rdx, r8
mov r9d, dword [rsp + 0x58]
shl r9, 0x30
or r9, rdx
mov rdx, qword [rsp + 0x5a]
mov qword [rsp + 0x40], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x46], rdx
mov r8w, 1
cdqe
mov rdx, qword [rsp + 0x40]
mov qword [rsi + 0x18], rdx
mov edx, dword [rsp + 0x48]
mov dword [rsi + 0x20], edx
movzx edx, word [rsp + 0x4c]
mov word [rsi + 0x24], dx
movzx edx, word [rsp + 0x4e]
mov word [rsi + 0x26], dx
mov qword [rsi], rax
mov word [rsi + 8], r8w
mov rax, rcx
shr rax, 0x20
mov word [rsi + 0xe], ax
mov dword [rsi + 0xa], ecx
mov qword [rsi + 0x10], r9
add rsp, 0xd0
pop rsi
ret
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov word [rsi + 8], 2
add rsp, 0xd0
pop rsi
ret
cmp eax, 0x1c
jb 0x1009d429
movzx ecx, word [rsp + 0x52]
mov r8d, dword [rsp + 0x68]
rol cx, 8
mov eax, dword [rsp + 0x54]
shl rax, 0x10
movzx edx, cx
shl rdx, 0x20
or rdx, r8
mov ecx, dword [rsp + 0x58]
shl rcx, 0x30
or rcx, rdx
mov rdx, qword [rsp + 0x5a]
mov qword [rsp + 0x40], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x46], rdx
mov r8w, 1
mov rdx, qword [rsp + 0x40]
mov qword [rsi + 0x18], rdx
mov edx, dword [rsp + 0x48]
mov dword [rsi + 0x20], edx
movzx edx, word [rsp + 0x4c]
mov word [rsi + 0x24], dx
movzx edx, word [rsp + 0x4e]
mov word [rsi + 0x26], dx
mov qword [rsi], 0
mov word [rsi + 8], r8w
mov rdx, rax
shr rdx, 0x20
mov word [rsi + 0xe], dx
mov dword [rsi + 0xa], eax
mov qword [rsi + 0x10], rcx
add rsp, 0xd0
pop rsi
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, [0x10125880]
mov edx, 0x42
call fcn.100e76b0
ud2
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___library_std_src_sys_common_net.rs
lea r8, [0x10125820]
mov edx, 0x43
call fcn.100e76b0
ud2