Function at 0x6004a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa8
call fcn.00693bc0
sub rsp, rax
mov rax, qword [0x0072f1d0]
mov qword [rsp + 0x58], rax
mov rax, qword [rcx + 0x28]
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x88], rdi
movzx edi, byte [rcx]
mov qword [rsp + 0x80], r12
test dil, 0x40
mov r12, qword [rsp + 0xd0]
mov qword [rsp + 0x78], r13
mov rsi, r9
mov r9, qword [rcx + 0x30]
mov qword [rsp + 0x68], r15
mov r15, r8
mov r13, rdx
mov rbx, rcx
mov byte [rsp + 0x30], dil
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r9
jne 0x600529
lea rdx, [rcx + 0x10]
mov r8, r9
call rax
inc qword [rbx + 0x20]
mov r9, qword [rsp + 0x38]
mov al, dil
mov r8d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x98], rbp
and eax, 7
mov qword [rsp + 0x70], r14
xor ebp, ebp
mov r14d, r8d
mov byte [rbx], al
mov rcx, rbp
sub r14d, eax
cmp r14d, r8d
movsxd rax, r14d
jae 0x600575
lea rdx, [rax + rbx]
sub r8d, r14d
nop
movzx eax, byte [rdx]
mov byte [rdx], bpl
inc rdx
or rcx, rax
shl rcx, 8
dec r8
jne 0x600560
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xf], 1
or rcx, rax
cmp rcx, rsi
je 0x60058f
mov eax, 0xffffffff
jmp 0x600727
lea rax, [rsi + 0xf]
or rax, 8
shr rax, 3
add qword [rbx + 0x20], rax
movabs rax, 0x2000000000000000
cmp qword [rbx + 0x20], rax
jbe 0x6005b9
mov eax, 0xfffffffe
jmp 0x600727
mov rdi, rsi
shr rdi, 4
je 0x60062f
lea rax, [rbx + 0x10]
mov r8, rdi
mov rdx, r15
mov qword [rsp + 0x28], rax
mov rcx, r13
mov qword [rsp + 0x20], rbx
call r12
shl rdi, 4
add r13, rdi
add r15, rdi
sub rsi, rdi
je 0x6006cc
shr rdi, 4
mov r8d, 8
mov rdx, rbp
nop
movzx eax, byte [r8 + rbx + 7]
dec r8
movzx ecx, dil
add rdx, rax
shr rdi, 8
add rdx, rcx
mov byte [r8 + rbx + 8], dl
shr rdx, 8
test r8, r8
je 0x60062f
test rdi, rdi
jne 0x600600
test rdx, rdx
jne 0x600600
test rsi, rsi
je 0x6006d8
test rsi, rsi
mov edx, ebp
je 0x600665
lea rcx, [rbx + 0x10]
mov r8, r13
nop
nop
nop
movzx eax, byte [r8]
inc edx
inc r8
xor byte [rcx], al
mov eax, edx
inc rcx
cmp rax, rsi
jb 0x600650
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
lea rcx, [rbx + 0x10]
mov r8, rdi
mov rdx, rcx
call r12
lea rdx, [rsp + 0x48]
mov r8, rdi
mov rcx, rbx
call r12
test rsi, rsi
je 0x6006e2
lea rax, [rsp + 0x48]
lea rcx, [rsp + 0x48]
sub r13, rax
lea rax, [rsp + 0x48]
sub r15, rax
nop
nop
nop
movzx eax, byte [r13 + rcx]
inc ebp
inc rcx
xor al, byte [rcx - 1]
mov byte [r15 + rcx - 1], al
mov eax, ebp
cmp rax, rsi
jb 0x6006b0
jmp 0x6006e2
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
jmp 0x6006e2
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
cmp r14d, 0x10
movsxd rax, r14d
jae 0x6006ff
mov r8d, reloc.WS2_32.dll_recv
lea rcx, [rax + rbx]
xor edx, edx
sub r8d, r14d
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x48]
mov r8, rdi
mov rcx, rbx
call r12
mov rax, qword [rsp + 0x48]
xor qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x50]
xor qword [rbx + 0x18], rax
mov al, byte [rsp + 0x30]
mov byte [rbx], al
xor eax, eax
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
call fcn.00693b90
add rsp, 0xa8
ret