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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1800b78c0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor eax, eax
xorps xmm0, xmm0
xor edi, edi
mov byte [rsp + 0x60], al
cmp dword [0x1800be120], 0xffffffff
mov r15, rdx
mov rsi, rcx
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
jne 0x180080fef
mov ebx, edi
jmp 0x180081017
mov rcx, qword [0x1800be108]
lea rdx, [rsp + 0x40]
xor r9d, r9d
lea r8d, [r9 + 0x20]
call qword [sym.imp.WS2_32.dll_recv]
lea rcx, [0x1800be0e0]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movsxd rbx, ebx
mov qword [rsp + 0x1c0], r14
cmp rbx, 1
jl 0x1800813c0
mov rcx, qword [rsp + 0x58]
mov rax, 0xffffffffffffffff
add rcx, 1
cmovb rcx, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r14, rax
test rax, rax
je 0x1800813c0
mov qword [rsp + 0x210], r12
test rsi, rsi
je 0x180081061
mov qword [rsi], rax
mov r8, qword [rsp + 0x58]
xor edx, edx
inc r8
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
movabs rdx, 0x6a5d85c495e6fbc3
mov r12d, 0x19000
movabs r8, 0xf6d3a1c9e486
cmp rbx, qword [rsp + 0x58]
jge 0x1800812ed
sub qword [rsp + 0x58], rbx
mov rbx, rdi
test r15, r15
je 0x180081290
mov rax, qword [r15 + 8]
mov qword [rsp + 0x1c8], r13
mov r13d, edi
movaps xmmword [rsp + 0x1b0], xmm6
movsd xmm6, qword [0x180089130]
mov qword [rsp + 0x30], rax
nop dword [rax]
mov rcx, qword [rsp + 0x58]
sub rcx, rbx
movsxd rax, r12d
cmp rcx, rax
jge 0x1800810e8
mov r12d, dword [rsp + 0x58]
sub r12d, ebx
cmp dword [0x1800be120], 0xffffffff
jne 0x1800810f5
mov esi, edi
jmp 0x18008112f
mov rcx, qword [0x1800be108]
lea rdx, [r14 + rbx]
xor r9d, r9d
mov r8d, r12d
call qword [sym.imp.WS2_32.dll_recv]
lea rcx, [0x1800be0e0]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movabs rdx, 0x6a5d85c495e6fbc3
movabs r8, 0xf6d3a1c9e486
xorps xmm1, xmm1
movsxd rcx, esi
add rbx, rcx
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x58]
cvtsi2sd xmm1, rbx
mulsd xmm1, xmm6
divsd xmm1, xmm0
cvttsd2si rcx, xmm1
cmp qword [r15 + 0x10], rcx
je 0x18008124c
mov qword [r15 + 0x10], rcx
test r13d, r13d
jne 0x18008122b
cmp qword [rsp + 0x40], rdx
jne 0x180081231
cmp qword [rsp + 0x48], 0x63d
jne 0x18008124c
cmp qword [rsp + 0x50], r8
jne 0x18008124c
mov r13d, 1
cmp esi, 0x20
jl 0x18008124c
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [0x1800be484]
lea r8, [rbp - 0x70]
lea rdx, [0x1800be380]
lea rcx, [0x1800be4a0]
call fcn.180084550
movsxd rax, dword [0x1800be484]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x68]
xorps xmm0, xmm0
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x70]
mov rcx, r14
lea edx, [r13 + 0x1f]
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
call fcn.180082d60
cmp qword [rsp + 0x38], rdi
je 0x180081231
movabs rax, 0xd8a5f96af3e8fd
cmp qword [rsp + 0x68], rax
jne 0x180081231
mov r13d, 2
jmp 0x180081242
cmp r13d, 2
je 0x180081246
movabs rax, 0xd8a5f96af3e8fd
cmp qword [rsp + 0x40], rax
jne 0x18008124c
mov rcx, qword [r15 + 0x10]
xor edx, edx
call qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x58]
je 0x18008126f
movabs rdx, 0x6a5d85c495e6fbc3
movabs r8, 0xf6d3a1c9e486
test esi, esi
jg 0x1800810d0
mov rcx, r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
movaps xmm6, xmmword [rsp + 0x1b0]
mov r13, qword [rsp + 0x1c8]
jmp 0x1800812d9
mov r8d, dword [rsp + 0x58]
sub r8d, ebx
cmp dword [0x1800be120], 0xffffffff
jne 0x1800812a5
mov esi, edi
jmp 0x1800812c8
mov rcx, qword [0x1800be108]
lea rdx, [r14 + rbx]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
lea rcx, [0x1800be0e0]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movsxd rcx, esi
add rbx, rcx
cmp rbx, qword [rsp + 0x58]
je 0x1800812d9
test esi, esi
jg 0x180081290
movabs r8, 0xf6d3a1c9e486
movabs rdx, 0x6a5d85c495e6fbc3
mov r12, qword [rsp + 0x210]
cmp qword [rsp + 0x40], rdx
jne 0x1800813b9
cmp qword [rsp + 0x48], 0x63d
jne 0x1800813b9
cmp qword [rsp + 0x50], r8
jne 0x1800813b9
xor edx, edx
mov qword [rsp + 0x30], rdi
mov r8d, 0x104
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [0x1800be484]
lea r8, [rbp - 0x70]
lea rdx, [0x1800be380]
lea rcx, [0x1800be4a0]
call fcn.180084550
movsxd rax, dword [0x1800be484]
lea r9, [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
mov r8, r14
mov qword [rsp + 0x28], rax
mov rcx, r14
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.180082d60
cmp qword [rsp + 0x30], rdi
je 0x1800813b9
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [r14 + 0x10]
movq rax, xmm1
movups xmmword [rsp + 0x50], xmm1
test rax, rax
je 0x1800813b4
mov rcx, r14
nop
movzx eax, byte [rcx + 0x18]
inc rdi
mov byte [rcx], al
lea rcx, [rcx + 1]
cmp rdi, qword [rsp + 0x50]
jb 0x1800813a0
mov byte [rdi + r14], 0
mov rax, qword [rsp + 0x50]
jmp 0x1800813c2
xor eax, eax
mov r14, qword [rsp + 0x1c0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1800855f0
add rsp, 0x1d0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret