Function at 0x14011c720
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor ebx, ebx
mov r13, rcx
mov qword [rsp + 0x38], rcx
cmp dword [0x14062a020], ebx
mov r12d, ebx
mov r14d, ebx
je 0x14011c775
call fcn.14011bf10
mov esi, dword [r13 + 4]
mov eax, dword [r13 + 0xc]
mov rdi, rbx
lea eax, [rax + rax + 8]
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x28], eax
lea eax, [rsi + 0x3f]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movsxd r15, eax
mov qword [rsp + 0x50], r15
lea eax, [r15 - 1]
movsxd rcx, eax
test r15d, r15d
jle 0x14011c7fa
lea rsi, [rsp + rcx*4 + 0x40]
lea rcx, [rsp + 0x40]
mov rax, r13
sub rax, rcx
lea r12, [r13 + 0x14]
mov r14, rax
mov ecx, dword [r12 - 4]
mov edx, dword [r12]
mov dword [rsp + rdi*4 + 0x50], ecx
mov dword [rsp + rdi*4 + 0x60], edx
call fcn.14011bd70
inc rdi
mov dword [rsi + r14 + 0x30], eax
mov dword [rsi], eax
sub rsi, 4
add r12, 8
cmp rdi, r15
jl 0x14011c7c3
mov esi, dword [rsp + 0x24]
mov r14d, ebx
mov r12d, ebx
mov eax, dword [rsp + 0x28]
mov r10d, ebx
lea r11, [0x140629e20]
cdq
lea rdi, [0x14063c300]
sub eax, edx
sar eax, 1
test eax, eax
jle 0x14011cb60
mov edx, eax
lea rdi, [r13 + 0x44]
and r15d, 3
lea rsi, [0x140629e20]
lea r13, [0x14063c300]
mov qword [rsp + 0x28], rdx
nop dword [rax]
mov dword [rsp + 0x20], r10d
mov ecx, r15d
test r15d, r15d
je 0x14011c888
sub ecx, 2
je 0x14011c870
dec ecx
jne 0x14011c9af
movzx ecx, byte [rsp + 0x23]
movzx edx, byte [rsp + 0x22]
movzx r8d, byte [rsp + 0x21]
movzx r9d, r10b
jmp 0x14011c8c7
movzx eax, byte [rsp + 0x23]
movzx edx, byte [rsp + 0x22]
movzx r9d, byte [rsp + 0x21]
movzx r11d, byte [rsp + 0x20]
jmp 0x14011c901
movzx eax, r10b
movzx r9d, byte [rax + rsi + 0x100]
movzx eax, byte [rsp + 0x21]
movzx r8d, byte [rax + rsi]
movzx eax, byte [rsp + 0x22]
xor r9b, byte [rsp + 0x5c]
movzx edx, byte [rax + rsi]
movzx eax, byte [rsp + 0x23]
xor r8b, byte [rsp + 0x5d]
movzx ecx, byte [rax + rsi + 0x100]
xor dl, byte [rsp + 0x5e]
xor cl, byte [rsp + 0x5f]
movzx eax, r9b
movzx r11d, byte [rax + rsi + 0x100]
movzx eax, r8b
movzx r9d, byte [rax + rsi + 0x100]
xor r11b, byte [rsp + 0x58]
movzx eax, dl
movzx edx, byte [rax + rsi]
xor r9b, byte [rsp + 0x59]
movzx eax, cl
movzx eax, byte [rax + rsi]
xor dl, byte [rsp + 0x5a]
xor al, byte [rsp + 0x5b]
movzx eax, al
movzx ecx, byte [rax + rsi + 0x100]
movzx eax, byte [rsp + 0x57]
xor rcx, rax
movzx eax, byte [rsp + 0x53]
movzx r8d, byte [rcx + rsi + 0x100]
xor r8, rax
movzx eax, dl
movzx ecx, byte [rax + rsi]
mov r12d, dword [r13 + r8*4 + 0xc00]
movzx eax, byte [rsp + 0x56]
xor rcx, rax
movzx eax, byte [rsp + 0x52]
lea r8, [0x14063c300]
movzx edx, byte [rcx + rsi + 0x100]
lea r13, [0x14063c300]
xor rdx, rax
movzx eax, r9b
xor r12d, dword [r8 + rdx*4 + 0x800]
movzx ecx, byte [rax + rsi + 0x100]
movzx eax, byte [rsp + 0x55]
xor rcx, rax
movzx eax, byte [rsp + 0x51]
movzx edx, byte [rcx + rsi]
xor rdx, rax
movzx eax, r11b
xor r12d, dword [r8 + rdx*4 + 0x400]
movzx ecx, byte [rax + rsi]
movzx eax, byte [rsp + 0x54]
xor rcx, rax
movzx eax, byte [rsp + 0x50]
movzx edx, byte [rcx + rsi]
xor rdx, rax
xor r12d, dword [r8 + rdx*4]
mov rdx, qword [rsp + 0x28]
lea eax, [r10 + 0x1010101]
mov ecx, r15d
mov dword [rsp + 0x20], eax
test r15d, r15d
je 0x14011c9fd
sub ecx, 2
je 0x14011c9e5
dec ecx
jne 0x14011cb18
movzx ecx, byte [rsp + 0x23]
movzx edx, byte [rsp + 0x22]
movzx r8d, byte [rsp + 0x21]
movzx r9d, al
jmp 0x14011ca3d
movzx eax, byte [rsp + 0x23]
movzx edx, byte [rsp + 0x22]
movzx r9d, byte [rsp + 0x21]
movzx r11d, byte [rsp + 0x20]
jmp 0x14011ca77
movzx eax, byte [rsp + 0x20]
movzx r9d, byte [rax + rsi + 0x100]
movzx eax, byte [rsp + 0x21]
movzx r8d, byte [rax + rsi]
movzx eax, byte [rsp + 0x22]
xor r9b, byte [rsp + 0x6c]
movzx edx, byte [rax + rsi]
movzx eax, byte [rsp + 0x23]
xor r8b, byte [rsp + 0x6d]
movzx ecx, byte [rax + rsi + 0x100]
xor dl, byte [rsp + 0x6e]
xor cl, byte [rsp + 0x6f]
movzx eax, r9b
movzx r11d, byte [rax + rsi + 0x100]
movzx eax, r8b
movzx r9d, byte [rax + rsi + 0x100]
xor r11b, byte [rsp + 0x68]
movzx eax, dl
movzx edx, byte [rax + rsi]
xor r9b, byte [rsp + 0x69]
movzx eax, cl
movzx eax, byte [rax + rsi]
xor dl, byte [rsp + 0x6a]
xor al, byte [rsp + 0x6b]
movzx eax, al
movzx ecx, byte [rax + rsi + 0x100]
movzx eax, byte [rsp + 0x67]
xor rcx, rax
movzx eax, byte [rsp + 0x63]
movzx r8d, byte [rcx + rsi + 0x100]
xor r8, rax
movzx eax, dl
movzx ecx, byte [rax + rsi]
movzx eax, byte [rsp + 0x66]
mov r14d, dword [r13 + r8*4 + 0xc00]
xor rcx, rax
movzx eax, byte [rsp + 0x62]
movzx edx, byte [rcx + rsi + 0x100]
xor rdx, rax
movzx eax, r9b
xor r14d, dword [r13 + rdx*4 + 0x800]
movzx ecx, byte [rax + rsi + 0x100]
movzx eax, byte [rsp + 0x65]
xor rcx, rax
movzx eax, byte [rsp + 0x61]
movzx edx, byte [rcx + rsi]
xor rdx, rax
movzx eax, r11b
xor r14d, dword [r13 + rdx*4 + 0x400]
movzx ecx, byte [rax + rsi]
movzx eax, byte [rsp + 0x64]
xor rcx, rax
movzx eax, byte [rsp + 0x60]
movzx edx, byte [rcx + rsi]
xor rdx, rax
xor r14d, dword [r13 + rdx*4]
mov rdx, qword [rsp + 0x28]
rol r14d, 8
add rdi, 8
add r10d, 0x2020202
lea eax, [r14 + r12]
lea r14d, [r12 + r14*2]
mov dword [rdi - 0xc], eax
mov eax, r14d
rol eax, 9
dec rdx
mov dword [rdi - 8], eax
mov qword [rsp + 0x28], rdx
jne 0x14011c840
mov r13, qword [rsp + 0x38]
mov esi, dword [rsp + 0x24]
lea r11, [0x140629e20]
lea rdi, [0x14063c300]
sub esi, 0x80
je 0x14011d0c5
sub esi, 0x40
je 0x14011ceb5
cmp esi, 0x40
jne 0x14011d277
movzx r8d, byte [rsp + 0x4c]
lea rdx, [0x140629f20]
lea rcx, [rbp + 0x70]
call fcn.14011c410
mov rcx, rbx
movzx eax, byte [rbp + rcx + 0x70]
add rcx, 2
movzx eax, byte [rax + r11 + 0x100]
mov byte [rsp + rcx + 0x6e], al
movzx eax, byte [rbp + rcx + 0x6f]
movzx eax, byte [rax + r11 + 0x100]
mov byte [rsp + rcx + 0x6f], al
cmp rcx, 0x100
jl 0x14011cb97
movzx r8d, byte [rsp + 0x48]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14011c410
movzx r10d, byte [rsp + 0x40]
movzx r9d, byte [rsp + 0x44]
mov rdx, rbx
lea r8, [r13 + 0xe8]
movzx eax, byte [rsp + rdx + 0x70]
add rdx, 2
add r8, 0x10
movzx ecx, byte [rax + r11]
xor rcx, r9
movzx eax, byte [rcx + r11]
xor rax, r10
mov eax, dword [rdi + rax*4]
mov dword [r8 - 0x18], eax
movzx eax, byte [rsp + rdx + 0x6f]
movzx ecx, byte [rax + r11]
xor rcx, r9
movzx eax, byte [rcx + r11]
xor rax, r10
mov eax, dword [rdi + rax*4]
mov dword [r8 - 0x10], eax
cmp rdx, 0x100
jl 0x14011cbf3
movzx r8d, byte [rsp + 0x4d]
lea rcx, [rbp + 0x70]
mov rdx, r11
call fcn.14011c410
mov rcx, rbx
movzx eax, byte [rbp + rcx + 0x70]
add rcx, 2
movzx eax, byte [rax + r11 + 0x100]
mov byte [rsp + rcx + 0x6e], al
movzx eax, byte [rbp + rcx + 0x6f]
movzx eax, byte [rax + r11 + 0x100]
mov byte [rsp + rcx + 0x6f], al
cmp rcx, 0x100
jl 0x14011cc51
movzx r8d, byte [rsp + 0x49]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14011c410
movzx r10d, byte [rsp + 0x41]
movzx r9d, byte [rsp + 0x45]
mov rdx, rbx
lea r8, [r13 + 0xec]
nop dword [rax]
movzx eax, byte [rsp + rdx + 0x70]
add rdx, 2
add r8, 0x10
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r9
movzx eax, byte [rcx + r11]
xor rax, r10
mov eax, dword [rdi + rax*4 + 0x400]
mov dword [r8 - 0x18], eax
movzx eax, byte [rsp + rdx + 0x6f]
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r9
movzx eax, byte [rcx + r11]
xor rax, r10
mov eax, dword [rdi + rax*4 + 0x400]
mov dword [r8 - 0x10], eax
cmp rdx, 0x100
jl 0x14011ccb0
movzx r8d, byte [rsp + 0x4e]
lea rcx, [rbp + 0x70]
mov rdx, r11
call fcn.14011c410
mov rcx, rbx
nop
movzx eax, byte [rbp + rcx + 0x70]
add rcx, 2
movzx eax, byte [rax + r11]
mov byte [rsp + rcx + 0x6e], al
movzx eax, byte [rbp + rcx + 0x6f]
movzx eax, byte [rax + r11]
mov byte [rsp + rcx + 0x6f], al
cmp rcx, 0x100
jl 0x14011cd20
movzx r8d, byte [rsp + 0x4a]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14011c410
movzx r10d, byte [rsp + 0x42]
movzx edx, byte [rsp + 0x46]
mov r8, rbx
lea r9, [r13 + 0x8e8]
nop word [rax + rax]
movzx eax, byte [rsp + r8 + 0x70]
add r8, 2
add r9, 0x10
movzx ecx, byte [rax + r11]
xor rcx, rdx
movzx eax, byte [rcx + r11 + 0x100]
xor rax, r10
mov eax, dword [rdi + rax*4 + 0x800]
mov dword [r9 - 0x18], eax
movzx eax, byte [rsp + r8 + 0x6f]
movzx ecx, byte [rax + r11]
xor rcx, rdx
movzx eax, byte [rcx + r11 + 0x100]
xor rax, r10
mov eax, dword [rdi + rax*4 + 0x800]
mov dword [r9 - 0x10], eax
cmp r8, 0x100
jl 0x14011cd80
movzx r8d, byte [rsp + 0x4f]
lea rdx, [0x140629f20]
lea rcx, [rbp + 0x70]
call fcn.14011c410
mov rcx, rbx
nop word [rax + rax]
movzx eax, byte [rbp + rcx + 0x70]
add rcx, 2
movzx eax, byte [rax + r11]
mov byte [rsp + rcx + 0x6e], al
movzx eax, byte [rbp + rcx + 0x6f]
movzx eax, byte [rax + r11]
mov byte [rsp + rcx + 0x6f], al
cmp rcx, 0x100
jl 0x14011ce00
movzx r8d, byte [rsp + 0x4b]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14011c410
movzx r9d, byte [rsp + 0x43]
movzx r8d, byte [rsp + 0x47]
lea rdx, [r13 + 0x8ec]
movzx eax, byte [rsp + rbx + 0x70]
add rbx, 2
add rdx, 0x10
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r8
movzx eax, byte [rcx + r11 + 0x100]
xor rax, r9
mov eax, dword [rdi + rax*4 + 0xc00]
mov dword [rdx - 0x18], eax
movzx eax, byte [rsp + rbx + 0x6f]
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r8
movzx eax, byte [rcx + r11 + 0x100]
xor rax, r9
mov eax, dword [rdi + rax*4 + 0xc00]
mov dword [rdx - 0x10], eax
cmp rbx, 0x100
jl 0x14011ce51
jmp 0x14011d277
movzx r8d, byte [rsp + 0x48]
lea rdx, [0x140629f20]
lea rcx, [rsp + 0x70]
call fcn.14011c410
movzx r10d, byte [rsp + 0x40]
movzx r9d, byte [rsp + 0x44]
mov rdx, rbx
lea r8, [r13 + 0xe8]
movzx eax, byte [rsp + rdx + 0x70]
add rdx, 2
add r8, 0x10
movzx ecx, byte [rax + r11]
xor rcx, r9
movzx eax, byte [rcx + r11]
xor rax, r10
mov eax, dword [rdi + rax*4]
mov dword [r8 - 0x18], eax
movzx eax, byte [rsp + rdx + 0x6f]
movzx ecx, byte [rax + r11]
xor rcx, r9
movzx eax, byte [rcx + r11]
xor rax, r10
mov eax, dword [rdi + rax*4]
mov dword [r8 - 0x10], eax
cmp rdx, 0x100
jl 0x14011cee2
movzx r8d, byte [rsp + 0x49]
lea rdx, [0x140629f20]
lea rcx, [rsp + 0x70]
call fcn.14011c410
movzx r10d, byte [rsp + 0x41]
movzx r9d, byte [rsp + 0x45]
mov rdx, rbx
lea r8, [r13 + 0xec]
nop dword [rax + rax]
movzx eax, byte [rsp + rdx + 0x70]
add rdx, 2
add r8, 0x10
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r9
movzx eax, byte [rcx + r11]
xor rax, r10
mov eax, dword [rdi + rax*4 + 0x400]
mov dword [r8 - 0x18], eax
movzx eax, byte [rsp + rdx + 0x6f]
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r9
movzx eax, byte [rcx + r11]
xor rax, r10
mov eax, dword [rdi + rax*4 + 0x400]
mov dword [r8 - 0x10], eax
cmp rdx, 0x100
jl 0x14011cf60
movzx r8d, byte [rsp + 0x4a]
lea rcx, [rsp + 0x70]
mov rdx, r11
call fcn.14011c410
movzx r10d, byte [rsp + 0x42]
movzx r9d, byte [rsp + 0x46]
mov rdx, rbx
lea r8, [r13 + 0x8e8]
movzx eax, byte [rsp + rdx + 0x70]
add rdx, 2
add r8, 0x10
movzx ecx, byte [rax + r11]
xor rcx, r9
movzx eax, byte [rcx + r11 + 0x100]
xor rax, r10
mov eax, dword [rdi + rax*4 + 0x800]
mov dword [r8 - 0x18], eax
movzx eax, byte [rsp + rdx + 0x6f]
movzx ecx, byte [rax + r11]
xor rcx, r9
movzx eax, byte [rcx + r11 + 0x100]
xor rax, r10
mov eax, dword [rdi + rax*4 + 0x800]
mov dword [r8 - 0x10], eax
cmp rdx, 0x100
jl 0x14011cfe2
movzx r8d, byte [rsp + 0x4b]
lea rcx, [rsp + 0x70]
mov rdx, r11
call fcn.14011c410
movzx r9d, byte [rsp + 0x43]
movzx r8d, byte [rsp + 0x47]
lea rdx, [r13 + 0x8ec]
movzx eax, byte [rsp + rbx + 0x70]
add rbx, 2
add rdx, 0x10
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r8
movzx eax, byte [rcx + r11 + 0x100]
xor rax, r9
mov eax, dword [rdi + rax*4 + 0xc00]
mov dword [rdx - 0x18], eax
movzx eax, byte [rsp + rbx + 0x6f]
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r8
movzx eax, byte [rcx + r11 + 0x100]
xor rax, r9
mov eax, dword [rdi + rax*4 + 0xc00]
mov dword [rdx - 0x10], eax
cmp rbx, 0x100
jl 0x14011d061
jmp 0x14011d277
movzx r8d, byte [rsp + 0x44]
lea rcx, [rsp + 0x70]
mov rdx, r11
call fcn.14011c410
movzx r9d, byte [rsp + 0x40]
mov rdx, rbx
lea r8, [r13 + 0xe8]
nop dword [rax + rax]
movzx eax, byte [rsp + rdx + 0x70]
add rdx, 2
add r8, 0x10
movzx ecx, byte [rax + r11]
xor rcx, r9
mov eax, dword [rdi + rcx*4]
mov dword [r8 - 0x18], eax
movzx eax, byte [rsp + rdx + 0x6f]
movzx ecx, byte [rax + r11]
xor rcx, r9
mov eax, dword [rdi + rcx*4]
mov dword [r8 - 0x10], eax
cmp rdx, 0x100
jl 0x14011d0f0
movzx r8d, byte [rsp + 0x45]
lea rdx, [0x140629f20]
lea rcx, [rsp + 0x70]
call fcn.14011c410
movzx r9d, byte [rsp + 0x41]
mov rdx, rbx
lea r8, [r13 + 0xec]
movzx eax, byte [rsp + rdx + 0x70]
add rdx, 2
add r8, 0x10
movzx ecx, byte [rax + r11]
xor rcx, r9
mov eax, dword [rdi + rcx*4 + 0x400]
mov dword [r8 - 0x18], eax
movzx eax, byte [rsp + rdx + 0x6f]
movzx ecx, byte [rax + r11]
xor rcx, r9
mov eax, dword [rdi + rcx*4 + 0x400]
mov dword [r8 - 0x10], eax
cmp rdx, 0x100
jl 0x14011d150
movzx r8d, byte [rsp + 0x46]
lea rcx, [rsp + 0x70]
mov rdx, r11
call fcn.14011c410
movzx r9d, byte [rsp + 0x42]
mov rdx, rbx
lea r8, [r13 + 0x8e8]
nop word [rax + rax]
movzx eax, byte [rsp + rdx + 0x70]
add rdx, 2
add r8, 0x10
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r9
mov eax, dword [rdi + rcx*4 + 0x800]
mov dword [r8 - 0x18], eax
movzx eax, byte [rsp + rdx + 0x6f]
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r9
mov eax, dword [rdi + rcx*4 + 0x800]
mov dword [r8 - 0x10], eax
cmp rdx, 0x100
jl 0x14011d1c0
movzx r8d, byte [rsp + 0x47]
lea rdx, [0x140629f20]
lea rcx, [rsp + 0x70]
call fcn.14011c410
movzx r8d, byte [rsp + 0x43]
lea rdx, [r13 + 0x8ec]
nop dword [rax]
movzx eax, byte [rsp + rbx + 0x70]
add rbx, 2
add rdx, 0x10
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r8
mov eax, dword [rdi + rcx*4 + 0xc00]
mov dword [rdx - 0x18], eax
movzx eax, byte [rsp + rbx + 0x6f]
movzx ecx, byte [rax + r11 + 0x100]
xor rcx, r8
mov eax, dword [rdi + rcx*4 + 0xc00]
mov dword [rdx - 0x10], eax
cmp rbx, 0x100
jl 0x14011d230
cmp byte [r13], 0
jne 0x14011d2cf
mov eax, dword [r13 + 0xc]
lea r8, [r13 + 0x60]
add eax, eax
cdqe
lea r9, [r8 + rax*4 - 8]
cmp r8, r9
jae 0x14011d2ca
nop word [rax + rax]
mov eax, dword [r9]
mov edx, dword [r8]
mov ecx, dword [r8 + 4]
mov dword [r8], eax
mov eax, dword [r9 + 4]
sub r9, 8
mov dword [r8 + 4], eax
mov dword [r9 + 8], edx
mov dword [r9 + 0xc], ecx
add r8, 8
cmp r8, r9
jb 0x14011d2a0
mov byte [r13], 0
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140360fe0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret