Function at 0x14008df30
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 + 0x16c]
xor edi, edi
test edx, edx
mov rsi, r8
mov r12d, edx
mov r15, rcx
je 0x14008e1a8
test r8b, 3
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
jne 0x14008e062
test bl, 3
je 0x14008dfa3
mov rdx, r15
cmp edi, r12d
jae 0x14008dfa3
movzx eax, byte [rdx]
add ebx, 1
add rcx, 1
xor byte [rcx + r8 + 0x2f], al
add edi, 1
add rdx, 1
test bl, 3
jne 0x14008df83
test bl, 3
jne 0x14008e14a
mov eax, edi
sub al, r8b
add al, r15b
test al, 3
jne 0x14008e14a
lea edx, [rdi + 0x10]
movsxd rcx, ebx
movsxd rax, edi
cmp edx, r12d
ja 0x14008dff2
lea r8, [rax + r15]
nop
cmp ebx, 0x10
jae 0x14008dff2
mov eax, dword [r8]
add edx, 4
add rcx, 4
xor dword [rcx + rsi + 0x2c], eax
add edi, 4
add r8, 4
add ebx, 4
cmp edx, r12d
jbe 0x14008dfd0
lea r14d, [rdi + 0x10]
movsxd rcx, edi
cmp r14d, r12d
ja 0x14008e14a
lea rax, [rsi + 0x70]
lea rbp, [rsi + 0x30]
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 0x14008e020
mov rsi, qword [rsp + 0x70]
jmp 0x14008e14a
cmp edx, 0x10
jb 0x14008e093
mov edx, reloc.WS2_32.dll_recv
mov r8, r15
nop
cmp ebx, 0x10
jae 0x14008e093
movzx eax, byte [r8]
add edx, 1
add rcx, 1
xor byte [rcx + rsi + 0x2f], al
add edi, 1
add r8, 1
add ebx, 1
cmp edx, r12d
jbe 0x14008e070
lea r13d, [rdi + 0x10]
movsxd rax, edi
cmp r13d, r12d
ja 0x14008e14a
mov ebx, reloc.WS2_32.dll_recv
lea rbp, [rax + r15 + 1]
nop
lea r8, [rsi + 0x70]
lea rdx, [rsi + 0x30]
lea rcx, [rsi + 0x30]
call fcn.14008e68c
movzx r11d, byte [rbp - 1]
add r13d, ebx
xor byte [rsi + 0x30], r11b
movzx eax, byte [rbp]
add edi, ebx
xor byte [rsi + 0x31], al
movzx eax, byte [rbp + 1]
add rbp, 0x10
xor byte [rsi + 0x32], al
movzx eax, byte [rbp - 0xe]
xor byte [rsi + 0x33], al
movzx eax, byte [rbp - 0xd]
xor byte [rsi + 0x34], al
movzx eax, byte [rbp - 0xc]
xor byte [rsi + 0x35], al
movzx eax, byte [rbp - 0xb]
xor byte [rsi + 0x36], al
movzx eax, byte [rbp - 0xa]
xor byte [rsi + 0x37], al
movzx eax, byte [rbp - 9]
xor byte [rsi + 0x38], al
movzx eax, byte [rbp - 8]
xor byte [rsi + 0x39], al
movzx eax, byte [rbp - 7]
xor byte [rsi + 0x3a], al
movzx eax, byte [rbp - 6]
xor byte [rsi + 0x3b], al
movzx eax, byte [rbp - 5]
xor byte [rsi + 0x3c], al
movzx eax, byte [rbp - 4]
xor byte [rsi + 0x3d], al
movzx eax, byte [rbp - 3]
xor byte [rsi + 0x3e], al
movzx eax, byte [rbp - 2]
xor byte [rsi + 0x3f], al
cmp r13d, r12d
jbe 0x14008e0b0
mov r15, qword [rsp + 0x60]
cmp edi, r12d
mov r14, qword [rsp + 0x20]
movsxd rcx, ebx
movsxd rax, edi
jae 0x14008e198
sub r12d, edi
lea r13, [rax + r15]
mov edi, r12d
cmp ebx, 0x10
jne 0x14008e17e
lea r8, [rsi + 0x70]
lea rdx, [rsi + 0x30]
lea rcx, [rsi + 0x30]
call fcn.14008e68c
xor ebx, ebx
xor ecx, ecx
movzx eax, byte [r13]
add rcx, 1
add r13, 1
xor byte [rcx + rsi + 0x2f], al
add ebx, 1
sub rdi, 1
jne 0x14008e164
mov r13, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x68]
mov dword [rsi + 0x16c], ebx
xor eax, eax
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret