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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, qword [0x14016dbe0]
xor ebp, ebp
mov esi, ebp
mov r14, rcx
nop dword [rax + rax]
mov rbx, rdi
mov rcx, qword [0x14016c488]
xor r9d, r9d
mov rdx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x14005c1e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
add eax, 0xffffd8bb
test eax, 0xfffffffa
jne 0x14005c1bb
cmp ecx, 0x274a
jne 0x14005c1c3
cmp ecx, 0x274a
jne 0x14005c183
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp eax, 1
jne 0x14005c183
cmp byte [rbx], 0xa
je 0x14005c1ef
inc rbx
jmp 0x14005c183
mov byte [rbx], bpl
cmp rbx, rdi
jbe 0x14005c201
cmp byte [rbx - 1], 0xd
jne 0x14005c201
mov byte [rbx - 1], bpl
test rdi, rdi
je 0x14005c1c3
cmp byte [rdi], bpl
je 0x14005c22d
cmp esi, 0x64
je 0x14005c22d
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], bpl
jne 0x14005c217
inc rdi
add rdi, rax
inc esi
jmp 0x14005c180
lea rcx, [rdi + 1]
movsxd r9, esi
mov rax, r9
mov qword [r14 + 0x10], rcx
shl rax, 4
add rax, rcx
mov dword [r14 + 0x24], ebp
mov qword [r14 + 8], rax
lea eax, [rsi - 1]
mov dword [r14 + 0x28], eax
mov rax, qword [0x14016dbe0]
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14005c265
cmp cl, 9
jne 0x14005c26a
inc rax
jmp 0x14005c258
mov qword [r14], rax
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14005c293
movzx edx, cl
movzx ecx, dl
cmp dl, 9
je 0x14005c293
test dl, dl
je 0x14005c293
movzx ecx, byte [rax + 1]
inc rax
movzx edx, cl
cmp cl, 0x20
jne 0x14005c278
test cl, cl
je 0x14005c2ef
nop word [rax + rax]
mov byte [rax], bpl
movzx ecx, byte [rax + 1]
inc rax
cmp cl, 0x20
je 0x14005c2a3
cmp cl, 9
je 0x14005c2a3
movsxd rdx, dword [r14 + 0x24]
mov rcx, qword [r14 + 8]
mov qword [rcx + rdx*8], rax
inc dword [r14 + 0x24]
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14005c2eb
movzx edx, cl
nop
movzx ecx, dl
cmp dl, 9
je 0x14005c2eb
test dl, dl
je 0x14005c2eb
movzx ecx, byte [rax + 1]
inc rax
movzx edx, cl
cmp cl, 0x20
jne 0x14005c2d0
test cl, cl
jne 0x14005c2a0
test esi, esi
jle 0x14005c3d2
mov r8, rbp
nop word [rax + rax]
movzx ecx, byte [rax + 1]
inc rax
cmp cl, 0x20
je 0x14005c300
cmp cl, 9
je 0x14005c300
mov rcx, qword [r14 + 0x10]
mov qword [r8 + rcx], rax
movzx ecx, byte [rax]
cmp cl, 0x3a
je 0x14005c33a
movzx edx, cl
movzx ecx, dl
test dl, dl
je 0x14005c33a
movzx ecx, byte [rax + 1]
inc rax
movzx edx, cl
cmp cl, 0x3a
jne 0x14005c324
test cl, cl
je 0x14005c3ac
lea rcx, [rax - 1]
movzx edx, byte [rcx]
cmp dl, 0x20
je 0x14005c34f
cmp dl, 9
jne 0x14005c357
mov byte [rcx], bpl
dec rcx
jmp 0x14005c342
mov byte [rax], bpl
movzx ecx, byte [rax + 1]
inc rax
cmp cl, 0x20
je 0x14005c35a
cmp cl, 9
je 0x14005c35a
mov rcx, qword [r14 + 0x10]
mov qword [r8 + rcx + 8], rax
cmp byte [rax], bpl
je 0x14005c388
nop dword [rax]
inc rax
cmp byte [rax], bpl
jne 0x14005c380
mov rcx, qword [r14 + 0x10]
cmp rax, qword [r8 + rcx + 8]
jbe 0x14005c3c4
lea rcx, [rax - 1]
movzx edx, byte [rcx]
cmp dl, 0x20
je 0x14005c3a4
cmp dl, 9
jne 0x14005c3c4
mov byte [rcx], bpl
dec rcx
jmp 0x14005c397
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r8 + rcx]
mov byte [rdx], bpl
mov rdx, qword [r14 + 0x10]
mov rcx, qword [rdx + r8]
mov qword [rdx + r8 + 8], rcx
add r8, 0x10
sub r9, 1
jne 0x14005c300
cmp dword [r14 + 0x24], 1
lea r8, [r14 + 0x20]
mov dword [r8], ebp
jl 0x14005c3f3
mov rcx, qword [r14 + 8]
lea rdx, [0x14011d348]
mov rcx, qword [rcx]
call fcn.140049d30
mov ebx, ebp
mov dword [r14 + 0x2c], ebp
cmp dword [r14 + 0x28], ebx
jle 0x14005c46d
mov rdi, rbp
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r14 + 0x10]
lea rdx, str.Length
mov rcx, qword [rdi + rcx]
call fcn.1400c6cf4
test eax, eax
je 0x14005c43e
inc ebx
add rdi, 0x10
cmp ebx, dword [r14 + 0x28]
jl 0x14005c410
mov eax, 1
jmp 0x14005c1c5
mov rcx, qword [r14 + 0x10]
lea r8, [r14 + 0x2c]
movsxd rax, ebx
lea rdx, [0x14011d348]
add rax, rax
mov rcx, qword [rcx + rax*8 + 8]
call fcn.140049d30
mov ebx, dword [r14 + 0x2c]
test ebx, ebx
jns 0x14005c477
mov dword [r14 + 0x2c], ebp
mov qword [r14 + 0x18], rbp
mov eax, 1
jmp 0x14005c1c5
je 0x14005c469
movsxd rcx, dword [r14 + 0x24]
mov rax, qword [r14 + 8]
lea rsi, [rax + rcx*8]
mov qword [r14 + 0x18], rsi
test ebx, ebx
jle 0x14005c46d
nop dword [rax]
mov rcx, qword [0x14016c488]
mov r8d, ebx
movsxd rdx, ebp
sub r8d, ebp
add rdx, rsi
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14005c4df
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
add eax, 0xffffd8bb
test eax, 0xfffffffa
jne 0x14005c4d3
cmp ecx, 0x274a
jne 0x14005c1c3
cmp ecx, 0x274a
je 0x14005c1c3
add ebp, edi
cmp ebp, ebx
jl 0x14005c490
mov eax, 1
jmp 0x14005c1c5