Function at 0x1400404d0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x1f8]
sub rsp, 0x2f8
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, qword [rbp + 0x260]
mov rdi, r9
mov qword [rsp + 0x48], r9
mov r13, r8
movzx r15d, dl
mov r12, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14004053a
mov dword [rsp + 0x48], 0x2719
call fcn.1400f7cd0
mov qword [rsp + 0x50], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
jmp 0x140040753
cmp byte [rbp + 0x258], 0
mov qword [rsp + 0x338], rsi
je 0x140040570
test r15b, 0x10
je 0x140040570
xor esi, esi
mov dword [rsp + 0x48], esi
call fcn.1400f7cd0
mov qword [rsp + 0x50], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
jmp 0x14004074b
mov qword [rsp + 0x2f0], r14
xor esi, esi
nop word [rax + rax]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x40]
mov r8d, edi
mov qword [rsp + 0x20], rax
mov rdx, r13
mov dword [rsp + 0x40], esi
mov rcx, r12
mov dword [rsp + 0x58], esi
call qword [sym.imp.WS2_32.dll_WSARecv]
mov r14d, eax
call fcn.1400f7cd0
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x78], rdi
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx], xmm0
mov ecx, dword [rbx]
cmp ecx, 0x40
jne 0x1400405f7
mov dword [rbp - 0x80], 0x2746
call fcn.1400f7cd0
mov qword [rbp - 0x78], rax
movups xmm0, xmmword [rbp - 0x80]
jmp 0x140040613
cmp ecx, 0x4d2
jne 0x140040616
mov dword [rbp - 0x70], 0x274d
call fcn.1400f7cd0
mov qword [rbp - 0x68], rax
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbx], xmm0
test r14d, r14d
je 0x140040622
mov eax, 0xffffffff
jmp 0x140040642
mov dword [rbp - 0x60], esi
call fcn.1400f7cd0
mov qword [rbp - 0x58], rax
movups xmm0, xmmword [rbp - 0x60]
movsxd rax, dword [rsp + 0x40]
movups xmmword [rbx], xmm0
test eax, eax
jg 0x140040743
test r15b, 0x10
je 0x140040650
test eax, eax
je 0x140040727
test r15b, 1
jne 0x140040741
call fcn.1400f7cd0
cmp qword [rbx + 8], rax
jne 0x14004066d
cmp dword [rbx], 0x2733
je 0x140040688
call fcn.1400f7cd0
cmp qword [rbx + 8], rax
jne 0x140040741
cmp dword [rbx], 0x4d5
jne 0x140040741
xor ecx, ecx
mov qword [rbp - 0x28], r12
mov dword [rbp - 0x30], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [r12 + 1]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [rbp - 0x30]
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
mov r14d, eax
call fcn.1400f7cd0
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rbp - 0x48], rdi
mov dword [rbp - 0x50], eax
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm0
test r14d, r14d
jne 0x1400406f6
mov dword [rbp - 0x40], esi
call fcn.1400f7cd0
mov rdi, qword [rsp + 0x48]
mov qword [rbp - 0x38], rax
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbx], xmm0
jmp 0x140040580
jle 0x140040718
mov dword [rsp + 0x60], esi
call fcn.1400f7cd0
mov rdi, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx], xmm0
jmp 0x140040580
test r14d, r14d
js 0x140040741
mov rdi, qword [rsp + 0x48]
jmp 0x140040580
mov dword [rsp + 0x60], 2
call fcn.14002b180
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx], xmm0
xor eax, eax
mov r14, qword [rsp + 0x2f0]
mov rsi, qword [rsp + 0x338]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140229810
add rsp, 0x2f8
pop r15
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret