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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
mov rbp, rsp
sub rsp, 0x60
mov rdi, rdx
mov rsi, r8
mov edx, dword [rdx + 0x58]
mov r14, rcx
btr edx, 0x10
mov dword [rdi + 0x58], edx
cmp dword [r8 + 0x40], 0
jge 0x140119dbf
mov eax, edx
mov ecx, 0x40000
and eax, 0x41000
cmp eax, ecx
je 0x140119fc4
btr edx, 0xc
sub dword [rdi + 0x7c], 1
mov r8d, edx
mov dword [rdi + 0x58], edx
jne 0x140119d66
mov eax, edx
and al, 5
cmp al, 4
jne 0x140119d66
and edx, 0xfffffffb
mov dword [rdi + 0x58], edx
mov r8d, edx
test dl, 8
je 0x140119d66
mov rax, qword [rdi + 8]
dec dword [rax + 8]
mov r8d, dword [rdi + 0x58]
test ecx, r8d
je 0x140119d7b
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.14010c570
jmp 0x140119d82
lea rax, [rdi + 0x120]
movups xmm0, xmmword [rax]
mov ecx, dword [rsi + 0x40]
movdqu xmmword [rbp - 0x20], xmm0
call fcn.14011de30
mov ecx, 0x2746
cmp eax, 0x2745
cmove eax, ecx
and dword [rdi + 0x58], 0xffff3fff
mov ecx, eax
call fcn.14011bfd0
movsxd rdx, eax
lea r8, [rbp - 0x20]
mov rcx, rdi
call qword [rdi + reloc.WS2_32.dll_WSASetLastError]
jmp 0x140119fc4
bt edx, 0x12
mov r12d, 0x1000
jb 0x140119df9
cmp qword [r8 + 0x48], 0
jbe 0x140119eb8
mov rdx, qword [rsi + 0x48]
lea rbx, [rdi + 0x120]
mov r8, rbx
mov rcx, rdi
call qword [rdi + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rbx]
cmp qword [rsi + 0x48], rax
jb 0x140119fac
mov edx, dword [rdi + 0x58]
mov ebx, 0x20
test r12d, edx
je 0x140119fac
mov eax, ebx
dec ebx
test eax, eax
jle 0x140119fac
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.14010c570
lea r8, [rbp - 0x20]
mov edx, 0x10000
mov rcx, rdi
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x20], xmm0
call qword [rdi + 0x68]
cmp qword [rbp - 0x18], 0
je 0x140119f9b
cmp dword [rbp - 0x20], 0
je 0x140119f9b
and qword [rsp + 0x30], 0
lea rax, [rbp + 0x40]
and qword [rsp + 0x28], 0
lea r9, [rbp + 0x38]
mov rcx, qword [rdi + 0x110]
lea rdx, [rbp - 0x20]
and dword [rbp + 0x40], 0
mov r8d, 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
je 0x140119f33
mov eax, dword [rbp + 0x38]
test eax, eax
je 0x140119f00
mov edx, eax
lea r8, [rbp - 0x20]
mov rcx, rdi
call qword [rdi + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rbp - 0x20]
cmp dword [rbp + 0x38], eax
jb 0x140119fac
test dword [rdi + 0x58], r12d
jne 0x140119e07
jmp 0x140119fac
test r12d, edx
je 0x140119ee4
btr edx, 0xc
sub dword [rdi + 0x7c], 1
mov dword [rdi + 0x58], edx
jne 0x140119ee4
mov eax, edx
and al, 5
cmp al, 4
jne 0x140119ee4
and edx, 0xfffffffb
mov dword [rdi + 0x58], edx
test dl, 8
je 0x140119ee4
mov rax, qword [rdi + 8]
dec dword [rax + 8]
and qword [rbp - 0x18], 0
lea r8, [rdi + 0x120]
and dword [rbp - 0x20], 0
mov rdx, 0xfffffffffffff001
jmp 0x140119fa6
mov ecx, dword [rdi + 0x58]
btr ecx, 0xc
sub dword [rdi + 0x7c], 1
mov dword [rdi + 0x58], ecx
jne 0x140119f2a
mov eax, ecx
and al, 5
cmp al, 4
jne 0x140119f2a
and ecx, 0xfffffffb
mov dword [rdi + 0x58], ecx
test cl, 8
je 0x140119f2a
mov rax, qword [rdi + 8]
dec dword [rax + 8]
mov rdx, 0xfffffffffffff001
jmp 0x140119fa2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
cmp eax, 0x2733
jne 0x140119f47
xor edx, edx
jmp 0x140119fa2
mov ecx, dword [rdi + 0x58]
btr ecx, 0xc
sub dword [rdi + 0x7c], 1
mov edx, ecx
jne 0x140119f75
mov eax, ecx
and al, 5
cmp al, 4
jne 0x140119f75
and ecx, 0xfffffffb
mov dword [rdi + 0x58], ecx
mov edx, ecx
test cl, 8
je 0x140119f75
mov rax, qword [rdi + 8]
dec dword [rax + 8]
mov edx, dword [rdi + 0x58]
mov ecx, 0x2746
cmp r8d, 0x2745
cmove r8d, ecx
and edx, 0xffff3fff
mov ecx, r8d
mov dword [rdi + 0x58], edx
call fcn.14011bfd0
movsxd rdx, eax
jmp 0x140119fa2
mov rdx, 0xfffffffffffff024
lea r8, [rbp - 0x20]
mov rcx, rdi
call qword [rdi + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rdi + 0x58]
and eax, 0x11000
cmp eax, r12d
jne 0x140119fc4
mov rdx, rdi
mov rcx, r14
call fcn.14011ab80
mov ecx, dword [rdi + 0x78]
mov eax, dword [rdi + 0x58]
dec ecx
mov dword [rdi + 0x78], ecx
test al, 1
je 0x140119fed
test ecx, ecx
jne 0x140119fed
test al, 0x20
jne 0x140119fed
or eax, 0x20
mov dword [rdi + 0x58], eax
mov rax, qword [r14 + 0x50]
mov qword [rdi + 0x50], rax
mov qword [r14 + 0x50], rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret