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

Disassembly:
mov r11, rsp
push rbp
push rbx
push r14
lea rbp, [r11 - 0x38]
sub rsp, 0x120
mov rax, qword [0x1804be628]
xor rax, rsp
mov qword [rbp], rax
and dword [rdx + 0x58], 0xfffeffff
mov r14, rcx
mov ecx, dword [r8 + 0x40]
mov rbx, rdx
mov qword [r11 - 0x20], rsi
mov rsi, r8
mov qword [r11 - 0x28], rdi
test ecx, ecx
jns 0x1802f7936
call fcn.1802fbac0
mov edi, eax
cmp eax, 0x2738
je 0x1802f7936
lea ecx, [rax - 0x2744]
test ecx, 0xfffffffd
je 0x1802f7929
test dword [rbx + 0x58], 0x1000
je 0x1802f7aa8
mov rcx, rbx
call fcn.1802e8390
test dword [rbx + 0x58], 0x40000
je 0x1802f790b
xor r8d, r8d
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.1802e7ca0
jmp 0x1802f7912
lea rax, [rbx + 0xf0]
movups xmm0, xmmword [rax]
mov ecx, edi
movups xmmword [rsp + 0x50], xmm0
call fcn.1802fa2c0
movsxd rdx, eax
jmp 0x1802f7a91
test dword [rbx + 0x58], 0x40000
je 0x1802f7aa8
mov eax, dword [rbx + 0x58]
bt eax, 0x12
jb 0x1802f7963
mov eax, dword [rsi + 0x40]
lea r9, [rbx + 0x100]
mov rdx, qword [rsi + 0x48]
lea r8, [rbx + 0xf0]
sar eax, 0x1f
and eax, 2
mov dword [rsp + 0x20], eax
jmp 0x1802f7a9f
bt eax, 0xc
jae 0x1802f7aa8
xor r8d, r8d
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.1802e7ca0
lea r8, [rsp + 0x50]
mov edx, 0x10000
mov rcx, rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
call qword [rbx + 0x190]
cmp qword [rsp + 0x58], 0
je 0x1802f7a8a
cmp dword [rsp + 0x50], 0
je 0x1802f7a8a
mov rcx, qword [rbx + 0x70]
lea rax, [rsp + 0x64]
xorps xmm0, xmm0
mov dword [rsp + 0x64], 0x80
xor edi, edi
lea r9, [rsp + 0x60]
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea r8d, [rdi + 1]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], edi
mov qword [rsp + 0x20], rax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
je 0x1802f7a2d
mov edx, dword [rsp + 0x60]
lea r9, [rbp - 0x80]
jmp 0x1802f7a96
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp eax, 0x2738
jne 0x1802f7a4e
mov edx, dword [rsp + 0x60]
lea r9, [rbp - 0x80]
mov dword [rsp + 0x20], 2
jmp 0x1802f7a9a
cmp esi, 0x2733
jne 0x1802f7a5a
xor edx, edx
jmp 0x1802f7a93
add eax, 0xffffd8bc
mov rcx, rbx
test eax, 0xfffffffd
je 0x1802f7a7a
call fcn.1802e8390
mov ecx, esi
call fcn.1802fa2c0
movsxd rdx, eax
jmp 0x1802f7a93
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
lea r8, [rsp + 0x50]
jmp 0x1802f7aa2
mov rdx, 0xfffffffffffff024
xor edi, edi
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x50]
mov rcx, rbx
call qword [rbx + 0x188]
mov ecx, dword [rbx + 0x58]
mov eax, ecx
mov rdi, qword [rsp + 0x110]
and eax, 0x11000
mov rsi, qword [rsp + 0x118]
cmp eax, 0x1000
jne 0x1802f7ad7
mov rdx, rbx
mov rcx, r14
call fcn.1802f7c90
mov ecx, dword [rbx + 0x58]
mov eax, dword [rbx + 0x78]
dec eax
mov dword [rbx + 0x78], eax
test cl, 1
je 0x1802f7aff
test eax, eax
jne 0x1802f7aff
test cl, 0x20
jne 0x1802f7aff
or ecx, 0x20
mov dword [rbx + 0x58], ecx
mov rax, qword [r14 + 0x50]
mov qword [rbx + 0x50], rax
mov qword [r14 + 0x50], rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.18031edb0
add rsp, 0x120
pop r14
pop rbx
pop rbp
ret