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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
mov eax, 0x2170
call fcn.14008ebb0
sub rsp, rax
mov rax, qword [0x1400ccbe0]
xor rax, rsp
mov qword [rsp + 0x2160], rax
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rdx, [rsp + 0x98]
lea rcx, [0x1400ccee0]
call fcn.14005a8e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140050564
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14003d570
mov dword [rsp + 0x30], 1
lea r13, [0x1400cffa8]
mov r8, r13
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x130]
call fcn.14003d250
nop
mov r12d, 1
and r12d, 0xfffffffe
mov dword [rsp + 0x30], r12d
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x1400505e5
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400505e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c3b
call fcn.14008dd90
movdqa xmm0, xmmword [0x1400ba1f0]
movdqu xmmword [rsp + 0x88], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x14005063e
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050639
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c41
call fcn.14008dd90
movdqa xmm0, xmmword [0x1400ba1f0]
movdqu xmmword [rsp + 0xa8], xmm0
mov byte [rsp + 0x98], 0
lea rcx, [rsp + 0x130]
cmp qword [rsp + 0x148], 0x10
cmovae rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x140]
call fcn.14004cad0
xorps xmm0, xmm0
movups xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x110], r15
mov qword [rsp + 0x118], r15
mov qword [rsp + 0x110], r15
mov qword [rsp + 0x118], send
mov byte [rsp + 0x100], 0
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x160]
call fcn.14008ffc0
movzx ebx, byte [rsp + 0x34]
nop
xor r9d, r9d
mov r8d, 0x2000
lea rdx, [rsp + 0x160]
mov rcx, qword [0x1400ccd30]
call qword [sym.imp.WS2_32.dll_recv]
movsxd r14, eax
test eax, eax
jle 0x1400507b9
mov rdx, qword [rsp + 0x110]
mov r8, qword [rsp + 0x118]
mov rcx, r8
sub rcx, rdx
cmp r14, rcx
ja 0x140050752
lea rcx, [rdx + r14]
mov qword [rsp + 0x110], rcx
lea rdi, [rsp + 0x100]
cmp r8, 0x10
cmovae rdi, qword [rsp + 0x100]
add rdi, rdx
mov r8, r14
lea rdx, [rsp + 0x160]
mov rcx, rdi
call fcn.1400903b0
mov byte [rdi + r14], 0
jmp 0x140050773
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x160]
movzx r8d, bl
mov rdx, r14
lea rcx, [rsp + 0x100]
call fcn.14003f620
lea eax, [r14 - 1]
movsxd rcx, eax
cmp byte [rsp + rcx + 0x160], 0xa
jne 0x1400506d0
mov rcx, qword [rsp + 0x110]
dec rcx
lea rax, [rsp + 0x100]
cmp qword [rsp + 0x118], 0x10
cmovae rax, qword [rsp + 0x100]
mov qword [rsp + 0x110], rcx
mov byte [rax + rcx], 0
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x58]
call fcn.14003dba0
mov rbx, rax
lea rax, [rsp + 0x100]
cmp rax, rbx
je 0x140050864
mov rdx, qword [rsp + 0x118]
cmp rdx, 0x10
jb 0x140050822
inc rdx
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005081d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c47
call fcn.14008dd90
mov qword [rsp + 0x110], r15
mov qword [rsp + 0x118], send
mov byte [rsp + 0x100], 0
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x100], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x110], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400508a1
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005089c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c4d
call fcn.14008dd90
movdqa xmm0, xmmword [0x1400ba1f0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xf8], r15
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x150]
call fcn.14005eed0
nop
mov byte [rsp + 0x120], 0
xor edx, edx
lea rcx, [rsp + 0x128]
call fcn.14003bfc0
nop
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x120]
call fcn.14004cb60
nop
jmp 0x140050929
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x120]
call fcn.14005a8e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14005094d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14003d570
or r12d, 8
mov dword [rsp + 0x30], r12d
cmp qword [0x1400cffc0], 0x10
cmovae r13, qword [0x1400cffa8]
mov r8, qword [0x1400cffb8]
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.14003c560
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], send
mov byte [rax], 0
or r12d, 0x10
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
call fcn.14004cad0
and r12d, 0xffffffef
mov dword [rsp + 0x30], r12d
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140050a22
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c53
call fcn.14008dd90
movdqa xmm0, xmmword [0x1400ba1f0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
and r12d, 0xfffffff7
mov dword [rsp + 0x30], r12d
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140050a7b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c59
call fcn.14008dd90
movdqa xmm0, xmmword [0x1400ba1f0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0x10
jb 0x140050ad1
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050acc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c5f
call fcn.14008dd90
movdqa xmm0, xmmword [0x1400ba1f0]
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xc0], 0
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x160]
mov rcx, qword [0x1400ccd30]
call qword [sym.imp.WS2_32.dll_recv]
mov rcx, qword [0x1400ccd30]
test rcx, rcx
je 0x140050b18
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
movzx edx, byte [rsp + 0x120]
lea rcx, [rsp + 0x128]
call fcn.14003bb30
nop
movzx edx, byte [rsp + 0x150]
lea rcx, [rsp + 0x158]
call fcn.14003bb30
nop
mov rdx, qword [rsp + 0x118]
cmp rdx, 0x10
jb 0x140050b8e
inc rdx
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c65
call fcn.14008dd90
mov qword [rsp + 0x110], r15
mov qword [rsp + 0x118], send
mov byte [rsp + 0x100], 0
mov rdx, qword [rsp + 0x148]
cmp rdx, 0x10
jb 0x140050bed
inc rdx
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050be8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c6b
call fcn.14008dd90
mov qword [rsp + 0x140], r15
mov qword [rsp + 0x148], send
mov byte [rsp + 0x130], 0
mov rcx, qword [rsp + 0x2160]
xor rcx, rsp
call fcn.14008dd70
lea r11, [rsp + 0x2170]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
call fcn.14006ff04
nop
call fcn.14006ff04
nop
call fcn.14006ff04
nop
call fcn.14006ff04
nop
call fcn.14006ff04
nop
call fcn.14006ff04
nop
call fcn.14006ff04
nop
call fcn.14006ff04
nop
call fcn.14006ff04
int3