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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1400b7c40]
xor rax, rsp
mov qword [rbp + 0x20], rax
movsxd r13, r9d
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rdx
mov qword [rbp + 0x18], r8
xor r12d, r12d
mov dword [rsp + 0x28], r12d
mov qword [rdx], r12
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], send
mov byte [rdx], r12b
mov dword [rsp + 0x28], 1
cmp byte [rcx], r12b
je 0x1400053a4
mov rcx, r13
call fcn.14002dff8
mov rbx, rax
test rax, rax
je 0x1400053a4
mov r8, r13
xor edx, edx
mov rcx, rbx
call fcn.140064be0
xor r9d, r9d
lea r8d, [r13 - 1]
mov rdx, rbx
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
mov edx, eax
jle 0x14000538e
mov ecx, r12d
mov rax, r12
test rdx, rdx
je 0x140005181
cmp byte [rax + rbx], 0x7d
je 0x14000518e
inc ecx
inc rax
cmp rax, rdx
jl 0x140005171
mov rdx, rbx
mov rcx, r14
call fcn.140008b80
jmp 0x14000513b
movsxd rax, ecx
mov byte [rax + rbx], 0
mov rdx, rbx
mov rcx, r14
call fcn.140008b80
mov rcx, rbx
call fcn.14002dfe4
cmp qword [rsi + 0x10], 0
je 0x140005326
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.140008df0
mov r15, rax
mov qword [rsp + 0x40], rax
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.140008df0
mov r12, rax
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.140008df0
mov rdi, rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x48], rax
lea rdx, [0x1400b7ef8]
lea rcx, [rbp - 0x28]
call fcn.140008df0
mov rbx, rax
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.140008df0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140004120
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x140005277
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x140005272
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400053b0
mov rcx, r8
call fcn.140062a94
mov byte [r12], 0
mov qword [r12 + 0x10], 0
mov qword [r12 + 0x18], send
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1400052c8
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x1400052c3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400053b6
mov rcx, r8
call fcn.140062a94
mov byte [r15], 0
xor r12d, r12d
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], send
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.140008d30
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140005326
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005320
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053aa
call fcn.140062a94
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14000535c
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140005357
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400053bc
mov rcx, r8
call fcn.140062a94
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov rax, r14
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140062540
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rbx
call fcn.14002dfe4
mov rcx, rdi
call fcn.140004ce0
call fcn.140007f30
int3
call fcn.140007f30
int3
call fcn.14002de94
nop
call fcn.14002de94
nop
call fcn.14002de94
nop
call fcn.14002de94
int3