Function at 0x201d4410
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x205a38a0]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [0x205b3cd9], 0
jne 0x201d43f9
mov rsi, rcx
mov eax, dword [0x205b3930]
add eax, dword [rcx + 8]
je 0x201d43f9
lea rdx, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x6ddaadf8
mov r9d, 0x625e75b5
call fcn.200fb690
mov rdi, qword [rsp + 0x28]
movzx eax, word [rdi + 4]
mov word [rsi + 0x34], ax
mov eax, dword [rdi]
mov dword [rsi + 0x30], eax
add rdi, 6
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.204278f0
mov rcx, rsi
mov rdx, rdi
add rsp, 0x38
pop rdi
pop rsi
jmp 0x201d4410
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.204278f0
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x205a38a0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov esi, dword [0x205b3930]
add esi, dword [rdx]
lea rax, [rdx + rsi]
add rax, 4
mov qword [rcx + 0x10], rax
lea rax, [rcx + 0x18]
mov qword [rsp + 0x40], rax
mov edx, esi
shr edx, 3
mov rax, qword [rcx + 0x28]
sub rax, qword [rcx + 0x18]
sar rax, 3
movabs rcx, 0x2e8ba2e8ba2e8ba3
imul rcx, rax
mov qword [rsp + 0x28], rdx
cmp rcx, rdx
jae 0x201d44ad
mov eax, dword [0x20558b80]
mov ecx, dword [0x20558f20]
add eax, ecx
add eax, 0xa28327b9
cdqe
add rax, qword [0x20558b90]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
call qword [case.0x2010e313.0]
mov al, 1
mov qword [rsp + 0x30], rax
cmp esi, 8
jb 0x201d48a7
mov rax, qword [rsp + 0x28]
cmp eax, 2
mov ecx, 1
cmovae ecx, eax
mov qword [rsp + 0x60], rcx
xor r13d, r13d
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], rbx
nop word cs:[rax + rax]
mov eax, dword [0x205b3fbc]
cmp eax, 0x4d
mov qword [rsp + 0x58], r13
jg 0x201d46e0
jmp 0x201d4530
inc r13
cmp r13, qword [rsp + 0x28]
setae al
mov qword [rsp + 0x30], rax
cmp r13, qword [rsp + 0x60]
jne 0x201d44f0
jmp 0x201d48a7
mov rcx, qword [rbx + 0x10]
mov edx, dword [rdi + r13*8 + 8]
mov ebp, dword [rbx + 8]
add rbp, qword [rbx]
lea rax, [rcx + rdx]
mov r9d, dword [rcx + rdx]
lea r8, [r9 + rax]
add r8, 4
mov qword [rsp + 0x38], r8
cmp r8, rbp
mov r8d, 0
cmovbe r8d, r9d
lea r9, [r8 + rax + 4]
mov r10d, dword [r8 + rax + 4]
lea r11, [r10 + r9]
add r11, 4
mov qword [rsp + 0x70], r11
cmp r11, rbp
mov r14d, 0
cmova r10d, r14d
lea r11, [r10 + r9 + 4]
mov esi, dword [r10 + r9 + 4]
lea rbx, [rsi + r11]
add rbx, 4
mov qword [rsp + 0x68], rbx
cmp rbx, rbp
cmova esi, r14d
lea rbx, [rsi + r11]
add rbx, 4
mov r12d, dword [rsi + r11 + 4]
lea r15, [r12 + rbx]
add r15, 4
cmp r15, rbp
cmova r12d, r14d
lea rcx, [rcx + rdx + 4]
mov edx, dword [rdi + r13*8 + 4]
movzx r13d, word [r12 + rbx + 4]
mov qword [rsp + 0x78], rcx
lea rax, [r8 + rax + 8]
mov dword [rsp + 0x80], r8d
mov qword [rsp + 0x88], rax
lea rax, [r10 + r9 + 8]
mov dword [rsp + 0x90], r10d
mov qword [rsp + 0x98], rax
lea rax, [rsi + r11 + 8]
mov dword [rsp + 0xa0], esi
mov qword [rsp + 0xa8], rax
lea rax, [r12 + rbx + 4]
lea rcx, [r12 + rbx]
add rcx, 6
mov rbx, qword [rsp + 0x50]
lea rsi, [rax + r13]
add rsi, 2
cmp rsi, rbp
cmova r13d, r14d
mov dword [rsp + 0xb0], r12d
mov qword [rsp + 0xb8], rcx
mov dword [rsp + 0xc0], r13d
mov r13, qword [rsp + 0x58]
mov dword [rsp + 0xc8], edx
mov rdx, qword [rbx + 0x20]
mov rax, qword [rbx + 0x28]
mov ecx, dword [0x205b3fbc]
cmp ecx, 0x5f
jge 0x201d46e0
mov qword [rsp + 0x48], r15
mov r12, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x38]
cmp rdx, rax
je 0x201d4850
mov rax, qword [rsp + 0xc8]
mov qword [rdx + 0x50], rax
movups xmm0, xmmword [rsp + 0xb8]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x78]
movups xmm1, xmmword [rsp + 0x88]
movups xmm2, xmmword [rsp + 0x98]
movups xmm3, xmmword [rsp + 0xa8]
movups xmmword [rdx + 0x30], xmm3
movups xmmword [rdx + 0x20], xmm2
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
add qword [rbx + 0x20], 0x58
jmp 0x201d4876
mov rax, qword [rbx + 0x10]
mov ecx, dword [rdi + r13*8 + 8]
lea rdx, [rax + rcx]
mov r14d, dword [rbx + 8]
add r14, qword [rbx]
mov r8d, dword [rdi + r13*8 + 4]
mov dword [rsp + 0x38], r8d
mov r8d, dword [rax + rcx]
lea rbp, [rax + rcx]
add rbp, 4
lea rax, [r8 + rdx]
add rax, 4
cmp rax, r14
mov r13d, 0
cmovbe r13d, r8d
lea r12, [r13 + rdx + 4]
mov esi, dword [r13 + rdx + 4]
lea r15, [r13 + rdx + 8]
mov rbx, rdi
lea rdi, [rsi + r12]
add rdi, 4
mov ecx, 0x5c
call fcn.20407ac4
mov qword [0x205b3fb0], rax
lea rcx, [0x201d52f0]
call fcn.20427ec0
cmp rdi, r14
mov r10d, 0
cmova esi, r10d
lea rax, [rsi + r12]
add rax, 4
mov ecx, dword [rsi + r12 + 4]
lea rdx, [rcx + rax]
add rdx, 4
cmp rdx, r14
cmova ecx, r10d
lea rdx, [rcx + rax]
add rdx, 4
mov r8d, dword [rcx + rax + 4]
lea r9, [r8 + rdx]
add r9, 4
cmp r9, r14
cmova r8d, r10d
lea r9, [r8 + rdx + 4]
movzx r10d, word [r8 + rdx + 4]
add r9, r10
add r9, 2
mov r11d, dword [0x20558f20]
mov edi, r11d
xor edi, 0xa2833e67
and r11d, 0x22833e67
cmp r9, r14
lea r9d, [rdi + r11*2]
mov rdi, rbx
mov rbx, qword [rsp + 0x50]
cmovbe r9d, r10d
mov qword [rsp + 0x78], rbp
mov dword [rsp + 0x80], r13d
mov r13, qword [rsp + 0x58]
mov qword [rsp + 0x88], r15
lea r10, [rsi + r12 + 8]
mov dword [rsp + 0x90], esi
mov qword [rsp + 0x98], r10
lea rax, [rcx + rax + 8]
mov dword [rsp + 0xa0], ecx
mov qword [rsp + 0xa8], rax
lea rax, [r8 + rdx + 6]
mov dword [rsp + 0xb0], r8d
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xc0], r9d
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0xc8], eax
test rbx, rbx
je 0x201d46e0
jmp 0x201d4530
mov eax, dword [0x20558b84]
mov ecx, 0xffffe952
add eax, ecx
cdqe
add rax, qword [0x20558b98]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x78]
call qword [case.0x2010e313.0]
mov rcx, qword [rsp + 0x48]
cmp rsi, rbp
setbe al
cmp rcx, rbp
setbe cl
and cl, al
or cl, byte [0x205b3cd9]
test cl, 1
je 0x201d48a7
cmp r12, rbp
ja 0x201d48a7
cmp r14, rbp
ja 0x201d48a7
cmp r15, rbp
jbe 0x201d4510
mov eax, dword [0x205b3fbc]
nop dword [rax]
mov eax, dword [0x205b3fbc]
cmp eax, 0x2d
jg 0x201d48b0
mov rsi, qword [rsp + 0x30]
and sil, 1
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.204278f0
mov eax, esi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret