Function at 0x1337c0fa85a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x60]
mov eax, 0x160
call fcn.1337c0fd65a0
sub rsp, rax
mov rax, qword [0x1337c1216ac0]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0xd0]
xor r13d, r13d
mov rsi, qword [rbp + 0xc0]
mov rdi, r8
mov r12, qword [rbp + 0xe8]
mov r15, r9
shr rdi, 3
mov rbx, rdx
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0xe0]
mov qword [rbp - 0x48], rax
lea eax, [rdi - 0x14]
mov qword [rbp - 0x58], rcx
mov rcx, qword [rbp + 0xd8]
mov qword [rsp + 0x40], r9
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x3c], r13d
mov dword [rsp + 0x38], r13d
mov qword [rbp - 0x68], 2
test eax, 0xfffffff3
jne 0x1337c0fa8e33
cmp edi, 0x18
je 0x1337c0fa8e33
mov qword [rsp + 0x158], r14
test r9, r9
jne 0x1337c0fa8689
cmp edi, 0x14
jne 0x1337c0fa8666
call fcn.1337c0f35730
mov r15, rax
mov qword [rsp + 0x40], rax
jmp 0x1337c0fa8693
cmp edi, 0x1c
jne 0x1337c0fa867a
call fcn.1337c0f35740
mov r15, rax
mov qword [rsp + 0x40], rax
jmp 0x1337c0fa8693
call fcn.1337c0f35750
mov r15, rax
mov qword [rsp + 0x40], rax
jmp 0x1337c0fa8693
mov rcx, r9
call fcn.1337c0f43830
mov edi, eax
mov eax, 0x200
movsxd r14, edi
cmp rbx, rax
cmovae rax, rbx
add rax, 0x3f
and rax, 0xffffffffffffffc0
mov qword [rbp - 0x78], rax
test rsi, rsi
je 0x1337c0fa870f
mov r8, qword [rbp + 0xc8]
cmp r8, r14
jae 0x1337c0fa86ff
xor r9d, r9d
mov dword [rsp + 0x20], r13d
lea edx, [r9 + 0x7d]
lea ecx, [rdx - 0x73]
lea r8d, [r9 + 0x6e]
call fcn.1337c0f34d50
xor eax, eax
mov r14, qword [rsp + 0x158]
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1337c0fd6680
add rsp, 0x160
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmova r8, r14
lea rcx, [rbp + 0x28]
mov rdx, rsi
call fcn.1337c1004b50
call fcn.1337c0f96af0
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1337c0fa8e2e
call fcn.1337c0f92e60
mov qword [rsp + 0x30], rax
mov r13, rax
test rax, rax
je 0x1337c0fa8d41
mov rcx, rax
call fcn.1337c0f92f30
mov rcx, r13
call fcn.1337c0f92cc0
mov rcx, r13
mov rsi, rax
call fcn.1337c0f92cc0
mov rcx, r13
mov qword [rsp + 0x70], rax
call fcn.1337c0f92cc0
mov rcx, r13
mov qword [rbp - 0x70], rax
call fcn.1337c0f92cc0
mov rcx, r13
mov qword [rsp + 0x48], rax
call fcn.1337c0f92cc0
mov rcx, r13
mov qword [rsp + 0x50], rax
call fcn.1337c0f92cc0
mov rcx, r13
mov qword [rbp - 0x60], rax
call fcn.1337c0f92cc0
mov rcx, r13
mov qword [rsp + 0x60], rax
call fcn.1337c0f92cc0
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1337c0fa8d41
mov rbx, qword [rbp - 0x78]
call fcn.1337c0f51c30
mov rcx, qword [rsp + 0x68]
lea r8d, [rbx - 1]
mov rdx, rax
call fcn.1337c0f5dfa0
test eax, eax
je 0x1337c0fa8d41
nop
mov r8d, dword [rsp + 0x38]
xor ebx, ebx
cmp qword [rbp - 0x80], rbx
mov rcx, r12
sete bl
xor edx, edx
call fcn.1337c0f9d5e0
inc dword [rsp + 0x38]
test eax, eax
je 0x1337c0fa8d41
cmp qword [rbp - 0x80], 0
jne 0x1337c0fa8810
mov edx, edi
lea rcx, [rbp + 0x28]
call fcn.1337c0f470e0
test eax, eax
jle 0x1337c0fa8d41
jmp 0x1337c0fa8818
mov qword [rbp - 0x80], 0
mov r8, r14
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 8]
call fcn.1337c1004b50
mov r8, r14
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x18]
call fcn.1337c1004b50
lea rax, [r14 - 1]
test rax, rax
js 0x1337c0fa884e
add byte [rbp + rax + 8], 1
jne 0x1337c0fa884e
sub rax, 1
jns 0x1337c0fa8841
mov qword [rsp + 0x28], 0
lea r8, [rbp - 0x38]
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov rdx, r14
lea rcx, [rbp + 0x28]
call fcn.1337c0f37ff0
test eax, eax
je 0x1337c0fa8d41
mov qword [rsp + 0x28], 0
lea r8, [rbp - 0x18]
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov rdx, r14
lea rcx, [rbp + 8]
call fcn.1337c0f37ff0
test eax, eax
je 0x1337c0fa8d41
xor ecx, ecx
test edi, edi
jle 0x1337c0fa897e
cmp edi, 8
jb 0x1337c0fa897e
cmp edi, 0x40
jb 0x1337c0fa8945
mov edx, edi
and edx, 0x8000003f
jge 0x1337c0fa88cd
dec edx
or edx, 0xffffffc0
inc edx
mov eax, edi
sub eax, edx
movsxd rdx, eax
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rcx - 0x38]
movdqu xmm1, xmmword [rbp + rcx - 0x18]
xorps xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x38], xmm1
movdqu xmm0, xmmword [rbp + rcx - 0x28]
movdqu xmm1, xmmword [rbp + rcx - 8]
xorps xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x28], xmm1
movdqu xmm0, xmmword [rbp + rcx - 0x18]
movdqu xmm1, xmmword [rbp + rcx + 8]
xorps xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x18], xmm1
movdqu xmm0, xmmword [rbp + rcx - 8]
movdqu xmm1, xmmword [rbp + rcx + 0x18]
xorps xmm1, xmm0
movdqu xmmword [rbp + rcx - 8], xmm1
add rcx, 0x40
cmp rcx, rdx
jl 0x1337c0fa88e0
mov eax, edi
and al, 0x3f
cmp al, 8
jb 0x1337c0fa897e
mov edx, edi
and edx, 0x80000007
jge 0x1337c0fa8956
dec edx
or edx, 0xfffffff8
inc edx
mov eax, edi
sub eax, edx
movsxd rdx, eax
nop dword [rax]
movq xmm0, qword [rbp + rcx - 0x38]
movq xmm1, qword [rbp + rcx - 0x18]
xorps xmm1, xmm0
movq qword [rbp + rcx - 0x38], xmm1
add rcx, 8
cmp rcx, rdx
jl 0x1337c0fa8960
cmp rcx, r14
jge 0x1337c0fa89a1
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rcx - 0x18]
xor byte [rbp + rcx - 0x38], al
inc rcx
cmp rcx, r14
jl 0x1337c0fa8990
or byte [rbp - 0x38], 0x80
lea rcx, [rbp - 0x38]
mov r8, qword [rsp + 0x48]
mov edx, edi
or byte [rbp + r14 - 0x39], 1
call fcn.1337c0f50e50
test rax, rax
je 0x1337c0fa8d41
mov rcx, qword [rsp + 0x48]
mov r9d, ebx
mov r8, r13
mov qword [rsp + 0x20], r12
mov edx, 0x40
call fcn.1337c0f9db60
test eax, eax
jg 0x1337c0fa89ed
je 0x1337c0fa87d0
jmp 0x1337c0fa8d41
xor r8d, r8d
mov rcx, r12
lea edx, [r8 + 2]
call fcn.1337c0f9d5e0
test eax, eax
je 0x1337c0fa8d41
xor r8d, r8d
mov rcx, r12
lea edx, [r8 + 3]
call fcn.1337c0f9d5e0
test eax, eax
je 0x1337c0fa8d41
mov rcx, qword [rbp - 0x78]
lea r15, [r14 - 1]
mov rbx, qword [rbp - 0x70]
dec rcx
movabs rax, 0xcccccccccccccccd
xor r13d, r13d
mul rcx
mov r12, rdx
shr r12, 7
test r13d, r13d
je 0x1337c0fa8a5d
mov rcx, qword [rsp + 0x58]
mov r8d, r13d
xor edx, edx
call fcn.1337c0f9d5e0
test eax, eax
je 0x1337c0fa8e24
xor edx, edx
mov rcx, rbx
call fcn.1337c0f51b40
xor ebx, ebx
test r12d, r12d
js 0x1337c0fa8b13
mov rax, r15
test r15, r15
js 0x1337c0fa8a8d
nop word [rax + rax]
add byte [rbp + rax + 8], 1
jne 0x1337c0fa8a8d
sub rax, 1
jns 0x1337c0fa8a80
mov rax, qword [rsp + 0x40]
lea r8, [rbp - 0x38]
mov qword [rsp + 0x28], 0
lea rcx, [rbp + 8]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov rdx, r14
call fcn.1337c0f37ff0
test eax, eax
je 0x1337c0fa8e24
mov r8, rsi
lea rcx, [rbp - 0x38]
mov edx, edi
call fcn.1337c0f50e50
test rax, rax
je 0x1337c0fa8e24
lea r8d, [rdi*8]
mov rdx, rsi
imul r8d, ebx
mov rcx, rsi
call fcn.1337c0f5dfa0
test eax, eax
je 0x1337c0fa8e24
mov rdx, qword [rbp - 0x70]
mov r8, rsi
mov rcx, rdx
call fcn.1337c0f94230
test eax, eax
je 0x1337c0fa8e24
inc ebx
cmp ebx, r12d
jle 0x1337c0fa8a72
mov rdx, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x70]
dec edx
mov rcx, rbx
call fcn.1337c0f51700
test eax, eax
je 0x1337c0fa8e24
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1337c0f51410
test rax, rax
je 0x1337c0fa8e24
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x68]
mov rcx, rdx
call fcn.1337c0f94230
test eax, eax
je 0x1337c0fa8e24
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call fcn.1337c0f5e130
test eax, eax
je 0x1337c0fa8e24
mov rax, qword [rsp + 0x30]
mov r9, rsi
mov r8, qword [rsp + 0x50]
xor ecx, ecx
mov rdx, qword [rbp - 0x60]
mov qword [rsp + 0x20], rax
call fcn.1337c0f94550
test eax, eax
je 0x1337c0fa8e24
call fcn.1337c0f51c30
mov rdx, qword [rbp - 0x60]
mov r8, rax
mov rcx, rsi
call fcn.1337c0f942d0
test eax, eax
je 0x1337c0fa8e24
mov rdx, qword [rsp + 0x50]
mov r8, rsi
mov rcx, qword [rsp + 0x60]
call fcn.1337c0f942d0
test eax, eax
je 0x1337c0fa8e24
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1337c0f51210
test eax, eax
js 0x1337c0fa8c0d
mov rax, qword [rsp + 0x58]
mov r9d, 1
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x3f]
call fcn.1337c0f9db60
test eax, eax
jg 0x1337c0fa8c31
jne 0x1337c0fa8e24
inc r13d
cmp r13d, 0x1000
jl 0x1337c0fa8a41
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
mov r13, qword [rsp + 0x30]
jmp 0x1337c0fa87d0
mov rbx, qword [rsp + 0x58]
mov edx, 2
mov rcx, rbx
lea r8d, [rdx - 1]
call fcn.1337c0f9d5e0
test eax, eax
je 0x1337c0fa8e24
call fcn.1337c0f51c30
mov r15, qword [rsp + 0x60]
mov r8, rax
mov r12, qword [rsp + 0x68]
mov rdx, r15
mov rcx, r12
call fcn.1337c0f942d0
test eax, eax
je 0x1337c0fa8e24
mov r14, qword [rsp + 0x30]
mov r8, r12
mov r9, qword [rsp + 0x48]
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], r14
call fcn.1337c0f94550
test eax, eax
je 0x1337c0fa8d3e
mov edx, 2
mov rcx, r12
call fcn.1337c0f51b40
test eax, eax
je 0x1337c0fa8d3e
mov rcx, qword [rsp + 0x78]
mov r8, r14
mov rdx, r15
call fcn.1337c0f96b80
test eax, eax
je 0x1337c0fa8d3e
mov rax, qword [rsp + 0x78]
mov r9, r15
mov rcx, qword [rsp + 0x70]
mov r8, rsi
mov qword [rsp + 0x28], rax
mov rdx, r12
mov qword [rsp + 0x20], r14
call fcn.1337c0f94be0
test eax, eax
je 0x1337c0fa8d3e
nop word [rax + rax]
mov rcx, qword [rsp + 0x70]
call fcn.1337c0f516a0
test eax, eax
je 0x1337c0fa8d64
call fcn.1337c0f51c30
mov r8, rax
mov rdx, r12
mov rcx, r12
call fcn.1337c0f94230
test eax, eax
je 0x1337c0fa8d3e
mov rax, qword [rsp + 0x78]
mov r9, r15
mov rcx, qword [rsp + 0x70]
mov r8, rsi
inc dword [rbp - 0x68]
mov rdx, r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call fcn.1337c0f94be0
test eax, eax
jne 0x1337c0fa8cf0
mov r13, r14
mov rcx, r13
call fcn.1337c0f92b80
mov rcx, r13
call fcn.1337c0f92c00
mov rcx, qword [rsp + 0x78]
call fcn.1337c0f96aa0
mov eax, dword [rsp + 0x3c]
jmp 0x1337c0fa86d9
mov edx, 3
mov rcx, rbx
lea r8d, [rdx - 2]
call fcn.1337c0f9d5e0
test eax, eax
je 0x1337c0fa8d3e
mov dword [rsp + 0x3c], 1
mov rbx, qword [rbp - 0x58]
mov rcx, qword [rbx + 8]
call fcn.1337c0f515a0
mov rcx, qword [rbx + 0x10]
call fcn.1337c0f515a0
mov rcx, qword [rbx + 0x18]
call fcn.1337c0f515a0
mov rcx, r15
call fcn.1337c0f514a0
mov rcx, qword [rsp + 0x48]
mov qword [rbx + 8], rax
call fcn.1337c0f514a0
mov rcx, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
call fcn.1337c0f514a0
cmp qword [rbx + 8], 0
mov qword [rbx + 0x18], rax
je 0x1337c0fa8e17
cmp qword [rbx + 0x10], 0
je 0x1337c0fa8e17
test rax, rax
je 0x1337c0fa8e17
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x1337c0fa8de7
mov dword [rax], r13d
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1337c0fa8df6
mov rax, qword [rbp - 0x68]
mov dword [rdx], eax
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1337c0fa8d3e
movsxd r8, edi
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.1337c1004b50
jmp 0x1337c0fa8d3e
mov dword [rsp + 0x3c], 0
jmp 0x1337c0fa8d3e
mov r13, qword [rsp + 0x30]
jmp 0x1337c0fa8d41
jmp 0x1337c0fa8d41
xor eax, eax
jmp 0x1337c0fa86e1