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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2680]
mov eax, 0x2780
call fcn.14023a970
sub rsp, rax
mov rax, qword [0x1402dc010]
xor rax, rsp
mov qword [rbp + 0x2670], rax
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
mov r13d, 1
mov dword [rsp + 0x20], r13d
mov rbx, qword [rcx + 0x48]
test rbx, rbx
je 0x1400c19e5
xor edx, edx
mov r8d, 0x270f
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
cmp qword [sym.imp.WSOCK32.dll_socket], 0
je 0x1400c19e5
xor r9d, r9d
mov r8d, 0x2710
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jle 0x1400c19e5
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400c17e0
lea rbx, [rdi + 0x28]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400267a0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x5c], eax
mov rsi, qword [rbx + 0x10]
mov r14, rbx
mov r12, qword [rbx + 0x18]
cmp r12, 0x10
jb 0x1400c1818
mov r14, qword [rbx]
test rsi, rsi
je 0x1400c19e5
mov r8, rsi
mov edx, 0x7c
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x1400c19e5
sub rdi, r14
cmp rdi, 0xffffffffffffffff
je 0x1400c19e5
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
mov rdx, rbx
cmp r12, 0x10
jb 0x1400c1875
mov rdx, qword [rbx]
lea rcx, [rsp + 0x38]
call fcn.140007db0
or r13d, 2
mov dword [rsp + 0x20], r13d
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x1400c18b4
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdx + 0x10], xmm1
mov edx, reloc.WSOCK32.dll_ntohs
mov byte [rsp + 0x38], 0
add qword [r15 + 8], 0x20
jmp 0x1400c18c6
lea r8, [rsp + 0x38]
mov rcx, r15
call fcn.1400c4150
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400c18fe
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c18f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c19de
call fcn.140239a54
inc rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov rax, qword [rbx + 0x10]
cmp rax, rdi
jb 0x1400c1a12
mov rcx, qword [rsp + 0x28]
mov r8, qword [rcx + 0x38]
sub rax, rdi
cmp rax, r8
cmovb r8, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400c1940
mov rax, qword [rbx]
lea rdx, [rax + rdi]
lea rcx, [rsp + 0x38]
call fcn.140007db0
or r13d, 4
mov dword [rsp + 0x20], r13d
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400265f0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400c199d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c1998
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c19de
call fcn.140239a54
mov rsi, qword [rbx + 0x10]
mov r14, rbx
mov r12, qword [rbx + 0x18]
cmp r12, 0x10
jb 0x1400c19b1
mov r14, qword [rbx]
test rsi, rsi
je 0x1400c19d2
mov r8, rsi
mov edx, 0x7c
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
jne 0x1400c183d
mov rdi, 0xffffffffffffffff
jmp 0x1400c1840
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, r15
mov rcx, qword [rbp + 0x2670]
xor rcx, rsp
call fcn.140239760
mov rbx, qword [rsp + 0x27d0]
add rsp, 0x2780
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140026960
int3