Function at 0x1001cb900
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x1a0]
mov qword [rbp - 0x168], rbx
movdqa xmmword [rbp - 0x160], xmm6
mov qword [rbp - 0x20], rcx
mov qword [rbp - 8], rdx
mov qword [rbp - 0x10], r8
mov qword [rbp - 0x18], r9
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
mov qword [rbp - 0xf0], rdx
mov rax, qword [rax + 8]
mov qword [rbp - 0xe8], rax
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax]
mov qword [rbp - 0x100], rdx
mov rax, qword [rax + 8]
mov qword [rbp - 0xf8], rax
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax]
mov qword [rbp - 0x110], rdx
mov rax, qword [rax + 8]
mov qword [rbp - 0x108], rax
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0xe0], 0
mov qword [rbp - 0x140], 0
nop
movsd xmm0, qword [rbp - 0x108]
subsd xmm0, qword [rbp - 0xf8]
movsd qword [rbp - 0x118], xmm0
movsd xmm0, qword [rbp - 0x110]
subsd xmm0, qword [rbp - 0x100]
movsd qword [rbp - 0x120], xmm0
mov rax, qword [rbp - 0x120]
mov qword [rbp - 0xc0], rax
mov rax, qword [rbp - 0x118]
mov qword [rbp - 0xb8], rax
movsd xmm1, qword [rbp - 0xc0]
mulsd xmm1, xmm1
movsd xmm0, qword [rbp - 0xb8]
mulsd xmm0, xmm0
addsd xmm0, xmm1
sqrtsd xmm0, xmm0
movsd qword [rbp - 0xc8], xmm0
movsd xmm0, qword [0x10034c078]
comisd xmm0, xmmword [rbp - 0xc8]
jp 0x1001cba2c
je 0x1001cc52d
nop dword [rax]
lea rax, [rbp - 0xe4]
lea rdx, [rbp - 0xec]
movsd xmm0, qword [rbp - 0x108]
comisd xmm0, xmmword [rbp - 0xf8]
seta byte [rbp - 0x11c]
cmp byte [rbp - 0x11c], 0
je 0x1001cba5e
mov ecx, dword [rdx]
jmp 0x1001cba60
mov ecx, dword [rax]
cvtsi2sd xmm0, ecx
movsd qword [rbp - 0x118], xmm0
mov eax, dword [rbp - 0xe8]
mov dword [rbp - 0x124], eax
mov eax, dword [rbp - 0xf0]
mov dword [rbp - 0x128], eax
movsd xmm0, qword [rbp - 0x110]
comisd xmm0, xmmword [rbp - 0x100]
seta byte [rbp - 0x12c]
cmp byte [rbp - 0x12c], 0
je 0x1001cbaac
mov eax, dword [rbp - 0x128]
jmp 0x1001cbab2
mov eax, dword [rbp - 0x124]
cvtsi2sd xmm0, eax
movsd qword [rbp - 0x120], xmm0
mov rax, qword [rbp - 0x120]
mov qword [rbp - 0xa0], rax
mov rax, qword [rbp - 0x118]
mov qword [rbp - 0x98], rax
mov eax, dword [rbp - 0xec]
mov dword [rbp - 0x12c], eax
mov eax, dword [rbp - 0xe4]
mov dword [rbp - 0x128], eax
movsd xmm0, qword [rbp - 0x108]
comisd xmm0, xmmword [rbp - 0xf8]
seta byte [rbp - 0x124]
cmp byte [rbp - 0x124], 0
je 0x1001cbb1a
mov eax, dword [rbp - 0x128]
jmp 0x1001cbb20
mov eax, dword [rbp - 0x12c]
cvtsi2sd xmm0, eax
movsd qword [rbp - 0x118], xmm0
mov eax, dword [rbp - 0xf0]
mov dword [rbp - 0x12c], eax
mov eax, dword [rbp - 0xe8]
mov dword [rbp - 0x124], eax
movsd xmm0, qword [rbp - 0x110]
comisd xmm0, xmmword [rbp - 0x100]
seta byte [rbp - 0x128]
cmp byte [rbp - 0x128], 0
je 0x1001cbb6c
mov eax, dword [rbp - 0x124]
jmp 0x1001cbb72
mov eax, dword [rbp - 0x12c]
cvtsi2sd xmm0, eax
movsd qword [rbp - 0x120], xmm0
mov rax, qword [rbp - 0x120]
mov qword [rbp - 0xb0], rax
mov rax, qword [rbp - 0x118]
mov qword [rbp - 0xa8], rax
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x28]
call fcn.1000d3df0
mov rbx, rax
xor edx, edx
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0x150]
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x28]
call fcn.1000d3df0
mov rbx, rax
mov edx, 1
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0x148]
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x1001cbbea
mov rax, qword [rax - 8]
add rax, 1
mov qword [rbp - 0x118], rax
lea rdx, [0x10034e408]
lea r9, [rbp - 0x118]
lea rcx, [rbp - 0x30]
mov r8d, 1
call fcn.10000d670
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x5c]
cmp eax, 1
jb 0x1001cc12c
sub eax, 1
je 0x1001cbd54
sub eax, 1
je 0x1001cbc3c
sub eax, 1
je 0x1001cbe60
jmp 0x1001cc12c
mov rax, qword [rbp - 0x98]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0xa8]
mov qword [rbp - 0x80], rax
movsd xmm0, qword [rbp - 0x108]
comisd xmm0, xmmword [rbp - 0xf8]
seta byte [rbp - 0x12c]
cmp byte [rbp - 0x12c], 0
je 0x1001cbc7c
movsd xmm0, qword [0x10034c340]
jmp 0x1001cbc84
movsd xmm0, qword [0x10034c2e8]
movsd qword [rbp - 0x88], xmm0
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0xd0], rax
movsd xmm0, qword [rbp - 0x88]
cvtsd2si rax, xmm0
mov dword [rbp - 0xd4], eax
mov rcx, qword [rbp - 0x10]
call fcn.10000d510
test eax, eax
jl 0x1001cbd3c
mov dword [rbp - 0x34], 0xffffffff
nop word [rax + rax]
add dword [rbp - 0x34], 1
mov rdx, qword [rbp - 0x10]
movsxd rcx, dword [rbp - 0x34]
cvtsi2sd xmm0, dword [rdx + rcx*8 + 4]
movsd qword [rbp - 0x128], xmm0
mov rcx, qword [rbp - 0x10]
movsxd rdx, dword [rbp - 0x34]
cvtsi2sd xmm0, dword [rcx + rdx*8]
movsd qword [rbp - 0x138], xmm0
mov rdx, qword [rbp - 0x138]
mov qword [rbp - 0x120], rdx
mov rdx, qword [rbp - 0x128]
mov qword [rbp - 0x118], rdx
mov r8, qword [rbp - 0x30]
movsxd rdx, dword [rbp - 0x34]
shl rdx, 4
mov rcx, qword [rbp - 0x120]
mov qword [r8 + rdx], rcx
mov rcx, qword [rbp - 0x118]
mov qword [r8 + rdx + 8], rcx
cmp eax, dword [rbp - 0x34]
jg 0x1001cbcc8
nop
mov byte [rbp - 0x8c], 0
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0xd0], rax
jmp 0x1001cc12c
mov rax, qword [rbp - 0xa0]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0xb0]
mov qword [rbp - 0x80], rax
movsd xmm0, qword [rbp - 0x110]
comisd xmm0, xmmword [rbp - 0x100]
seta byte [rbp - 0x118]
cmp byte [rbp - 0x118], 0
je 0x1001cbd94
movsd xmm0, qword [0x10034c340]
jmp 0x1001cbd9c
movsd xmm0, qword [0x10034c2e8]
movsd qword [rbp - 0x88], xmm0
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0xd0], rax
movsd xmm0, qword [rbp - 0x88]
cvtsd2si rax, xmm0
mov dword [rbp - 0xd4], eax
mov rcx, qword [rbp - 0x10]
call fcn.10000d510
test eax, eax
jl 0x1001cbe54
mov dword [rbp - 0x34], 0xffffffff
nop word [rax + rax]
add dword [rbp - 0x34], 1
mov rdx, qword [rbp - 0x10]
movsxd rcx, dword [rbp - 0x34]
cvtsi2sd xmm0, dword [rdx + rcx*8 + 4]
movsd qword [rbp - 0x128], xmm0
mov rdx, qword [rbp - 0x10]
movsxd rcx, dword [rbp - 0x34]
cvtsi2sd xmm0, dword [rdx + rcx*8]
movsd qword [rbp - 0x120], xmm0
mov rdx, qword [rbp - 0x120]
mov qword [rbp - 0x138], rdx
mov rdx, qword [rbp - 0x128]
mov qword [rbp - 0x130], rdx
mov r8, qword [rbp - 0x30]
movsxd rdx, dword [rbp - 0x34]
shl rdx, 4
mov rcx, qword [rbp - 0x138]
mov qword [r8 + rdx], rcx
mov rcx, qword [rbp - 0x130]
mov qword [r8 + rdx + 8], rcx
cmp eax, dword [rbp - 0x34]
jg 0x1001cbde0
nop
mov byte [rbp - 0x8c], 1
jmp 0x1001cc12c
movsd xmm1, qword [rbp - 0xc0]
movsd xmm0, qword [rbp - 0xb8]
call fcn.10006b210
movsd qword [rbp - 0x58], xmm0
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x60]
movsd xmm0, qword [rbp - 0x58]
call fcn.10006b100
movsd xmm6, qword [rbp - 0x60]
andpd xmm6, xmmword [0x100240bd0]
movsd xmm0, qword [0x10034c7b8]
call fcn.100005a10
comisd xmm0, xmm6
setae byte [rbp - 0x8c]
cmp byte [rbp - 0x8c], 0
jne 0x1001cbeec
movsd xmm0, qword [0x10034c358]
subsd xmm0, qword [rbp - 0x58]
movsd xmm1, qword [0x10034c7c0]
xorpd xmm0, xmm1
movsd qword [rbp - 0x58], xmm0
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x60]
movsd xmm0, qword [rbp - 0x58]
call fcn.10006b100
nop
movsd xmm0, qword [rbp - 0xa0]
subsd xmm0, qword [rbp - 0x100]
mulsd xmm0, qword [rbp - 0xc0]
movsd xmm1, qword [rbp - 0x98]
subsd xmm1, qword [rbp - 0xf8]
mulsd xmm1, qword [rbp - 0xb8]
addsd xmm1, xmm0
divsd xmm1, qword [rbp - 0xc8]
movsd qword [rbp - 0x78], xmm1
movsd xmm0, qword [rbp - 0xb0]
subsd xmm0, qword [rbp - 0x100]
mulsd xmm0, qword [rbp - 0xc0]
movsd xmm1, qword [rbp - 0xa8]
subsd xmm1, qword [rbp - 0xf8]
mulsd xmm1, qword [rbp - 0xb8]
addsd xmm1, xmm0
divsd xmm1, qword [rbp - 0xc8]
movsd qword [rbp - 0x80], xmm1
mov rax, qword [0x10034c340]
mov qword [rbp - 0x88], rax
movsd xmm0, qword [rbp - 0x78]
movsd xmm1, qword [0x10034c7c8]
xorpd xmm0, xmm1
movsd qword [rbp - 0xd0], xmm0
mov dword [rbp - 0xd4], 1
movsd xmm0, qword [rbp - 0x78]
mulsd xmm0, qword [rbp - 0xb8]
divsd xmm0, qword [rbp - 0xc8]
addsd xmm0, qword [rbp - 0xf8]
movsd qword [rbp - 0x138], xmm0
movsd xmm0, qword [rbp - 0x78]
mulsd xmm0, qword [rbp - 0xc0]
divsd xmm0, qword [rbp - 0xc8]
addsd xmm0, qword [rbp - 0x100]
movsd qword [rbp - 0x130], xmm0
mov rax, qword [rbp - 0x130]
mov qword [rbp - 0xa0], rax
mov rax, qword [rbp - 0x138]
mov qword [rbp - 0x98], rax
mov rcx, qword [rbp - 0x10]
call fcn.10000d510
test eax, eax
jl 0x1001cc0f0
mov dword [rbp - 0x38], 0xffffffff
nop dword [rax]
add dword [rbp - 0x38], 1
mov rdx, qword [rbp - 0x10]
movsxd rcx, dword [rbp - 0x38]
cvtsi2sd xmm0, dword [rdx + rcx*8]
subsd xmm0, qword [rbp - 0xa0]
movsd qword [rbp - 0x48], xmm0
mov rdx, qword [rbp - 0x10]
movsxd rcx, dword [rbp - 0x38]
cvtsi2sd xmm0, dword [rdx + rcx*8 + 4]
subsd xmm0, qword [rbp - 0x98]
movsd qword [rbp - 0x50], xmm0
movsd xmm0, qword [rbp - 0x48]
movsd xmm1, qword [0x10034c7d0]
xorpd xmm0, xmm1
mulsd xmm0, qword [rbp - 0x60]
movsd xmm1, qword [rbp - 0x50]
mulsd xmm1, qword [rbp - 0x68]
addsd xmm1, xmm0
movsd qword [rbp - 0x128], xmm1
movsd xmm1, qword [rbp - 0x48]
mulsd xmm1, qword [rbp - 0x68]
movsd xmm0, qword [rbp - 0x50]
mulsd xmm0, qword [rbp - 0x60]
addsd xmm0, xmm1
movsd qword [rbp - 0x120], xmm0
mov rdx, qword [rbp - 0x120]
mov qword [rbp - 0x138], rdx
mov rdx, qword [rbp - 0x128]
mov qword [rbp - 0x130], rdx
mov r8, qword [rbp - 0x30]
movsxd rdx, dword [rbp - 0x38]
shl rdx, 4
mov rcx, qword [rbp - 0x138]
mov qword [r8 + rdx], rcx
mov rcx, qword [rbp - 0x130]
mov qword [r8 + rdx + 8], rcx
cmp eax, dword [rbp - 0x38]
jg 0x1001cc020
nop dword [rax]
movsd xmm0, qword [rbp - 0x80]
subsd xmm0, qword [rbp - 0x78]
movsd qword [rbp - 0x80], xmm0
mov rax, qword [0x10034c078]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x28]
call fcn.1000d3df0
mov rbx, rax
mov edx, 2
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0x148]
nop
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0x70], rax
jmp 0x1001cc4e0
mov al, byte [rbp - 0x8c]
mov byte [rsp + 0x20], al
mov r9, qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
movsd xmm1, qword [rbp - 0x70]
lea rcx, [rbp - 0x28]
call fcn.1001e3870
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x1001cc171
mov rax, qword [rax - 8]
add rax, 1
cmp rax, 2
jge 0x1001cc190
movsd xmm0, qword [rbp - 0x70]
addsd xmm0, qword [rbp - 0x88]
movsd qword [rbp - 0x70], xmm0
jmp 0x1001cc4e0
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x5c]
cmp eax, 1
jb 0x1001cc320
sub eax, 1
je 0x1001cc1f8
sub eax, 1
je 0x1001cc1b8
sub eax, 1
je 0x1001cc238
jmp 0x1001cc320
mov rcx, qword [rbp - 0x28]
call fcn.10000d510
test eax, eax
jl 0x1001cc320
mov dword [rbp - 0x38], 0xffffffff
add dword [rbp - 0x38], 1
mov r8, qword [rbp - 0x28]
movsxd rdx, dword [rbp - 0x38]
shl rdx, 4
mov rcx, qword [rbp - 0x70]
mov qword [r8 + rdx + 8], rcx
cmp eax, dword [rbp - 0x38]
jg 0x1001cc1d0
nop
jmp 0x1001cc320
mov rcx, qword [rbp - 0x28]
call fcn.10000d510
test eax, eax
jl 0x1001cc320
mov dword [rbp - 0x38], 0xffffffff
add dword [rbp - 0x38], 1
mov r8, qword [rbp - 0x28]
movsxd rdx, dword [rbp - 0x38]
shl rdx, 4
mov rcx, qword [rbp - 0x70]
mov qword [r8 + rdx], rcx
cmp eax, dword [rbp - 0x38]
jg 0x1001cc210
nop dword [rax]
jmp 0x1001cc320
mov rcx, qword [rbp - 0x28]
call fcn.10000d510
test eax, eax
jl 0x1001cc320
mov dword [rbp - 0x38], 0xffffffff
add dword [rbp - 0x38], 1
mov rcx, qword [rbp - 0x28]
movsxd rdx, dword [rbp - 0x38]
shl rdx, 4
movsd xmm1, qword [rcx + rdx]
mulsd xmm1, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x28]
movsxd rdx, dword [rbp - 0x38]
shl rdx, 4
movsd xmm0, qword [rcx + rdx + 8]
mulsd xmm0, qword [rbp - 0x68]
addsd xmm0, xmm1
addsd xmm0, qword [rbp - 0x98]
movsd qword [rbp - 0x128], xmm0
mov rcx, qword [rbp - 0x28]
movsxd rdx, dword [rbp - 0x38]
shl rdx, 4
movsd xmm0, qword [rcx + rdx]
mulsd xmm0, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x28]
movsxd rdx, dword [rbp - 0x38]
shl rdx, 4
movsd xmm1, qword [rcx + rdx + 8]
mulsd xmm1, qword [rbp - 0x60]
subsd xmm0, xmm1
addsd xmm0, qword [rbp - 0xa0]
movsd qword [rbp - 0x120], xmm0
mov rdx, qword [rbp - 0x120]
mov qword [rbp - 0x138], rdx
mov rdx, qword [rbp - 0x128]
mov qword [rbp - 0x130], rdx
mov r8, qword [rbp - 0x28]
movsxd rdx, dword [rbp - 0x38]
shl rdx, 4
mov rcx, qword [rbp - 0x138]
mov qword [r8 + rdx], rcx
mov rcx, qword [rbp - 0x130]
mov qword [r8 + rdx + 8], rcx
cmp eax, dword [rbp - 0x38]
jg 0x1001cc250
nop
movsd xmm1, qword [rbp - 0x70]
subsd xmm1, qword [rbp - 0xd0]
cvtsi2sd xmm0, dword [rbp - 0xd4]
mulsd xmm0, xmm1
divsd xmm0, qword [rbp - 0xc8]
movsd qword [rbp - 0x40], xmm0
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0xd0]
test rax, rax
je 0x1001cc35e
mov rax, qword [rax - 8]
add rax, 1
test rax, rax
jle 0x1001cc3a7
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x28]
call fcn.1000d3df0
mov rbx, rax
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax + 0xd0]
movsd xmm1, qword [rbp - 0x40]
call fcn.1001e1b30
mov qword [rbp - 0x138], rax
lea rdx, [rbp - 0x138]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0x120]
jmp 0x1001cc43f
mov r8, qword [rbp - 8]
lea rdx, [rbp - 0xe0]
mov rcx, qword [rbp - 0x20]
call fcn.1001ca060
mov rax, qword [rbp - 8]
cmp qword [rax + 0x70], 0
je 0x1001cc41c
mov rax, qword [rbp - 0xe0]
mov qword [rbp - 0x130], rax
mov qword [rbp - 0x138], 0xb
lea r8, [rbp - 0x138]
xor r9, r9
lea rdx, str.__s__Empty_Brush.Gradient_colors
lea rcx, [rbp - 0x140]
call fcn.10002dad0
mov rdx, qword [rbp - 0x140]
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x70]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x70]
mov rax, qword [rax]
call qword [rax + 0x148]
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x28]
call fcn.1000d3df0
mov rbx, rax
lea rdx, [0x100243e90]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0x120]
mov dword [rbp - 0x38], 0
jmp 0x1001cc4b8
mov rdx, qword [rbp - 0x28]
movsxd rax, dword [rbp - 0x38]
shl rax, 4
movsd xmm0, qword [rdx + rax + 0x18]
cvtsd2si rax, xmm0
mov dword [rsp + 0x20], eax
mov rdx, qword [rbp - 0x28]
movsxd rax, dword [rbp - 0x38]
shl rax, 4
movsd xmm0, qword [rdx + rax + 0x10]
cvtsd2si r9, xmm0
mov rdx, qword [rbp - 0x28]
movsxd rax, dword [rbp - 0x38]
shl rax, 4
movsd xmm0, qword [rdx + rax + 8]
cvtsd2si r8, xmm0
mov rdx, qword [rbp - 0x28]
movsxd rax, dword [rbp - 0x38]
shl rax, 4
movsd xmm0, qword [rdx + rax]
cvtsd2si rdx, xmm0
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x28]
call fcn.1000d4800
add dword [rbp - 0x38], 2
movsxd rbx, dword [rbp - 0x38]
mov rcx, qword [rbp - 0x28]
call fcn.10000d510
cmp rbx, rax
jl 0x1001cc448
movsd xmm0, qword [rbp - 0x70]
addsd xmm0, qword [rbp - 0x88]
movsd qword [rbp - 0x70], xmm0
movsd xmm0, qword [0x10034c078]
comisd xmm0, xmmword [rbp - 0x88]
jp 0x1001cc506
jae 0x1001cc506
movsd xmm0, qword [rbp - 0x70]
comisd xmm0, xmmword [rbp - 0x80]
jp 0x1001cc506
jbe 0x1001cc140
movsd xmm0, qword [0x10034c078]
comisd xmm0, xmmword [rbp - 0x88]
jp 0x1001cc52c
jbe 0x1001cc52c
movsd xmm0, qword [rbp - 0x70]
comisd xmm0, xmmword [rbp - 0x80]
jp 0x1001cc52c
jae 0x1001cc140
nop
mov rcx, rbp
call fcn.1001cb8b0
mov rbx, qword [rbp - 0x168]
movdqa xmm6, xmmword [rbp - 0x160]
lea rsp, [rbp]
pop rbp
ret