Function at 0x140004e20
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 [0x1400a3c40]
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 0x140005104
mov rcx, r13
call fcn.140026dfc
mov rbx, rax
test rax, rax
je 0x140005104
mov r8, r13
xor edx, edx
mov rcx, rbx
call fcn.14005da90
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 0x1400050ee
mov ecx, r12d
mov rax, r12
test rdx, rdx
je 0x140004ee1
cmp byte [rax + rbx], 0x7d
je 0x140004eee
inc ecx
inc rax
cmp rax, rdx
jl 0x140004ed1
mov rdx, rbx
mov rcx, r14
call fcn.1400088e0
jmp 0x140004e9b
movsxd rax, ecx
mov byte [rax + rbx], 0
mov rdx, rbx
mov rcx, r14
call fcn.1400088e0
mov rcx, rbx
call fcn.140026de8
cmp qword [rsi + 0x10], 0
je 0x140005086
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.140008b30
mov r15, rax
mov qword [rsp + 0x40], rax
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.140008b30
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.140008b30
mov rdi, rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x48], rax
lea rdx, [0x1409fa600]
lea rcx, [rbp - 0x28]
call fcn.140008b30
mov rbx, rax
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.140008b30
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140003de0
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x140004fd7
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x140004fd2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005110
mov rcx, r8
call fcn.14005b964
mov byte [r12], 0
mov qword [r12 + 0x10], 0
mov qword [r12 + 0x18], send
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140005028
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x140005023
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005116
mov rcx, r8
call fcn.14005b964
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.140008a90
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140005086
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005080
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000510a
call fcn.14005b964
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400050bc
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400050b7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000511c
mov rcx, r8
call fcn.14005b964
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.14005b410
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.140026de8
mov rcx, rdi
call fcn.140004a40
call fcn.140007c90
int3
call fcn.140007c90
int3
call fcn.140026c98
nop
call fcn.140026c98
nop
call fcn.140026c98
nop
call fcn.140026c98
int3