Function at 0x140118950
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 rsi, r8
mov rbx, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x140118ac6
mov rax, qword [rdx]
mov qword [rsp + 0x58], rax
mov rdi, qword [rcx + 0x20]
lea r14, [rsp + 0x28]
jmp 0x140118998
mov rcx, r14
call fcn.140112800
mov rcx, r14
mov rdx, rbx
mov r8, qword [rsp + 0x58]
xor r9d, r9d
call fcn.140118390
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x140118ae2
mov r13, qword [rsp + 0x28]
cmp al, 2
je 0x140118afb
mov rdx, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
mov r8, rdx
sub r8, r12
jb 0x140118bae
movzx r15d, byte [rsp + 0x30]
mov rdx, qword [rsi]
add rdx, r12
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x140118b02
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
je 0x140118b3f
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rbp
call fcn.1400607d0
cmp al, 0xd
jne 0x140118a70
test rdi, rdi
je 0x140118a70
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
lock inc qword [rax]
jle 0x140118b50
add rcx, 0x10
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
movzx r9d, byte [rdi + 0x18]
call fcn.14005f560
mov r12, rax
test rax, rax
je 0x140118a70
mov rcx, rbp
call fcn.14001e500
mov rbp, r12
mov rcx, rbp
call fcn.14001e710
cmp al, 0xd
jne 0x140118b29
mov qword [rsp + 0x28], rbp
and r13d, 0x23
mov rax, qword [rbx + 0x90]
mov ecx, r15d
shl ecx, 0x10
xor r13, 0x2f
nop word [rax + rax]
mov edx, eax
shr edx, 0x10
cmp r15b, dl
jne 0x140118990
mov edx, eax
and edx, r13d
or rdx, rcx
lock cmpxchg qword [rbx + 0x90], rdx
jne 0x140118aa0
jmp 0x140118990
mov r8, qword [rdx]
lea rcx, [rsp + 0x28]
mov rdx, rbx
xor r9d, r9d
call fcn.140118390
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x140118aec
mov eax, 1
mov rbp, r13
jmp 0x140118b2b
cmp al, 2
jne 0x140118ba1
mov rbp, qword [rsp + 0x28]
jmp 0x140118b29
xor eax, eax
mov rbp, r13
jmp 0x140118b2b
movsxd rdx, eax
lea rax, [r12 + rdx]
mov rcx, qword [rsi + 0x18]
cmp rax, rcx
jbe 0x140118b19
mov qword [rsi + 0x18], rax
mov rcx, rax
add r12, rdx
jb 0x140118b52
cmp rax, rcx
ja 0x140118b6a
mov qword [rsi + 0x10], rax
xor ebp, ebp
xor eax, eax
mov rdx, rbp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor edx, edx
lea rax, [r12 + rdx]
mov rcx, qword [rsi + 0x18]
cmp rax, rcx
ja 0x140118b12
jmp 0x140118b19
ud2
lea rcx, str.dYVNyepWp7lVqc9ex9xiYteSvmutJofUrTiiMxCJL3AH4VbWsnNLtxK5ddXnU0InsleEAUTU3aTLYozOpEtDL1YLTOL5mzZP7UjCCNSI3Crt1K
lea r8, str.YedZxBvomMtva1lSqVS5YJ5ySNxaU4Yfh4ewB2wF6SyMR7ZtD1AKcVpIjwQ9OBdVyCbvnaTGrC1su8YimLvfT7Bv4TGv2pLzQKy
mov edx, 0xf
call fcn.140019f30
lea rax, str.filled_must_not_become_larger_than_initialized
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str.YedZxBvomMtva1lSqVS5YJ5ySNxaU4Yfh4ewB2wF6SyMR7ZtD1AKcVpIjwQ9OBdVyCbvnaTGrC1su8YimLvfT7Bv4TGv2pLzQKy
lea rcx, [rsp + 0x28]
call fcn.140017480
mov rdx, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
cmp r12, rdx
jbe 0x140118bbd
lea r8, [0x140170790]
mov rcx, r12
call fcn.1400174c0
lea rcx, str.YedZxBvomMtva1lSqVS5YJ5ySNxaU4Yfh4ewB2wF6SyMR7ZtD1AKcVpIjwQ9OBdVyCbvnaTGrC1su8YimLvfT7Bv4TGv2pLzQKy
call fcn.140019f10
mov rsi, rax
mov rcx, rbp
call fcn.14001e500
mov rcx, rsi
call fcn.140133bd0
call fcn.14001a1a0
int3