Function at 0x1337c1009800
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x110
call fcn.1337c1027ae0
sub rsp, rax
mov rax, qword [0x1337c123eb80]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x178]
xor ebp, ebp
mov esi, dword [rsp + 0x170]
xor r15d, r15d
mov r12, qword [rsp + 0x190]
mov r13d, 0xffffffff
mov qword [rsp + 0x50], rax
mov rdi, r8
mov rax, qword [rsp + 0x188]
mov r14, rcx
movsxd rbx, r9d
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x48], 0
test rax, rax
jne 0x1337c1009895
call fcn.1337c0f85370
mov qword [rsp + 0x60], rax
test r12, r12
mov rcx, rax
cmove r12, rax
mov qword [rsp + 0x58], r12
call fcn.1337c0f937b0
movsxd r12, eax
cmp dword [rsp + 0x30], ebp
jle 0x1337c1009ffe
test ebx, ebx
jle 0x1337c1009ffe
cmp esi, ebx
jl 0x1337c1009fe2
lea ecx, [r12*2 + 2]
cmp esi, ecx
jl 0x1337c1009fe2
mov r13d, esi
lea rdx, [0x1337c10cb935]
sub r13d, r12d
xor r8d, r8d
dec r13d
movsxd rax, r13d
mov rcx, rax
mov qword [rsp + 0x70], rax
call fcn.1337c0f875e0
mov rsi, rax
movsxd rax, dword [rsp + 0x34]
test rsi, rsi
jne 0x1337c1009927
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov edx, 0x99
mov ecx, 4
mov r8d, 0x41
call fcn.1337c0f84980
jmp 0x1337c1009f85
xor r8d, r8d
lea rdx, [0x1337c10cb935]
mov rcx, rax
call fcn.1337c0f875e0
mov r15, rax
test rax, rax
je 0x1337c1009906
movsxd r9, dword [rsp + 0x34]
add rdi, rbx
mov eax, dword [rsp + 0x34]
add r15, r9
test eax, eax
jle 0x1337c100998e
mov edx, eax
nop word [rax + rax]
mov eax, ebx
lea ecx, [rbx - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec r15
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub ebx, eax
mov eax, ecx
and eax, 1
sub rdi, rax
and cl, byte [rdi]
mov byte [r15], cl
sub rdx, 1
jne 0x1337c1009960
movzx ebp, byte [r15]
lea r8, [r12 + 1]
mov rax, qword [rsp + 0x58]
lea rcx, [rsp + 0x80]
dec ebp
mov qword [rsp + 0x20], rax
add r8, r15
shr ebp, 0x1f
mov rdi, r9
mov qword [rsp + 0x40], r8
mov r9d, r13d
lea rbx, [r15 + 1]
mov edx, r12d
neg ebp
call fcn.1337c10090c0
test eax, eax
jne 0x1337c1009f8a
xor edx, edx
test r12d, r12d
jle 0x1337c1009b28
cmp r12d, 8
jb 0x1337c1009b28
lea eax, [r12 - 1]
movsxd rcx, eax
lea r8, [rsp + 0x80]
add r8, rcx
lea rax, [rcx + rbx]
lea rcx, [rsp + 0x80]
cmp rcx, rax
ja 0x1337c1009a14
cmp r8, rbx
jae 0x1337c1009b28
cmp r12d, 0x40
jb 0x1337c1009ad1
mov ecx, r12d
and ecx, 0x8000003f
jge 0x1337c1009a30
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r12d
sub eax, ecx
lea r8, [rsp + 0x80]
movsxd r11, eax
lea r9, [rsp + 0x90]
sub r8, rbx
sub r9, rbx
lea rcx, [rbx + 0x20]
mov r10, 0xffffffffffffffe0
sub r10, rbx
nop dword [rax]
movdqu xmm0, xmmword [r8 + rcx - 0x20]
add edx, 0x40
movdqu xmm1, xmmword [rcx - 0x20]
lea rcx, [rcx + 0x40]
lea rax, [rcx + r10]
xorps xmm1, xmm0
movdqu xmmword [r8 + rcx - 0x60], xmm1
movdqu xmm0, xmmword [r9 + rcx - 0x60]
movdqu xmm1, xmmword [rcx - 0x50]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmmword [r9 + rcx - 0x60], xmm1
movdqu xmm1, xmmword [r8 + rcx - 0x40]
xorps xmm1, xmm0
movdqu xmmword [r8 + rcx - 0x40], xmm1
movdqu xmm0, xmmword [r9 + rcx - 0x40]
movdqu xmm1, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [r9 + rcx - 0x40], xmm1
cmp rax, r11
jl 0x1337c1009a60
mov eax, r12d
and al, 0x3f
cmp al, 8
jb 0x1337c1009b28
mov ecx, r12d
and ecx, 0x80000007
jge 0x1337c1009ae3
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, r12d
sub eax, ecx
movsxd r9, eax
mov r8, rbx
lea rax, [rsp + 0x80]
movsxd rcx, edx
sub r8, rax
nop dword [rax]
lea rax, [rsp + 0x80]
add edx, 8
add rax, rcx
add rcx, 8
movq xmm0, qword [rax]
movq xmm1, qword [r8 + rax]
xorps xmm1, xmm0
movq qword [rax], xmm1
cmp rcx, r9
jl 0x1337c1009b00
movsxd rdx, edx
cmp rdx, r12
jge 0x1337c1009b59
lea rax, [rsp + 0x80]
sub rbx, rax
nop dword [rax + rax]
lea rcx, [rsp + 0x80]
add rcx, rdx
inc rdx
movzx eax, byte [rbx + rcx]
xor byte [rcx], al
cmp rdx, r12
jl 0x1337c1009b40
mov rax, qword [rsp + 0x58]
lea r8, [rsp + 0x80]
movsxd rbx, dword [rsp + 0x34]
mov r9d, r12d
mov edx, r13d
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov rdi, rbx
call fcn.1337c10090c0
test eax, eax
jne 0x1337c1009f8a
mov r9, qword [rsp + 0x40]
xor edx, edx
test r13d, r13d
jle 0x1337c1009cb3
cmp r13d, 8
jb 0x1337c1009cb3
lea eax, [r13 - 1]
movsxd rcx, eax
lea rax, [rcx + r9]
lea r8, [rcx + rsi]
cmp rsi, rax
ja 0x1337c1009bc0
cmp r8, r9
jae 0x1337c1009cb3
cmp r13d, 0x40
jb 0x1337c1009c69
mov ecx, r13d
and ecx, 0x8000003f
jge 0x1337c1009bdc
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r13d
sub eax, ecx
mov r8, r9
movsxd r11, eax
sub r8, rsi
lea rcx, [rsi + 0x10]
mov r10, 0xfffffffffffffff0
sub r10, rsi
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add edx, 0x40
movdqu xmm1, xmmword [rcx + r8 - 0x10]
lea rcx, [rcx + 0x40]
lea rax, [r10 + rcx]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx + r8 - 0x40]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm2, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + r8 - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rcx + r8 - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r11
jl 0x1337c1009c00
mov eax, r13d
and al, 0x3f
cmp al, 8
jb 0x1337c1009cb3
mov eax, r13d
and eax, 0x80000007
jge 0x1337c1009c7a
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, r13d
sub ecx, eax
movsxd rax, edx
mov r8, r9
movsxd r10, ecx
sub r8, rsi
lea rcx, [rax + rsi]
nop
movq xmm0, qword [rcx]
add edx, 8
movq xmm1, qword [r8 + rcx]
xorps xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rsi
cmp rax, r10
jl 0x1337c1009c90
movsxd rax, edx
movsxd rcx, r13d
cmp rax, rcx
jge 0x1337c1009ce1
sub r9, rsi
lea rdx, [rax + rsi]
mov r8, rcx
sub r8, rax
nop dword [rax + rax]
movzx eax, byte [r9 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1337c1009cd0
mov rax, qword [rsp + 0x60]
lea r8, [rsp + 0xc0]
movsxd rdx, dword [rsp + 0x180]
xor r9d, r9d
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.1337c0f87ce0
test eax, eax
je 0x1337c1009f8a
mov r8, r12
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call fcn.1337c0de12a0
xor r9d, r9d
movsxd rbx, r13d
mov r11d, r12d
mov r8, r12
lea ecx, [rax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and ebp, ecx
cmp r12, rbx
jge 0x1337c1009dc0
mov r10, r12
mov r14d, r9d
nop dword [rax]
nop dword [rax + rax]
movzx r8d, byte [rsi + r10]
mov eax, r9d
not eax
mov edx, r8d
xor edx, 1
inc r10
dec edx
shr edx, 0x1f
neg edx
and eax, edx
or r9d, edx
mov dword [rsp + 0x38], eax
not eax
mov ecx, dword [rsp + 0x38]
mov dword [rsp + 0x38], eax
and ecx, r11d
mov eax, dword [rsp + 0x38]
inc r11d
and eax, r14d
mov r14d, ecx
or r14d, eax
lea eax, [r8 - 1]
shr eax, 0x1f
neg eax
or eax, r9d
and ebp, eax
cmp r10, rbx
jl 0x1337c1009d60
mov dword [rsp + 0x48], r14d
mov r8, r12
mov r14, qword [rsp + 0x68]
mov r11d, dword [rsp + 0x30]
mov ebx, r13d
sub ebx, dword [rsp + 0x48]
mov ecx, r11d
dec ebx
mov eax, r11d
sub ecx, ebx
mov dword [rsp + 0x38], ebx
xor ecx, ebx
xor eax, ebx
or ecx, eax
mov eax, r11d
xor ecx, r11d
shr ecx, 0x1f
dec ecx
and ecx, r9d
mov r9d, r13d
sub r9d, r12d
and ebp, ecx
lea r10d, [r9 - 1]
xor eax, r10d
mov dword [rsp + 0x48], r10d
mov edx, r10d
mov edi, r10d
sub edx, r11d
xor edx, r11d
or edx, eax
xor edx, r10d
shr edx, 0x1f
neg edx
mov dword [rsp + 0x30], edx
not edx
mov ecx, dword [rsp + 0x30]
and edi, ecx
mov dword [rsp + 0x30], edx
mov eax, dword [rsp + 0x30]
and r11d, eax
or edi, r11d
mov r11d, 1
mov dword [rsp + 0x40], edi
cmp r10d, r11d
jle 0x1337c1009ef7
sub r9d, ebx
lea rdx, [r8 + 1]
mov qword [rsp + 0x50], rdx
lea r14d, [r9 - 1]
nop word [rax + rax]
mov eax, r14d
and eax, r11d
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, r13d
sub eax, r11d
dec ecx
movsxd r9, eax
cmp rdx, r9
jge 0x1337c1009ede
movzx ebx, cl
lea rax, [rdx + rsi]
mov r10d, ebx
movsxd rdi, r11d
sub r9, r8
not r10d
dec r9
nop dword [rax]
mov dword [rsp + 0x30], ebx
lea rax, [rax + 1]
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x30], r10d
mov edx, dword [rsp + 0x30]
movzx r8d, byte [rdi + rax - 1]
and r8b, cl
movzx ecx, byte [rax - 1]
and cl, dl
or r8b, cl
mov byte [rax - 1], r8b
sub r9, 1
jne 0x1337c1009ea0
mov rdx, qword [rsp + 0x50]
mov r8, r12
mov r10d, dword [rsp + 0x48]
add r11d, r11d
cmp r11d, r10d
jl 0x1337c1009e60
mov r14, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x38]
mov edi, dword [rsp + 0x40]
xor r8d, r8d
test edi, edi
jle 0x1337c1009f5b
mov r9d, ebx
mov r10, r12
shr r9d, 0x1f
sub r10, r14
add r10, rsi
nop
mov eax, r8d
lea r14, [r14 + 1]
sub eax, ebx
inc r8d
shr eax, 0x1f
xor al, r9b
or al, r9b
neg al
movzx ecx, al
movzx eax, bpl
and ecx, eax
mov dword [rsp + 0x40], ecx
not ecx
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rsp + 0x40]
movzx edx, byte [r10 + r14]
and dl, al
movzx eax, byte [r14 - 1]
and al, cl
or dl, al
mov byte [r14 - 1], dl
cmp r8d, edi
jl 0x1337c1009f10
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov edx, 0x99
mov ecx, 4
mov r8d, 0x79
call fcn.1337c0f84980
mov ecx, ebp
and ecx, 1
call fcn.1337c0f84b30
movsxd rdi, dword [rsp + 0x34]
mov edx, 0x40
lea rcx, [rsp + 0x80]
call fcn.1337c0de1240
mov rdx, qword [rsp + 0x70]
lea r8, [0x1337c10cb935]
xor r9d, r9d
mov rcx, rsi
call fcn.1337c0f87490
xor r9d, r9d
lea r8, [0x1337c10cb935]
mov rdx, rdi
mov rcx, r15
call fcn.1337c0f87490
mov dword [rsp + 0x40], ebp
not ebp
mov eax, dword [rsp + 0x40]
and eax, dword [rsp + 0x38]
mov dword [rsp + 0x40], ebp
mov ecx, dword [rsp + 0x40]
or eax, ecx
jmp 0x1337c100a001
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov edx, 0x99
mov ecx, 4
mov r8d, 0x79
call fcn.1337c0f84980
mov eax, r13d
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1337c1027bc0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret