Function at 0x14000be80
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 [0x1403dc048]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor eax, eax
xorps xmm0, xmm0
xor edi, edi
mov byte [rsp + 0x60], al
cmp dword [0x1403e20e4], 0xffffffff
mov r15, rdx
mov rsi, rcx
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
jne 0x14000becf
mov ebx, edi
jmp 0x14000bef7
mov rcx, qword [0x1403e2100]
lea rdx, [rsp + 0x40]
xor r9d, r9d
lea r8d, [r9 + 0x20]
call qword [sym.imp.WS2_32.dll_recv]
lea rcx, [0x1403e2120]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movsxd rbx, ebx
mov qword [rsp + 0x1c0], r14
cmp rbx, 1
jl 0x14000c2a0
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 0x14000c2a0
mov qword [rsp + 0x210], r12
test rsi, rsi
je 0x14000bf41
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 0x14000c1cd
sub qword [rsp + 0x58], rbx
mov rbx, rdi
test r15, r15
je 0x14000c170
mov rax, qword [r15 + 8]
mov qword [rsp + 0x1c8], r13
mov r13d, edi
movaps xmmword [rsp + 0x1b0], xmm6
movsd xmm6, qword [0x1403d6e48]
mov qword [rsp + 0x30], rax
nop dword [rax]
mov rcx, qword [rsp + 0x58]
sub rcx, rbx
movsxd rax, r12d
cmp rcx, rax
jge 0x14000bfc8
mov r12d, dword [rsp + 0x58]
sub r12d, ebx
cmp dword [0x1403e20e4], 0xffffffff
jne 0x14000bfd5
mov esi, edi
jmp 0x14000c00f
mov rcx, qword [0x1403e2100]
lea rdx, [r14 + rbx]
xor r9d, r9d
mov r8d, r12d
call qword [sym.imp.WS2_32.dll_recv]
lea rcx, [0x1403e2120]
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 0x14000c12c
mov qword [r15 + 0x10], rcx
test r13d, r13d
jne 0x14000c10b
cmp qword [rsp + 0x40], rdx
jne 0x14000c111
cmp qword [rsp + 0x48], 0x63d
jne 0x14000c12c
cmp qword [rsp + 0x50], r8
jne 0x14000c12c
mov r13d, 1
cmp esi, 0x20
jl 0x14000c12c
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [0x1403e1d84]
lea r8, [rbp - 0x70]
lea rdx, [0x1403e1da0]
lea rcx, [0x1403e1c80]
call fcn.14000f480
movsxd rax, dword [0x1403e1d84]
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.14000dcf0
cmp qword [rsp + 0x38], rdi
je 0x14000c111
movabs rax, 0xd8a5f96af3e8fd
cmp qword [rsp + 0x68], rax
jne 0x14000c111
mov r13d, 2
jmp 0x14000c122
cmp r13d, 2
je 0x14000c126
movabs rax, 0xd8a5f96af3e8fd
cmp qword [rsp + 0x40], rax
jne 0x14000c12c
mov rcx, qword [r15 + 0x10]
xor edx, edx
call qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x58]
je 0x14000c14f
movabs rdx, 0x6a5d85c495e6fbc3
movabs r8, 0xf6d3a1c9e486
test esi, esi
jg 0x14000bfb0
mov rcx, r15
call fcn.140010e47
movaps xmm6, xmmword [rsp + 0x1b0]
mov r13, qword [rsp + 0x1c8]
jmp 0x14000c1b9
mov r8d, dword [rsp + 0x58]
sub r8d, ebx
cmp dword [0x1403e20e4], 0xffffffff
jne 0x14000c185
mov esi, edi
jmp 0x14000c1a8
mov rcx, qword [0x1403e2100]
lea rdx, [r14 + rbx]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
lea rcx, [0x1403e2120]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movsxd rcx, esi
add rbx, rcx
cmp rbx, qword [rsp + 0x58]
je 0x14000c1b9
test esi, esi
jg 0x14000c170
movabs r8, 0xf6d3a1c9e486
movabs rdx, 0x6a5d85c495e6fbc3
mov r12, qword [rsp + 0x210]
cmp qword [rsp + 0x40], rdx
jne 0x14000c299
cmp qword [rsp + 0x48], 0x63d
jne 0x14000c299
cmp qword [rsp + 0x50], r8
jne 0x14000c299
xor edx, edx
mov qword [rsp + 0x30], rdi
mov r8d, 0x104
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [0x1403e1d84]
lea r8, [rbp - 0x70]
lea rdx, [0x1403e1da0]
lea rcx, [0x1403e1c80]
call fcn.14000f480
movsxd rax, dword [0x1403e1d84]
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.14000dcf0
cmp qword [rsp + 0x30], rdi
je 0x14000c299
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 0x14000c294
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 0x14000c280
mov byte [rdi + r14], 0
mov rax, qword [rsp + 0x50]
jmp 0x14000c2a2
xor eax, eax
mov r14, qword [rsp + 0x1c0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140010ab0
add rsp, 0x1d0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret