Function at 0x14008dca0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r15
sub rsp, 0x30
movsxd rbx, dword [r8 + 0x164]
xor edi, edi
test edx, edx
mov rsi, r8
mov r12d, edx
mov r15, rcx
je 0x14008df18
test r8b, 3
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
jne 0x14008ddd2
test bl, 3
je 0x14008dd13
mov rdx, r15
cmp edi, r12d
jae 0x14008dd13
movzx eax, byte [rdx]
add ebx, 1
add rcx, 1
xor byte [rcx + r8 + 0x1f], al
add edi, 1
add rdx, 1
test bl, 3
jne 0x14008dcf3
test bl, 3
jne 0x14008deba
mov eax, edi
sub al, r8b
add al, r15b
test al, 3
jne 0x14008deba
lea edx, [rdi + 0x10]
movsxd rcx, ebx
movsxd rax, edi
cmp edx, r12d
ja 0x14008dd62
lea r8, [rax + r15]
nop
cmp ebx, 0x10
jae 0x14008dd62
mov eax, dword [r8]
add edx, 4
add rcx, 4
xor dword [rcx + rsi + 0x1c], eax
add edi, 4
add r8, 4
add ebx, 4
cmp edx, r12d
jbe 0x14008dd40
lea r14d, [rdi + 0x10]
movsxd rcx, edi
cmp r14d, r12d
ja 0x14008deba
lea rax, [rsi + 0x70]
lea rbp, [rsi + 0x20]
mov ebx, reloc.WS2_32.dll_recv
mov rsi, rax
lea r13, [rcx + r15 + 8]
nop
nop
nop
mov r8, rsi
mov rdx, rbp
mov rcx, rbp
call fcn.14008e68c
mov r11d, dword [r13 - 8]
add r14d, ebx
xor dword [rbp], r11d
mov eax, dword [r13 - 4]
add edi, ebx
xor dword [rbp + 4], eax
mov eax, dword [r13]
xor dword [rbp + 8], eax
mov eax, dword [r13 + 4]
add r13, rbx
xor dword [rbp + 0xc], eax
cmp r14d, r12d
jbe 0x14008dd90
mov rsi, qword [rsp + 0x70]
jmp 0x14008deba
cmp edx, 0x10
jb 0x14008de03
mov edx, reloc.WS2_32.dll_recv
mov r8, r15
nop
cmp ebx, 0x10
jae 0x14008de03
movzx eax, byte [r8]
add edx, 1
add rcx, 1
xor byte [rcx + rsi + 0x1f], al
add edi, 1
add r8, 1
add ebx, 1
cmp edx, r12d
jbe 0x14008dde0
lea r13d, [rdi + 0x10]
movsxd rax, edi
cmp r13d, r12d
ja 0x14008deba
mov ebx, reloc.WS2_32.dll_recv
lea rbp, [rax + r15 + 1]
nop
lea r8, [rsi + 0x70]
lea rdx, [rsi + 0x20]
lea rcx, [rsi + 0x20]
call fcn.14008e68c
movzx r11d, byte [rbp - 1]
add r13d, ebx
xor byte [rsi + 0x20], r11b
movzx eax, byte [rbp]
add edi, ebx
xor byte [rsi + 0x21], al
movzx eax, byte [rbp + 1]
add rbp, 0x10
xor byte [rsi + 0x22], al
movzx eax, byte [rbp - 0xe]
xor byte [rsi + 0x23], al
movzx eax, byte [rbp - 0xd]
xor byte [rsi + 0x24], al
movzx eax, byte [rbp - 0xc]
xor byte [rsi + 0x25], al
movzx eax, byte [rbp - 0xb]
xor byte [rsi + 0x26], al
movzx eax, byte [rbp - 0xa]
xor byte [rsi + 0x27], al
movzx eax, byte [rbp - 9]
xor byte [rsi + 0x28], al
movzx eax, byte [rbp - 8]
xor byte [rsi + 0x29], al
movzx eax, byte [rbp - 7]
xor byte [rsi + 0x2a], al
movzx eax, byte [rbp - 6]
xor byte [rsi + 0x2b], al
movzx eax, byte [rbp - 5]
xor byte [rsi + 0x2c], al
movzx eax, byte [rbp - 4]
xor byte [rsi + 0x2d], al
movzx eax, byte [rbp - 3]
xor byte [rsi + 0x2e], al
movzx eax, byte [rbp - 2]
xor byte [rsi + 0x2f], al
cmp r13d, r12d
jbe 0x14008de20
mov r15, qword [rsp + 0x60]
cmp edi, r12d
mov r14, qword [rsp + 0x20]
movsxd rcx, ebx
movsxd rax, edi
jae 0x14008df08
sub r12d, edi
lea r13, [rax + r15]
mov edi, r12d
cmp ebx, 0x10
jne 0x14008deee
lea r8, [rsi + 0x70]
lea rdx, [rsi + 0x20]
lea rcx, [rsi + 0x20]
call fcn.14008e68c
xor ebx, ebx
xor ecx, ecx
movzx eax, byte [r13]
add rcx, 1
add r13, 1
xor byte [rcx + rsi + 0x1f], al
add ebx, 1
sub rdi, 1
jne 0x14008ded4
mov r13, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x68]
mov dword [rsi + 0x164], ebx
xor eax, eax
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret