Function at 0x180001850
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov dword [rcx + 0x3d0], 0x10
lea rdx, str.Iz_y81Bf0x8i9oT1
mov dword [rcx + 0x3cc], 0x10
mov rbx, rcx
movups xmm0, xmmword [str.Iz_y81Bf0x8i9oT1]
movups xmmword [rcx + 0x3d8], xmm0
movsxd r8, dword [rcx + 0x3d0]
add rcx, 0x3f8
call fcn.1800045e0
mov eax, dword [rbx + 0x3cc]
cmp eax, 0x10
je 0x1800018d1
cmp eax, 0x18
mov eax, 0xe
jne 0x1800018f1
cmp dword [rbx + 0x3d0], 0x20
mov ecx, 0xc
cmovne eax, ecx
jmp 0x1800018f1
mov edx, dword [rbx + 0x3d0]
cmp edx, 0x10
jne 0x1800018e1
lea eax, [rdx - 6]
jmp 0x1800018f1
cmp edx, 0x18
mov eax, 0xe
mov ecx, 0xc
cmove eax, ecx
mov dword [rbx + 0x3d4], eax
mov eax, dword [rbx + 0x3d0]
cdq
and edx, 3
add eax, edx
xor edx, edx
sar eax, 2
movsxd r14, eax
mov rbp, r14
cmp dword [rbx + 0x3d4], edx
jl 0x18000193d
lea r8, [rbx + 0xc]
nop word [rax + rax]
test r14d, r14d
jle 0x18000192f
mov rdi, r8
xor eax, eax
mov rcx, r14
rep stosd dword [rdi], eax
inc edx
add r8, 0x20
cmp edx, dword [rbx + 0x3d4]
jle 0x180001920
xor edx, edx
cmp dword [rbx + 0x3d4], edx
jl 0x18000196d
lea r8, [rbx + 0x1ec]
nop
test r14d, r14d
jle 0x18000195f
mov rdi, r8
xor eax, eax
mov rcx, r14
rep stosd dword [rdi], eax
inc edx
add r8, 0x20
cmp edx, dword [rbx + 0x3d4]
jle 0x180001950
mov eax, dword [rbx + 0x3cc]
lea rdi, [rbx + 0x418]
mov esi, dword [rbx + 0x3d4]
cdq
and edx, 3
inc esi
add eax, edx
imul esi, r14d
sar eax, 2
lea rdx, str._Q99Z0nJX0V8e5q
movsxd r12, eax
test eax, eax
jle 0x1800019d1
mov r8d, r12d
movzx ecx, byte [rdx]
lea rdx, [rdx + 4]
shl ecx, 0x18
mov dword [rdi], ecx
lea rdi, [rdi + 4]
movzx eax, byte [rdx - 3]
shl eax, 0x10
or dword [rdi - 4], eax
movzx eax, byte [rdx - 2]
shl eax, 8
or dword [rdi - 4], eax
movzx eax, byte [rdx - 1]
or dword [rdi - 4], eax
sub r8, 1
jne 0x1800019a0
xor r9d, r9d
lea r13, [0x180000000]
xor r10d, r10d
test r12d, r12d
jle 0x180001a39
lea r8, [rbx + 0x418]
nop word [rax + rax]
cmp r9d, esi
jge 0x180001bf8
mov eax, r9d
inc r10
cdq
inc r9d
idiv r14d
movsxd rcx, eax
movsxd rdi, edx
lea rdx, [rdi + rcx*8]
mov ecx, dword [r8]
mov dword [rbx + rdx*4 + 0xc], ecx
mov ecx, dword [rbx + 0x3d4]
sub ecx, eax
movsxd rax, ecx
lea rcx, [rdi + rax*8]
mov eax, dword [r8]
add r8, 4
mov dword [rbx + rcx*4 + 0x1ec], eax
cmp r10, r12
jl 0x1800019f0
cmp r9d, esi
jge 0x180001bf8
lea r13, [0x18001f950]
lea rbp, [0x180000000]
mov edi, dword [rbx + r12*4 + 0x414]
lea r13, [r13 + 1]
movsxd rdx, edi
mov rax, rdx
sar rax, 0x10
movzx ecx, al
movsx eax, byte [r13 - 1]
movsx r8d, byte [rcx + rbp + 0x1e3d0]
xor r8d, eax
mov rax, rdx
sar rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rbp + 0x1e3d0]
xor r8d, eax
movzx eax, dl
shl r8d, 8
movzx eax, byte [rax + rbp + 0x1e3d0]
xor r8d, eax
mov eax, edi
shr rax, 0x18
shl r8d, 8
movzx eax, byte [rax + rbp + 0x1e3d0]
xor r8d, eax
xor dword [rbx + 0x418], r8d
cmp r12d, 8
je 0x180001af4
cmp r12, 1
jle 0x180001b8f
lea rcx, [rbx + 0x41c]
lea rdx, [r12 - 1]
nop dword [rax]
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180001ae0
jmp 0x180001b8f
lea rcx, [rbx + 0x41c]
mov edx, 3
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180001b00
mov eax, dword [rbx + 0x424]
mov ecx, eax
movsxd rdx, eax
shr rcx, 0x18
mov rax, rdx
sar rax, 0x10
movsx edi, byte [rcx + rbp + 0x1e3d0]
movzx ecx, al
shl edi, 8
movzx eax, byte [rcx + rbp + 0x1e3d0]
xor edi, eax
mov rax, rdx
sar rax, 8
shl edi, 8
movzx ecx, al
movzx eax, byte [rcx + rbp + 0x1e3d0]
xor edi, eax
movzx eax, dl
shl edi, 8
movzx eax, byte [rax + rbp + 0x1e3d0]
xor edi, eax
xor dword [rbx + 0x428], edi
cmp r12, 5
jle 0x180001b8f
lea rax, [rbx + 0x42c]
lea rdx, [r12 - 5]
nop dword [rax]
mov ecx, dword [rax - 4]
xor dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x180001b80
xor r10d, r10d
test r12d, r12d
jle 0x180001be5
lea r8, [rbx + 0x418]
nop
cmp r9d, esi
jge 0x180001bee
mov eax, r9d
inc r10
cdq
inc r9d
idiv r14d
movsxd rcx, eax
movsxd rdi, edx
lea rdx, [rdi + rcx*8]
mov ecx, dword [r8]
mov dword [rbx + rdx*4 + 0xc], ecx
mov ecx, dword [rbx + 0x3d4]
sub ecx, eax
movsxd rax, ecx
lea rcx, [rdi + rax*8]
mov eax, dword [r8]
add r8, 4
mov dword [rbx + rcx*4 + 0x1ec], eax
cmp r10, r12
jl 0x180001ba0
cmp r9d, esi
jl 0x180001a50
mov rbp, r14
lea r13, [0x180000000]
mov r10d, 1
cmp dword [rbx + 0x3d4], r10d
jle 0x180001c88
lea r11, [rbx + 0x20c]
test rbp, rbp
jle 0x180001c72
mov r8, r11
mov r9, rbp
nop dword [rax]
mov eax, dword [r8]
lea r8, [r8 + 4]
mov edx, eax
movsxd rdi, eax
shr rdx, 0x18
mov rax, rdi
sar rax, 0x10
movzx ecx, al
mov rax, rdi
sar rax, 8
mov edx, dword [r13 + rdx*4 + 0x1fd70]
xor edx, dword [r13 + rcx*4 + 0x1e4d0]
movzx ecx, al
movzx eax, dil
xor edx, dword [r13 + rcx*4 + 0x1ecf0]
xor edx, dword [r13 + rax*4 + 0x1f970]
mov dword [r8 - 4], edx
sub r9, 1
jne 0x180001c20
inc r10d
add r11, 0x20
cmp r10d, dword [rbx + 0x3d4]
jl 0x180001c12
mov byte [rbx + 8], 1
jmp 0x180001c8c
mov byte [rbx + 8], r10b
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret