Function at 0x2010d270
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x170], xmm6
mov qword [rbp + 0x168], 0xfffffffffffffffe
mov qword [rbp + 0x158], r9
mov r13, r8
mov bx, dx
mov rdi, rcx
movzx eax, byte [0x204a1d18]
mov qword [rbp + 0x160], rax
xorps xmm6, xmm6
movaps xmmword [rbp + 0x90], xmm6
mov dword [rbp + 0xa0], 0
mov rcx, qword [rcx]
lea rdx, [rbp + 0x90]
call fcn.20279870
mov r15d, dword [rbp + 0x90]
mov r14, qword [rdi]
mov rsi, qword [rdi + 8]
movups xmmword [rbp + 0x119], xmm6
movaps xmmword [rbp + 0x110], xmm6
mov word [rbp + 0x124], 0x8000
mov byte [rbp + 0x129], 9
xor eax, eax
test byte [r14], 2
sete al
mov eax, dword [r14 + rax*4 + 0x14]
lea rcx, [rbp + 0x11c]
mov dword [rbp + 0x11c], eax
mov edx, dword [rsi + 0x10]
call fcn.2019bc50
mov dword [rbp + 0x118], r15d
lea rax, [r14 + 0x10]
test byte [r14 + 8], 4
lea rcx, [rsi + 0x20]
cmove rcx, rax
mov eax, dword [rcx]
mov dword [rbp + 0x110], eax
mov eax, dword [rsi + 0x24]
mov dword [rbp + 0x114], eax
lea r8, [rbp + 0x94]
lea rcx, [rbp - 0x60]
lea rdx, [rbp + 0x110]
mov r9d, 0x10
call fcn.201b6820
mov byte [rbp + 0x50], 0
mov rdx, qword [rdi + 0x10]
test byte [rdx + 3], 4
je 0x2010d3c1
mov r9, qword [rdi + 0x18]
lea rcx, [rbp + 0xc8]
mov r8d, ebx
call fcn.2010cbe0
cmp byte [rbp + 0x50], 0
lea rdx, [rbp + 0x58]
movups xmm0, xmmword [rbp + 0xc8]
movups xmmword [rbp + 0x58], xmm0
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x68], rax
jne 0x2010d3b8
mov byte [rbp + 0x50], 1
lea rcx, [rbp - 0x60]
call fcn.201b68d0
mov rax, qword [rbp + 0x158]
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x2010da92
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
lea rdx, [rbp - 0x60]
call qword [case.0x200fc05d.0]
mov r12, qword [rdi]
mov byte [rbp + 0xa8], 0
movups xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xc0], 0
mov ecx, 0x10
call fcn.2032be0c
mov qword [rbp + 0xb0], rax
mov rcx, rax
add rcx, 0x10
mov qword [rbp + 0xc0], rcx
movups xmmword [rax], xmm6
mov qword [rbp + 0xb8], rcx
movups xmm0, xmmword [r12 + 0x44]
movups xmmword [rax], xmm0
mov byte [rbp + 0x130], 0
movups xmmword [rbp + 0x138], xmm6
mov qword [rbp + 0x148], 0
mov ecx, 0x20
call fcn.2032be0c
mov qword [rbp + 0x138], rax
mov rcx, rax
add rcx, 0x20
mov qword [rbp + 0x148], rcx
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov qword [rbp + 0x140], rcx
mov dword [rbp + 0x150], 0
mov r14, qword [rbp + 0xb0]
mov rbx, qword [rbp + 0xb8]
sub rbx, r14
cmp rbx, 0x21
jb 0x2010d4ad
lea rcx, [rbp + 0x130]
mov rdx, rbx
call fcn.2010fa10
mov r15, qword [rbp + 0x138]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.20353d70
add r15, rbx
mov qword [rbp + 0x140], r15
call fcn.20259190
mov rcx, rax
mov edx, 0xffffffff
call fcn.20258fa0
mov dword [rbp + 0x150], eax
mov rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x140]
sub rdx, rcx
mov r8d, dword [0x2044e5fc]
mov r9, qword [rbp + 0x160]
mov r15d, r9d
neg r15d
add r8d, r15d
add r8d, 0xc49c
movsxd r9, r8d
add r9, qword [0x2044e610]
mov r8d, eax
mov rax, r9
call qword [case.0x200fc05d.0]
mov rax, qword [rdi + 8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xc8], rax
mov eax, dword [r12 + 0x40]
mov dword [rbp + 0xd0], eax
movzx eax, byte [rbp + 0x130]
mov byte [rbp + 0xd8], al
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], 0
mov rbx, qword [rbp + 0x138]
mov r14, qword [rbp + 0x140]
cmp rbx, r14
je 0x2010d5e7
sub r14, rbx
cmp r14, 0x1000
jb 0x2010d5b1
cmp byte [0x204a1d18], 0
jne 0x2010d597
cmp r14, 0xffffffffffffffd9
jae 0x2010da97
lea rcx, [r14 + 0x27]
call fcn.2032be0c
mov rcx, rax
add rcx, 0x27
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x2010d5bc
mov rcx, r14
call fcn.2032be0c
mov rcx, rax
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rcx
lea rsi, [rcx + r14]
mov qword [rbp + 0xf0], rsi
mov rdx, rbx
mov r8, r14
call fcn.20353d70
mov qword [rbp + 0xe8], rsi
mov eax, dword [rbp + 0x150]
mov dword [rbp + 0xf8], eax
call fcn.20259190
movsxd r14, dword [0x20372f00]
mov ecx, dword [0x204a1ecc]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
je 0x2010d61a
mov dword [0x204a1ee8], 1
lea rcx, [0x20372f00]
add r14, rcx
nop word cs:[rax + rax]
mov ecx, dword [0x204a1ed0]
cmp ecx, 0x3b
jg 0x2010d652
mov esi, dword [0x20372f08]
mov ecx, dword [0x204a1ecc]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
je 0x2010d665
mov ecx, dword [0x20372f08]
mov ecx, dword [0x204a1ed0]
cmp ecx, 0x3d
jge 0x2010d630
jmp 0x2010d63b
lea rcx, [rbp - 0x20]
lea rdx, [rbp + 0xc8]
mov r8, rax
call fcn.201b98b0
mov qword [rbp + 0x108], r15
mov rbx, qword [rbp + 0xe0]
mov r15d, dword [0x204a1ec8]
lea ecx, [r15 + 1]
mov dword [0x204a1ec8], ecx
test r15d, ecx
mov dword [rbp + 0x12c], ecx
mov r12, r13
je 0x2010d6aa
xor r13d, r13d
jmp 0x2010d6cd
xor eax, eax
xor r13d, r13d
test esi, esi
jle 0x2010d6cd
nop word cs:[rax + rax]
cdqe
xor r13, qword [r14 + rax]
add eax, 8
cmp eax, esi
jl 0x2010d6c0
test rbx, rbx
je 0x2010d745
mov r14, qword [rbp + 0xf0]
sub r14, rbx
mov rcx, rbx
xor edx, edx
mov r8, r14
call fcn.20354420
cmp r14, 0x1000
jb 0x2010d719
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x20
jae 0x2010da9c
mov rcx, r14
xor rcx, 0x27
and r14d, 0x27
lea r14, [rcx + r14*2]
mov rbx, rax
mov eax, dword [0x2044e5ec]
or eax, dword [rbp + 0x160]
add eax, 0xc49c
cdqe
add rax, qword [0x2044e620]
mov rcx, rbx
mov rdx, r14
mov r8d, 0xa270e721
call qword [case.0x200fc05d.0]
mov rcx, qword [rdi]
xor edx, edx
call fcn.20279580
xorps xmm0, xmm0
movaps xmmword [rbp + 0x70], xmm0
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx + 0x18]
mov qword [rbp + 0x80], rcx
mov rax, qword [rax + 8]
mov qword [rbp + 0x70], rax
cmp qword [0x204a48a0], 0
jne 0x2010d7bf
mov ecx, 0xb0
call fcn.2032be0c
xorps xmm0, xmm0
movups xmmword [rax + 0x9d], xmm0
movups xmmword [rax + 0x90], xmm0
movups xmmword [rax + 0x80], xmm0
movups xmmword [rax + 0x70], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov qword [0x204a48a0], rax
mov rax, qword [0x204a48a0]
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x18]
lea rdx, [rbp + 0x70]
call fcn.2019d240
lea rcx, [rbp + 0xc8]
lea rdx, [rbp + 0x18]
lea r8, [rbp - 0x20]
call fcn.2019e670
lea rcx, [rbp + 0xc8]
lea rdx, [rbp - 0x60]
mov r8, r12
call fcn.2019e760
mov esi, eax
mov rbx, qword [rbp + 0xd8]
test rbx, rbx
mov r14, qword [rbp + 0x160]
je 0x2010d88b
mov rdi, qword [rbp + 0xe8]
sub rdi, rbx
mov rcx, rbx
xor edx, edx
mov r8, rdi
call fcn.20354420
cmp rdi, 0x1000
jb 0x2010d862
mov rax, qword [rbx - 8]
cmp byte [0x204a1eec], 0
jne 0x2010d851
add rbx, 0xfffffffffffffff8
sub rbx, rax
cmp rbx, 0x20
jae 0x2010daa1
mov rcx, rdi
xor rcx, 0x27
and edi, 0x27
lea rdi, [rcx + rdi*2]
mov rbx, rax
mov eax, dword [0x2044e5ec]
add eax, r14d
add eax, 0xc49c
cdqe
add rax, qword [0x2044e620]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0xa270e721
call qword [case.0x200fc05d.0]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x2010d8ed
mov rdx, qword [rbp + 0x28]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x2010d8ca
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x2010daa6
mov rcx, rdx
xor rcx, 0x27
and edx, 0x27
lea rdx, [rcx + rdx*2]
mov rcx, rax
mov eax, dword [0x2044e5ec]
xor eax, r14d
add eax, 0xc49c
cdqe
add rax, qword [0x2044e620]
mov r8d, 0xa270e721
call qword [case.0x200fc05d.0]
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x2010d958
mov rdi, qword [rbp - 8]
sub rdi, rbx
mov rcx, rbx
xor edx, edx
mov r8, rdi
call fcn.20354420
cmp rdi, 0x1000
jb 0x2010d92f
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x20
jae 0x2010daab
add rdi, 0x27
mov rbx, rax
mov eax, dword [0x2044e5ec]
add eax, r14d
add eax, 0xc49c
cdqe
add rax, qword [0x2044e620]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0xa270e721
call qword [case.0x200fc05d.0]
mov rbx, qword [rbp + 0x138]
test rbx, rbx
je 0x2010d9c9
mov rdi, qword [rbp + 0x148]
sub rdi, rbx
mov rcx, rbx
xor edx, edx
mov r8, rdi
call fcn.20354420
cmp rdi, 0x1000
jb 0x2010d9a0
mov rax, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rax
cmp rbx, 0x20
jae 0x2010dab0
add rdi, 0x27
mov rbx, rax
mov eax, dword [0x2044e5ec]
add eax, r14d
add eax, 0xc49c
cdqe
add rax, qword [0x2044e620]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0xa270e721
call qword [case.0x200fc05d.0]
mov rbx, qword [rbp + 0xb0]
test rbx, rbx
je 0x2010db3e
mov rdi, qword [rbp + 0xc0]
sub rdi, rbx
mov rcx, rbx
xor edx, edx
mov r8, rdi
call fcn.20354420
cmp rdi, 0x1000
jb 0x2010db15
mov rax, qword [rbx - 8]
mov rcx, rbx
xor rcx, 0xfffffffffffffff8
movabs rdx, 0x7ffffffffffffff8
and rdx, rbx
lea rcx, [rcx + rdx*2]
sub rcx, rax
and r15d, dword [rbp + 0x12c]
xor edx, edx
cmp r15d, 1
sbb rdx, rdx
mov r8, qword [0x20373010]
sub r8, r13
movabs r9, 0x35aad434d3ed28e6
add r9, r8
mov r8d, dword [0x204a1ed0]
movabs r8, 0xca552bcb2c12d71a
add r8, r9
not rdx
nop word [rax + rax]
mov r9d, dword [0x204a1ed0]
cmp r9d, 0x2c
jg 0x2010da60
xor rdx, r8
mov r9d, dword [0x204a1ed0]
test rdx, r8
setne dl
or dl, byte [0x204a1eec]
mov r8d, dword [0x204a1ed0]
cmp r8d, 0x14
jle 0x2010dab5
jmp 0x2010dad8
call fcn.2032da94
call fcn.2006d860
call fcn.2030c4cc
call fcn.2030c4cc
call fcn.2030c4cc
call fcn.2030c4cc
call fcn.2030c4cc
mov r8d, edx
and r8b, 1
mov byte [0x204a1eec], r8b
mov r8d, dword [0x204a1ecc]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x2010db08
mov r8d, edx
and r8b, 1
nop
mov byte [0x204a1eec], r8b
mov r9d, dword [0x204a1ecc]
lea r10d, [r9 - 1]
imul r10d, r9d
mov dword [0x204a1ee0], 1
test r10b, 1
jne 0x2010dae0
jmp 0x2010dab5
cmp rcx, 0x20
jae 0x2010db86
add rdi, 0x27
mov rbx, rax
mov eax, dword [0x2044e5ec]
add eax, r14d
add eax, 0xc49c
cdqe
add rax, qword [0x2044e620]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0xa270e721
call qword [case.0x200fc05d.0]
mov rdi, qword [rbp + 0x158]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x2010db69
cmp rcx, rdi
setne dl
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x200fc05d.0]
mov qword [rdi + 0x38], 0
mov eax, esi
movaps xmm6, xmmword [rbp + 0x170]
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.2030c4cc
int3