Function at 0x1802fc2e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xe8
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rbp - 0x19], rax
mov rax, qword [rbp + 0x7f]
mov rsi, rcx
mov rcx, qword [rcx]
mov r14, r9
mov qword [rsp + 0x28], rax
mov rdi, r8
mov qword [rsp + 0x30], r9
mov rbx, rdx
call fcn.1802e9580
mov dword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rbx
movzx r15d, al
mov rcx, rsi
mov byte [rsp + 0x23], 1
call fcn.1802e97e0
mov edi, eax
test eax, eax
jne 0x1802fc59c
mov qword [rsp + 0xd8], r13
mov r13d, dword [rbp + 0x77]
test r13d, r13d
je 0x1802fc575
mov qword [rsp + 0xe0], r12
mov r12d, dword [rbp + 0x6f]
nop
mov r8, qword [rbp + 0x67]
mov rdx, r14
mov rcx, rsi
call fcn.1802e9ae0
mov edi, eax
test eax, eax
jne 0x1802fc56d
lea r8d, [rax + 4]
mov rcx, rsi
lea rdx, [rsp + 0x20]
call fcn.1802e9ae0
mov edi, eax
test eax, eax
jne 0x1802fc56d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1802e9590
mov edi, eax
test eax, eax
jne 0x1802fc56d
mov rcx, rsi
call fcn.1802e9780
mov edi, eax
test eax, eax
jne 0x1802fc56d
mov r8, r15
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x59]
call fcn.1803bbf20
mov ebx, 1
cmp r12d, ebx
jbe 0x1802fc51c
nop dword [rax]
mov r8, r15
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.1802e9ae0
mov edi, eax
test eax, eax
jne 0x1802fc56d
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.1802e9590
mov edi, eax
test eax, eax
jne 0x1802fc56d
mov rcx, rsi
call fcn.1802e9780
mov edi, eax
test eax, eax
jne 0x1802fc56d
xor eax, eax
mov edx, r15d
test r15b, r15b
je 0x1802fc4ee
cmp r15d, 8
jb 0x1802fc4ee
cmp r15d, 0x40
jb 0x1802fc4c8
mov ecx, edx
mov r9d, 0xffffffc0
and rcx, r9
nop word [rax + rax]
movdqu xmm0, xmmword [rsp + rax + 0x40]
movdqu xmm1, xmmword [rbp + rax - 0x59]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x40], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x50]
movdqu xmm1, xmmword [rbp + rax - 0x49]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x50], xmm1
movdqu xmm0, xmmword [rbp + rax - 0x79]
movdqu xmm1, xmmword [rbp + rax - 0x39]
xorps xmm1, xmm0
movdqu xmmword [rbp + rax - 0x79], xmm1
movdqu xmm0, xmmword [rbp + rax - 0x69]
movdqu xmm1, xmmword [rbp + rax - 0x29]
xorps xmm1, xmm0
movdqu xmmword [rbp + rax - 0x69], xmm1
add rax, 0x40
cmp rax, rcx
jl 0x1802fc460
mov ecx, r15d
and cl, 0x3f
cmp cl, 8
jb 0x1802fc4ee
mov ecx, 0xfffffff8
and rdx, rcx
movq xmm0, qword [rsp + rax + 0x40]
movq xmm1, qword [rbp + rax - 0x59]
xorps xmm1, xmm0
movq qword [rsp + rax + 0x40], xmm1
add rax, 8
cmp rax, rdx
jl 0x1802fc4d0
cmp rax, r15
jge 0x1802fc511
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbp + rax - 0x59]
xor byte [rsp + rax + 0x40], cl
inc rax
cmp rax, r15
jl 0x1802fc500
inc ebx
cmp ebx, r12d
jb 0x1802fc3f0
mov r14, qword [rsp + 0x28]
lea rdx, [rsp + 0x40]
mov eax, r15d
cmp r13d, r15d
mov rcx, r14
cmovb eax, r13d
mov r8d, eax
mov ebx, eax
call fcn.1803bbf20
sub r13d, ebx
mov edx, 4
add r14, rbx
mov qword [rsp + 0x28], r14
nop dword [rax]
lea eax, [rdx - 1]
add byte [rsp + rax + 0x20], 1
jne 0x1802fc55f
add edx, 0xffffffff
jne 0x1802fc550
mov r14, qword [rsp + 0x30]
test r13d, r13d
jne 0x1802fc370
mov r12, qword [rsp + 0xe0]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.1802e9240
mov edx, 0x40
lea rcx, [rbp - 0x59]
call fcn.1802e9240
mov r13, qword [rsp + 0xd8]
mov eax, edi
mov rcx, qword [rbp - 0x19]
xor rcx, rsp
call fcn.180313c00
add rsp, 0xe8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret