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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, r8
mov qword [rsp + 0x30], rdx
mov r14, rcx
mov rsi, qword [r8]
mov r15, qword [r8 + 0x10]
test r9, r9
setne bl
mov qword [rsp + 0x28], r15
je 0x1400ac00d
mov rax, qword [rsp + 0xd0]
mov rcx, rax
add rcx, 0x400
jb 0x1400abffd
mov edx, ecx
and edx, 0x1fff
mov r13d, 0x2000
sub r13, rdx
add r13, rcx
setb r8b
test rdx, rdx
setne dl
cmove r13, rcx
and dl, r8b
cmp dl, 1
jne 0x1400ac003
mov r13d, 0x2000
mov r12b, 1
test rax, rax
jne 0x1400ac066
jmp 0x1400ac013
mov r13d, 0x2000
mov rax, rsi
mov r15, qword [rsp + 0x28]
sub rax, r15
cmp rax, 0x20
jae 0x1400ac063
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov r8, rdi
call fcn.1400ac280
cmp qword [rsp + 0x38], 0
je 0x1400ac053
mov rax, qword [rsp + 0x40]
mov qword [r14 + 8], rax
mov qword [r14], 1
jmp 0x1400ac26c
cmp qword [rsp + 0x40], 0
je 0x1400ac265
mov r15, qword [rdi + 0x10]
mov r12d, ebx
mov qword [rsp + 0x20], r14
mov rax, qword [rsp + 0x30]
mov r14, qword [rax]
xor ebx, ebx
nop word cs:[rax + rax]
mov rax, qword [rdi]
cmp r15, rax
jne 0x1400ac0be
cmp rax, rsi
jne 0x1400ac0be
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov r8, rdi
call fcn.1400ac280
cmp qword [rsp + 0x38], 0
jne 0x1400ac21c
cmp qword [rsp + 0x40], 0
mov r15, qword [rdi + 0x10]
je 0x1400ac233
mov rax, qword [rdi]
cmp r15, rax
jne 0x1400ac110
mov rbp, rax
add rbp, 0x20
jb 0x1400ac1e6
lea rcx, [rax + rax]
cmp rcx, rbp
cmova rbp, rcx
cmp rbp, 9
mov ecx, 8
cmovb rbp, rcx
test rax, rax
je 0x1400ac115
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x48], rax
mov eax, 1
jmp 0x1400ac117
mov rbp, rax
jmp 0x1400ac150
xor eax, eax
mov rdx, rbp
not rdx
shr rdx, 0x3f
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
mov r8, rbp
lea r9, [rsp + 0x38]
call fcn.1400e2cc0
cmp qword [rsp + 0x50], 0
jne 0x1400ac1e6
mov rax, qword [rsp + 0x58]
mov qword [rdi + 8], rax
mov qword [rdi], rbp
sub rbp, r15
add r15, qword [rdi + 8]
cmp rbp, r13
cmovae rbp, r13
cmp rbp, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rbp
mov rcx, r14
mov rdx, r15
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x1400ac1f2
cdqe
cmp rbx, rax
mov rcx, rbx
cmovbe rcx, rax
cmp rcx, rbp
ja 0x1400ac27d
mov r15, qword [rdi + 0x10]
test rax, rax
je 0x1400ac207
mov rbx, rcx
sub rbx, rax
add r15, rax
mov qword [rdi + 0x10], r15
test r12b, r12b
jne 0x1400ac080
cmp rcx, rbp
mov rdx, 0xffffffffffffffff
cmovne r13, rdx
lea rcx, [r13*2]
test r13, r13
cmovs rcx, rdx
cmp rbp, r13
cmovb rcx, r13
cmp rax, rbp
cmove r13, rcx
jmp 0x1400ac080
movabs rax, 0x2600000003
jmp 0x1400ac221
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x1400ac24a
cmp rbx, rbp
ja 0x1400ac27d
mov r15, qword [rdi + 0x10]
sub r15, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], r15
xor eax, eax
mov qword [rcx], rax
jmp 0x1400ac26c
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
mov qword [rcx], 1
jmp 0x1400ac26c
sub r15, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], r15
mov qword [rax], 0
jmp 0x1400ac26c
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
mov eax, 1
mov qword [rcx], rax
jmp 0x1400ac26c
xorps xmm0, xmm0
movups xmmword [r14], xmm0
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2