Function at 0x18019f440
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1e0]
mov eax, 0x2e0
call fcn.1801384e0
sub rsp, rax
mov rax, qword [0x18033f448]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, qword [rbp + 0x248]
mov rsi, rcx
mov rbx, qword [rbp + 0x258]
mov rcx, r14
mov dword [rsp + 0x34], r9d
mov edi, edx
mov qword [rsp + 0x38], r8
mov r12d, 1
call fcn.18015d8b0
movsxd r15, eax
test eax, eax
jns 0x18019f4aa
xor eax, eax
jmp 0x18019f7c1
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x2d8], r13
call fcn.1801a6ab0
mov r13d, dword [rbp + 0x250]
test rsi, rsi
jne 0x18019f4cb
xor edi, edi
jmp 0x18019f4f6
cmp edi, 0xffffffff
jne 0x18019f4f6
xor edi, edi
mov rax, rsi
cmp byte [rsi], dil
je 0x18019f4f2
nop word [rax + rax]
cmp edi, 0x80000000
jae 0x18019f4f2
inc rax
inc edi
cmp byte [rax], 0
jne 0x18019f4e0
btr edi, 0x1f
mov r9, r14
mov qword [rsp + 0x20], 0
mov r8d, edi
lea rcx, [rbp + 0x60]
mov rdx, rsi
call fcn.1801a6b30
test eax, eax
je 0x18019f7ae
test r13d, r13d
je 0x18019f78e
nop dword [rax]
nop word [rax + rax]
mov eax, r12d
mov byte [rsp + 0x33], r12b
cmp r13d, r15d
lea rdx, [rbp + 0x60]
mov edi, r13d
lea rcx, [rsp + 0x40]
cmovg edi, r15d
shr eax, 0x18
mov byte [rsp + 0x30], al
mov eax, r12d
shr eax, 0x10
mov byte [rsp + 0x31], al
mov eax, r12d
shr eax, 8
mov byte [rsp + 0x32], al
call fcn.1801a74d0
test eax, eax
je 0x18019f7ae
movsxd r8, dword [rsp + 0x34]
lea rcx, [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
call fcn.1801a73f0
test eax, eax
je 0x18019f79e
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1801a73f0
test eax, eax
je 0x18019f79e
xor r8d, r8d
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x40]
call fcn.1801a7420
test eax, eax
je 0x18019f79e
lea rcx, [rsp + 0x40]
call fcn.1801a6af0
movsxd r14, edi
lea rdx, [rbp + 0x180]
mov r8, r14
mov rcx, rbx
call fcn.1801b44f0
mov esi, 1
cmp dword [rbp + 0x240], esi
jle 0x18019f77f
nop dword [rax + rax]
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1801a74d0
test eax, eax
je 0x18019f7ae
mov r8, r15
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x40]
call fcn.1801a73f0
test eax, eax
je 0x18019f79e
xor r8d, r8d
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x40]
call fcn.1801a7420
test eax, eax
je 0x18019f79e
lea rcx, [rsp + 0x40]
call fcn.1801a6af0
xor r9d, r9d
test edi, edi
jle 0x18019f73d
cmp edi, 0x40
jb 0x18019f73d
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rbp + 0x180]
add rax, rcx
lea rdx, [rcx + rbx]
cmp rbx, rax
ja 0x18019f695
lea rax, [rbp + 0x180]
cmp rdx, rax
jae 0x18019f73d
mov ecx, edi
and ecx, 0x8000003f
jge 0x18019f6a6
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
lea rdx, [rbp + 0x190]
sub eax, ecx
lea r8, [rbp + 0x1a0]
lea rcx, [rbp + 0x180]
movsxd r11, eax
sub rcx, rbx
lea r10, [rbp + 0x1b0]
sub rdx, rbx
sub r8, rbx
sub r10, rbx
mov rax, rbx
nop dword [rax + rax]
movdqu xmm0, xmmword [rax]
add r9, 0x40
movdqu xmm1, xmmword [rcx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rdx + rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r8 + rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r10 + rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
cmp r9, r11
jl 0x18019f6e0
cmp r9, r14
jge 0x18019f771
lea r8, [rbp + 0x180]
mov rdx, r14
sub r8, rbx
lea rax, [r9 + rbx]
sub rdx, r9
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x18019f760
inc esi
cmp esi, dword [rbp + 0x240]
jl 0x18019f600
inc r12d
add rbx, r14
sub r13d, edi
jne 0x18019f530
lea rcx, [rbp + 0x60]
call fcn.1801a6af0
mov eax, 1
jmp 0x18019f7b9
lea rcx, [rbp + 0x60]
call fcn.1801a6af0
lea rcx, [rsp + 0x40]
jmp 0x18019f7b2
lea rcx, [rbp + 0x60]
call fcn.1801a6af0
xor eax, eax
mov r13, qword [rsp + 0x2d8]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18013f0f0
add rsp, 0x2e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret