Function at 0x1001cb7b0
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 0x1001cb8dc
je 0x1001cc3dd
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 0x1001cb90e
mov ecx, dword [rdx]
jmp 0x1001cb910
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 0x1001cb95c
mov eax, dword [rbp - 0x128]
jmp 0x1001cb962
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 0x1001cb9ca
mov eax, dword [rbp - 0x128]
jmp 0x1001cb9d0
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 0x1001cba1c
mov eax, dword [rbp - 0x124]
jmp 0x1001cba22
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.1000d3dd0
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.1000d3dd0
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 0x1001cba9a
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 0x1001cbfdc
sub eax, 1
je 0x1001cbc04
sub eax, 1
je 0x1001cbaec
sub eax, 1
je 0x1001cbd10
jmp 0x1001cbfdc
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 0x1001cbb2c
movsd xmm0, qword [0x10034c340]
jmp 0x1001cbb34
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 0x1001cbbec
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 0x1001cbb78
nop
mov byte [rbp - 0x8c], 0
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0xd0], rax
jmp 0x1001cbfdc
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 0x1001cbc44
movsd xmm0, qword [0x10034c340]
jmp 0x1001cbc4c
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 0x1001cbd04
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 0x1001cbc90
nop
mov byte [rbp - 0x8c], 1
jmp 0x1001cbfdc
movsd xmm1, qword [rbp - 0xc0]
movsd xmm0, qword [rbp - 0xb8]
call fcn.10006b1e0
movsd qword [rbp - 0x58], xmm0
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x60]
movsd xmm0, qword [rbp - 0x58]
call fcn.10006b0d0
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 0x1001cbd9c
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.10006b0d0
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 0x1001cbfa0
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 0x1001cbed0
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.1000d3dd0
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 0x1001cc390
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.1001e3720
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x1001cc021
mov rax, qword [rax - 8]
add rax, 1
cmp rax, 2
jge 0x1001cc040
movsd xmm0, qword [rbp - 0x70]
addsd xmm0, qword [rbp - 0x88]
movsd qword [rbp - 0x70], xmm0
jmp 0x1001cc390
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x5c]
cmp eax, 1
jb 0x1001cc1d0
sub eax, 1
je 0x1001cc0a8
sub eax, 1
je 0x1001cc068
sub eax, 1
je 0x1001cc0e8
jmp 0x1001cc1d0
mov rcx, qword [rbp - 0x28]
call fcn.10000d510
test eax, eax
jl 0x1001cc1d0
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 0x1001cc080
nop
jmp 0x1001cc1d0
mov rcx, qword [rbp - 0x28]
call fcn.10000d510
test eax, eax
jl 0x1001cc1d0
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 0x1001cc0c0
nop dword [rax]
jmp 0x1001cc1d0
mov rcx, qword [rbp - 0x28]
call fcn.10000d510
test eax, eax
jl 0x1001cc1d0
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 0x1001cc100
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 0x1001cc20e
mov rax, qword [rax - 8]
add rax, 1
test rax, rax
jle 0x1001cc257
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x28]
call fcn.1000d3dd0
mov rbx, rax
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax + 0xd0]
movsd xmm1, qword [rbp - 0x40]
call fcn.1001e19e0
mov qword [rbp - 0x138], rax
lea rdx, [rbp - 0x138]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0x120]
jmp 0x1001cc2ef
mov r8, qword [rbp - 8]
lea rdx, [rbp - 0xe0]
mov rcx, qword [rbp - 0x20]
call fcn.1001c9f10
mov rax, qword [rbp - 8]
cmp qword [rax + 0x70], 0
je 0x1001cc2cc
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.1000d3dd0
mov rbx, rax
lea rdx, [0x100243e90]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0x120]
mov dword [rbp - 0x38], 0
jmp 0x1001cc368
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.1000d47e0
add dword [rbp - 0x38], 2
movsxd rbx, dword [rbp - 0x38]
mov rcx, qword [rbp - 0x28]
call fcn.10000d510
cmp rbx, rax
jl 0x1001cc2f8
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 0x1001cc3b6
jae 0x1001cc3b6
movsd xmm0, qword [rbp - 0x70]
comisd xmm0, xmmword [rbp - 0x80]
jp 0x1001cc3b6
jbe 0x1001cbff0
movsd xmm0, qword [0x10034c078]
comisd xmm0, xmmword [rbp - 0x88]
jp 0x1001cc3dc
jbe 0x1001cc3dc
movsd xmm0, qword [rbp - 0x70]
comisd xmm0, xmmword [rbp - 0x80]
jp 0x1001cc3dc
jae 0x1001cbff0
nop
mov rcx, rbp
call fcn.1001cb760
mov rbx, qword [rbp - 0x168]
movdqa xmm6, xmmword [rbp - 0x160]
lea rsp, [rbp]
pop rbp
ret