Function at 0x140089530
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
mov rax, r9
mov r9, r8
mov rdi, rdx
mov rbx, rcx
mov r8, qword [rsp + 0x2b0]
mov rcx, qword [0x1403acd78]
xor rcx, rsp
mov qword [rsp + 0x240], rcx
mov r14d, dword [r9 + 4]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x170], 0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], 0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.14007a780
xor esi, esi
test eax, eax
je 0x140089b3b
lea r13, [rsp + 0x58]
lea r15, [rsp + 0x138]
mov rcx, r15
mov rdx, r13
call fcn.14006c990
test eax, eax
je 0x140089b3b
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x158]
call fcn.14006c990
test eax, eax
je 0x140089b3b
lea rdx, [rsp + 0x38]
lea rbp, [rsp + 0x118]
mov rcx, rbp
call fcn.14006c990
test eax, eax
je 0x140089b3b
mov qword [rsp + 0x28], r14
mov r14, qword [rsp + 0x2d8]
mov rsi, qword [rsp + 0x2d0]
mov r12, qword [rsp + 0x2c8]
mov r8, qword [rsp + 0x2c0]
mov rdx, qword [rsp + 0x2b8]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x118]
mov rcx, rbp
call qword [rax + 0x18]
mov rax, qword [rsp + 0x118]
mov rcx, rbp
mov rdx, r12
mov r8, rsi
call qword [rax + 0x18]
mov rax, qword [rsp + 0x118]
mov rcx, rbp
mov rdx, r14
mov r8, qword [rsp + 0x2e0]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x118]
lea rdx, [rsp + 0x200]
mov rcx, rbp
call qword [rax + 0x20]
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x120]
mov r12d, dword [rax + 4]
mov edx, dword [rax + 0x2c]
call fcn.14009ead0
mov rcx, rbp
lea rdx, [rsp + 0x158]
call fcn.14006c990
test eax, eax
je 0x140089b39
mov rax, qword [rsp + 0x118]
lea rdx, [rsp + 0x200]
mov rcx, rbp
mov r8, r12
call qword [rax + 0x18]
mov rax, qword [rsp + 0x118]
lea rdx, [rsp + 0x1c0]
mov rcx, rbp
call qword [rax + 0x20]
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x120]
mov r12d, dword [rax + 4]
mov edx, dword [rax + 0x2c]
call fcn.14009ead0
mov rcx, r15
mov rdx, r13
call fcn.14006c990
test eax, eax
je 0x140089b39
lea r15, [rsp + 0xa8]
lea rcx, [rsp + 0x158]
lea rdx, [rsp + 0x78]
call fcn.14006c990
test eax, eax
je 0x140089b39
mov rcx, rbp
lea rdx, [rsp + 0x38]
call fcn.14006c990
test eax, eax
je 0x140089b39
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x110], rax
mov r8d, r12d
mov rax, qword [rsp + 0x118]
mov rcx, rbp
lea rdx, [rsp + 0x1c0]
call qword [rax + 0x18]
cmp rdi, qword [rsp + 0x28]
jbe 0x140089861
lea rcx, [rsp + 0xc8]
lea rdx, [rsp + 0x138]
call fcn.14006c990
test eax, eax
je 0x140089b39
lea rcx, [rsp + 0xe8]
lea rdx, [rsp + 0x158]
call fcn.14006c990
test eax, eax
je 0x140089b39
mov rcx, r15
mov rdx, rbp
call fcn.14006c990
test eax, eax
je 0x140089b39
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x118]
mov rcx, rbp
mov rdx, qword [rsp + 0x2b8]
mov r8, qword [rsp + 0x2c0]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x118]
mov rcx, rbp
mov rdx, qword [rsp + 0x2c8]
mov r8, qword [rsp + 0x2d0]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x118]
mov rcx, rbp
mov rdx, qword [rsp + 0x2d8]
mov r8, qword [rsp + 0x2e0]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x118]
mov rcx, rbp
lea rsi, [rsp + 0x200]
mov rdx, rsi
call qword [rax + 0x20]
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x120]
mov r12d, dword [rax + 4]
mov edx, dword [rax + 0x2c]
call fcn.14009ead0
mov rcx, rbp
lea rdx, [rsp + 0x158]
call fcn.14006c990
test eax, eax
je 0x140089b39
mov rdx, rsi
mov rsi, r13
mov rax, qword [rsp + 0x118]
mov rcx, rbp
mov r8, r12
call qword [rax + 0x18]
mov rax, qword [rsp + 0x118]
mov rcx, rbp
lea rdx, [rsp + 0x180]
call qword [rax + 0x20]
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x120]
mov r12d, dword [rax + 4]
mov edx, dword [rax + 0x2c]
call fcn.14009ead0
cmp rdi, r12
mov eax, edi
cmovae eax, r12d
test eax, eax
je 0x14008996d
mov r13d, eax
cmp eax, 8
jae 0x140089975
xor eax, eax
jmp 0x140089a70
xor r13d, r13d
jmp 0x140089a83
cmp eax, 0x20
jae 0x140089981
xor eax, eax
jmp 0x140089a38
lea rax, [r13 - 0x20]
mov rcx, rax
shr rcx, 5
inc rcx
cmp rax, 0x20
jae 0x140089999
xor edx, edx
jmp 0x140089a00
mov rax, rcx
and rax, 0xfffffffffffffffe
xor edx, edx
nop word cs:[rax + rax]
movups xmm0, xmmword [rbx + rdx]
movups xmm1, xmmword [rbx + rdx + 0x10]
movups xmm2, xmmword [rbx + rdx + 0x20]
movups xmm3, xmmword [rbx + rdx + 0x30]
xorps xmm0, xmmword [rsp + rdx + 0x180]
xorps xmm1, xmmword [rsp + rdx + 0x190]
movups xmmword [rbx + rdx], xmm0
movups xmmword [rbx + rdx + 0x10], xmm1
xorps xmm2, xmmword [rsp + rdx + 0x1a0]
xorps xmm3, xmmword [rsp + rdx + 0x1b0]
movups xmmword [rbx + rdx + 0x20], xmm2
movups xmmword [rbx + rdx + 0x30], xmm3
add rdx, 0x40
add rax, 0xfffffffffffffffe
jne 0x1400899b0
mov eax, r13d
and eax, 0xffffffe0
test cl, 1
je 0x140089a2d
movups xmm0, xmmword [rbx + rdx]
movups xmm1, xmmword [rbx + rdx + 0x10]
xorps xmm0, xmmword [rsp + rdx + 0x180]
xorps xmm1, xmmword [rsp + rdx + 0x190]
movups xmmword [rbx + rdx], xmm0
movups xmmword [rbx + rdx + 0x10], xmm1
cmp rax, r13
je 0x140089a83
test r13b, 0x18
je 0x140089a70
mov rcx, rax
mov eax, r13d
and eax, 0xfffffff8
nop word cs:[rax + rax]
mov rdx, qword [rsp + rcx + 0x180]
xor qword [rbx + rcx], rdx
add rcx, 8
cmp rax, rcx
jne 0x140089a50
cmp rax, r13
je 0x140089a83
nop word [rax + rax]
movzx ecx, byte [rsp + rax + 0x180]
xor byte [rbx + rax], cl
inc rax
cmp r13, rax
jne 0x140089a70
sub rdi, r13
je 0x140089b97
mov rax, qword [rsp + 0xa8]
mov rcx, r15
lea r14, [rsp + 0x200]
mov rdx, r14
call qword [rax + 0x20]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
mov r12d, dword [rax + 4]
mov edx, dword [rax + 0x2c]
call fcn.14009ead0
mov rcx, r15
lea rdx, [rsp + 0xe8]
call fcn.14006c990
test eax, eax
je 0x140089b39
add rbx, r13
mov rax, qword [rsp + 0xa8]
mov rcx, r15
mov rdx, r14
mov r8, r12
call qword [rax + 0x18]
mov rax, qword [rsp + 0xa8]
mov rcx, r15
lea rdx, [rsp + 0x1c0]
call qword [rax + 0x20]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
mov r12d, dword [rax + 4]
mov edx, dword [rax + 0x2c]
call fcn.14009ead0
lea rcx, [rsp + 0x138]
mov r13, rsi
mov rdx, rsi
call fcn.14006c990
test eax, eax
jne 0x1400897a8
xor esi, esi
lea rcx, [rsp + 0x1c0]
mov edx, 0x40
call fcn.14009ead0
lea rcx, [rsp + 0x110]
call fcn.14007ab60
lea rcx, [rsp + 0xa0]
call fcn.14007ab60
lea rcx, [rsp + 0x30]
call fcn.14007ab60
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140279500
mov eax, esi
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 1
jmp 0x140089b3b