Function at 0x1801d16c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
xor edx, edx
lea rax, [0x1802e7218]
sub rax, rcx
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], rax
lea r10, [0x1802e71f0]
lea rax, [0x1802e721c]
sub r10, rcx
sub rax, rcx
lea r11, [0x1802e71f4]
mov qword [rsp + 0xa8], rax
lea rbx, [0x1802e71f8]
lea rax, [0x1802e7220]
sub r11, rcx
sub rax, rcx
lea rdi, [0x1802e71fc]
mov qword [rsp], rax
lea rsi, [0x1802e7200]
lea rbp, [0x1802e7204]
sub rbx, rcx
lea r14, [0x1802e7208]
sub rdi, rcx
lea r15, [0x1802e720c]
sub rsi, rcx
lea r12, [0x1802e7210]
sub rbp, rcx
lea r13, [0x1802e7214]
sub r14, rcx
lea rax, [0x1802e7224]
sub r15, rcx
sub r12, rcx
lea r9, [rcx + 8]
sub r13, rcx
sub rax, rcx
mov qword [rsp + 8], rax
jmp 0x1801d1795
mov rdx, qword [rsp + 0x10]
add edx, dword [r10 + r9 - 8]
mov rcx, qword [rsp + 0x98]
mov r8d, dword [r9 - 8]
movzx eax, r8b
sub r8d, edx
sub al, dl
mov edx, dword [r9 - 4]
shr r8d, 0x1f
add r8d, dword [r11 + r9 - 8]
mov byte [rsp + rcx + 0x18], al
movzx eax, dl
sub edx, r8d
sub al, r8b
mov r8d, dword [r9]
shr edx, 0x1f
add edx, dword [r10 + r9]
mov byte [rsp + rcx + 0x19], al
movzx eax, r8b
sub r8d, edx
sub al, dl
mov edx, dword [r9 + 4]
shr r8d, 0x1f
add r8d, dword [r11 + r9]
mov byte [rsp + rcx + 0x1a], al
movzx eax, dl
sub edx, r8d
sub al, r8b
mov r8d, dword [r9 + 8]
shr edx, 0x1f
add edx, dword [r9 + rbx]
mov byte [rsp + rcx + 0x1b], al
movzx eax, r8b
sub r8d, edx
sub al, dl
mov edx, dword [r9 + 0xc]
shr r8d, 0x1f
add r8d, dword [r9 + rdi]
mov byte [rsp + rcx + 0x1c], al
movzx eax, dl
sub edx, r8d
sub al, r8b
mov r8d, dword [r9 + 0x10]
shr edx, 0x1f
add edx, dword [r9 + rsi]
mov byte [rsp + rcx + 0x1d], al
movzx eax, r8b
sub r8d, edx
sub al, dl
mov edx, dword [r9 + 0x14]
shr r8d, 0x1f
add r8d, dword [r9 + rbp]
mov byte [rsp + rcx + 0x1e], al
movzx eax, dl
sub edx, r8d
sub al, r8b
mov r8d, dword [r9 + 0x18]
shr edx, 0x1f
add edx, dword [r9 + r14]
mov byte [rsp + rcx + 0x1f], al
movzx eax, r8b
sub r8d, edx
sub al, dl
shr r8d, 0x1f
mov rdx, rcx
add r8d, dword [r9 + r15]
mov edx, dword [r9 + 0x1c]
sub edx, r8d
mov byte [rsp + rcx + 0x20], al
movzx eax, byte [r9 + 0x1c]
sub al, r8b
shr edx, 0x1f
add edx, dword [r9 + r12]
mov r8, rcx
mov r8d, dword [r9 + 0x20]
mov byte [rsp + rcx + 0x21], al
sub r8d, edx
movzx eax, byte [r9 + 0x20]
sub al, dl
shr r8d, 0x1f
add r8d, dword [r9 + r13]
mov byte [rsp + rcx + 0x22], al
movzx eax, byte [r9 + 0x24]
lea r9, [r9 + 0x40]
sub al, r8b
mov rdx, rcx
mov edx, dword [r9 - 0x1c]
sub edx, r8d
mov byte [rsp + rcx + 0x23], al
mov r8, qword [rsp + 0x98]
movzx eax, byte [r9 - 0x18]
mov rcx, qword [rsp + 0xa0]
shr edx, 0x1f
add edx, dword [r9 + rcx - 0x40]
sub al, dl
mov byte [rsp + r8 + 0x24], al
mov r8d, dword [r9 - 0x18]
mov rax, qword [rsp + 0xa8]
sub r8d, edx
mov rdx, qword [rsp + 0x98]
shr r8d, 0x1f
add r8d, dword [r9 + rax - 0x40]
movzx eax, byte [r9 - 0x14]
sub al, r8b
mov byte [rsp + rdx + 0x25], al
mov rax, qword [rsp]
mov edx, dword [r9 - 0x14]
sub edx, r8d
mov r8, qword [rsp + 0x98]
shr edx, 0x1f
add edx, dword [r9 + rax - 0x40]
movzx eax, byte [r9 - 0x10]
sub al, dl
mov byte [rsp + r8 + 0x26], al
mov r8d, dword [r9 - 0x10]
mov rax, qword [rsp + 8]
sub r8d, edx
shr r8d, 0x1f
add r8d, dword [r9 + rax - 0x40]
mov eax, dword [r9 - 0xc]
mov edx, eax
sub edx, r8d
sub al, r8b
mov r8, qword [rsp + 0x98]
shr edx, 0x1f
mov dword [rsp + 0x10], edx
mov byte [rsp + r8 + 0x27], al
add r8, 0x10
mov qword [rsp + 0x98], r8
cmp r8, 0x20
jl 0x1801d1790
mov rcx, qword [rsp + 0x90]
lea eax, [rdx - 1]
movd xmm3, eax
mov edx, 4
pshufd xmm3, xmm3, 0
lea rax, [rsp + 0x1c]
nop dword [rax]
nop word [rax + rax]
movd xmm2, dword [rax - 4]
xorps xmm0, xmm0
punpcklbw xmm2, xmm0
lea rax, [rax + 8]
punpcklwd xmm2, xmm0
movdqu xmm1, xmmword [rcx]
lea rcx, [rcx + 0x20]
pxor xmm2, xmm1
pand xmm2, xmm3
pxor xmm2, xmm1
movdqu xmmword [rcx - 0x20], xmm2
movd xmm2, dword [rax - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
movdqu xmm1, xmmword [rcx - 0x10]
pxor xmm2, xmm1
pand xmm2, xmm3
pxor xmm2, xmm1
movdqu xmmword [rcx - 0x10], xmm2
sub rdx, 1
jne 0x1801d19c0
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret