Function at 0x140026100
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x10], dl
push r14
sub rsp, 0xb0
movsxd r11, dword [r8]
movzx r10d, dl
mov eax, dword [rsp + 0xf0]
xor edx, edx
div r11d
mov r14, r9
test edx, edx
jne 0x140026927
mov qword [rsp + 0xc0], rbx
mov ebx, dword [r8 + 4]
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xa0], rsi
mov rsi, qword [rsp + 0xe0]
mov qword [rsp + 0x98], rdi
mov rdi, qword [rsp + 0xe8]
mov qword [rsp + 0x90], r12
test r10b, r10b
je 0x1400261ab
lea rax, [0x140059eb0]
mov qword [rsp + 0x20], rax
lea rcx, [0x14005a2b0]
lea rax, [0x14005a6b0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rax
lea r12, [0x140059ab0]
lea eax, [rdx + 8]
lea rbp, str.cw
lea ecx, [rdx + 4]
jmp 0x14002620e
lea rax, [0x14005aeb0]
mov qword [rsp + 0x20], rax
lea rcx, [0x14005b2b0]
lea rax, [0x14005b6b0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rax
lea r12, [0x14005aab0]
lea eax, [r11 - 4]
movsxd rcx, eax
lea rbp, [0x1400599b0]
add rsi, rcx
add rdi, rcx
test r9, r9
lea rax, [rcx + r9]
mov rcx, 0xfffffffffffffffc
cmove rax, r9
mov r14, rax
mov qword [rsp + 0xd8], rax
lea eax, [rbx + 2]
shl rax, 2
mov qword [rsp + 0x88], r13
lea r9, [rax + r8]
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x80], r15
test r14, r14
je 0x1400262ef
movzx eax, byte [r14 + 1]
movzx r13d, byte [r14]
shl r13d, 8
or r13d, eax
movzx eax, byte [r14 + 2]
shl r13d, 8
or r13d, eax
movzx eax, byte [r14 + 3]
add r14, rcx
shl r13d, 8
or r13d, eax
movzx eax, byte [r14 + 1]
movzx ebp, byte [r14]
shl ebp, 8
or ebp, eax
movzx eax, byte [r14 + 2]
shl ebp, 8
or ebp, eax
movzx eax, byte [r14 + 3]
add r14, rcx
shl ebp, 8
or ebp, eax
movzx eax, byte [r14 + 1]
movzx r15d, byte [r14]
shl r15d, 8
or r15d, eax
movzx eax, byte [r14 + 2]
shl r15d, 8
or r15d, eax
movzx eax, byte [r14 + 3]
add r14, rcx
shl r15d, 8
or r15d, eax
movzx eax, byte [r14 + 1]
movzx r8d, byte [r14]
shl r8d, 8
or r8d, eax
movzx eax, byte [r14 + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [r14 + 3]
shl r8d, 8
or r8d, eax
add r14, rcx
mov qword [rsp + 0xd8], r14
jmp 0x14002630e
mov r13d, dword [rsp + 0xf0]
mov ebp, dword [rsp + 0xf0]
mov r15d, dword [rsp + 0xf0]
mov r8d, dword [rsp + 0xf0]
mov eax, r11d
mov dword [rsp + 4], r8d
cdq
mov dword [rsp], r15d
and edx, 3
mov dword [rsp + 0xd0], ebp
add eax, edx
sar eax, 2
movsxd rcx, eax
mov rax, rbx
sub rax, rcx
lea rax, [r9 + rax*4]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xf0]
add rax, rsi
mov qword [rsp + 0x68], rax
cmp rsi, rax
jae 0x14002685b
mov eax, dword [rsp + 0xf0]
add rsi, 2
mov dword [rsp + 0xf0], eax
add rdi, 2
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x10], eax
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x48], rdi
jmp 0x1400263a5
mov r8d, dword [rsp + 4]
movzx eax, byte [rsi - 1]
movzx edx, byte [rsi - 2]
shl edx, 8
or edx, eax
movzx eax, byte [rsi]
shl edx, 8
or edx, eax
movzx eax, byte [rsi + 1]
shl edx, 8
or edx, eax
test r10b, r10b
je 0x140026445
movzx ecx, byte [rsi + 3]
movzx eax, byte [rsi + 2]
movzx r11d, byte [rsi + 6]
movzx ebx, byte [rsi + 0xa]
shl eax, 8
or eax, ecx
shl r11d, 8
movzx ecx, byte [rsi + 4]
shl ebx, 8
shl eax, 8
or eax, ecx
movzx ecx, byte [rsi + 5]
shl eax, 8
or eax, ecx
movzx ecx, byte [rsi + 7]
or r11d, ecx
movzx ecx, byte [rsi + 8]
shl r11d, 8
or r11d, ecx
movzx ecx, byte [rsi + 9]
shl r11d, 8
or r11d, ecx
movzx ecx, byte [rsi + 0xb]
or ebx, ecx
movzx ecx, byte [rsi + 0xc]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [rsi + 0xd]
shl ebx, 8
or ebx, ecx
test r14, r14
je 0x1400264d6
xor edx, r13d
xor eax, ebp
xor r11d, r15d
xor ebx, r8d
jmp 0x1400264d6
movzx ecx, byte [rsi - 5]
movzx eax, byte [rsi - 6]
movzx r11d, byte [rsi - 0xa]
movzx ebx, byte [rsi - 0xe]
shl eax, 8
or eax, ecx
shl r11d, 8
movzx ecx, byte [rsi - 4]
shl ebx, 8
shl eax, 8
or eax, ecx
movzx ecx, byte [rsi - 3]
shl eax, 8
or eax, ecx
movzx ecx, byte [rsi - 9]
or r11d, ecx
movzx ecx, byte [rsi - 8]
shl r11d, 8
or r11d, ecx
movzx ecx, byte [rsi - 7]
shl r11d, 8
or r11d, ecx
movzx ecx, byte [rsi - 0xd]
or ebx, ecx
movzx ecx, byte [rsi - 0xc]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [rsi - 0xb]
shl ebx, 8
or ebx, ecx
test r14, r14
je 0x1400264d6
mov dword [rsp + 0xf0], r13d
mov r13d, edx
mov dword [rsp + 8], ebp
mov dword [rsp + 0xc], r15d
mov dword [rsp + 0x10], r8d
mov dword [rsp + 0xd0], eax
mov dword [rsp], r11d
mov dword [rsp + 4], ebx
add rsi, qword [rsp + 0x40]
lea rcx, [r9 + 0x10]
mov ebp, dword [r9]
mov r15, rcx
xor eax, dword [r9 + 4]
xor ebp, edx
xor r11d, dword [r9 + 8]
xor ebx, dword [r9 + 0xc]
mov qword [rsp + 0x60], rsi
cmp rcx, qword [rsp + 0x38]
je 0x1400265f1
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov ecx, ebx
shr ecx, 8
movzx edx, cl
mov ecx, r11d
shr ecx, 0x10
movzx ecx, cl
mov r10d, dword [rdi + rdx*4]
xor r10d, dword [rsi + rcx*4]
mov ecx, eax
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4]
movzx ecx, bpl
xor r10d, dword [r14 + rcx*4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, r11d
shr rcx, 0x18
mov r9d, dword [rsi + rdx*4]
xor r9d, dword [r12 + rcx*4]
mov ecx, ebp
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor r9d, dword [rdi + rdx*4]
xor r9d, dword [r14 + rcx*4]
mov ecx, eax
shr eax, 0x10
shr ecx, 8
movzx ecx, cl
mov edx, ebx
shr rdx, 0x18
mov r8d, dword [r12 + rdx*4]
xor r8d, dword [rdi + rcx*4]
mov ecx, ebp
shr ecx, 0x10
movzx edx, cl
movzx ecx, r11b
shr r11d, 8
xor r8d, dword [rsi + rdx*4]
xor r8d, dword [r14 + rcx*4]
movzx ecx, al
mov eax, ebp
shr rax, 0x18
movzx edx, r11b
mov r11d, dword [r15 + 8]
xor r11d, r9d
mov edx, dword [rdi + rdx*4]
xor edx, dword [rsi + rcx*4]
mov ebp, edx
xor ebp, dword [r12 + rax*4]
movzx eax, bl
mov ebx, dword [r15 + 0xc]
xor ebx, r8d
xor ebp, dword [r14 + rax*4]
mov eax, dword [r15 + 4]
xor ebp, dword [r15]
xor eax, r10d
add r15, 0x10
cmp r15, qword [rsp + 0x38]
jne 0x140026512
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0xd8]
mov r8, qword [rsp + 0x18]
mov ecx, ebp
shr rcx, 0x18
movzx r9d, byte [rcx + r8]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shl r9d, 8
movzx edx, byte [rcx + r8]
mov ecx, r11d
shr ecx, 8
xor r9d, edx
movzx ecx, cl
shl r9d, 8
movzx edx, byte [rcx + r8]
xor r9d, edx
movzx ecx, bl
shl r9d, 8
movzx edx, byte [rcx + r8]
xor r9d, edx
mov ecx, eax
xor r9d, dword [r15]
shr rcx, 0x18
movzx r12d, byte [rcx + r8]
mov ecx, r11d
shr ecx, 0x10
movzx ecx, cl
shl r12d, 8
movzx edx, byte [rcx + r8]
mov ecx, ebx
shr ecx, 8
xor r12d, edx
movzx ecx, cl
shl r12d, 8
movzx edx, byte [rcx + r8]
xor r12d, edx
movzx ecx, bpl
shl r12d, 8
movzx edx, byte [rcx + r8]
xor r12d, edx
mov ecx, r11d
xor r12d, dword [r15 + 4]
shr rcx, 0x18
movzx r10d, byte [rcx + r8]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl r10d, 8
movzx edx, byte [rcx + r8]
mov ecx, ebp
xor r10d, edx
shr ecx, 8
movzx ecx, cl
shl r10d, 8
shr ebp, 0x10
movzx edx, byte [rcx + r8]
xor r10d, edx
movzx ecx, al
shr eax, 8
shl r10d, 8
movzx edx, byte [rcx + r8]
xor r10d, edx
mov ecx, ebx
xor r10d, dword [r15 + 8]
shr rcx, 0x18
movzx r8d, byte [rcx + r8]
shl r8d, 8
movzx ecx, bpl
mov rbp, qword [rsp + 0x18]
movzx edx, byte [rcx + rbp]
xor r8d, edx
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rbp]
xor r8d, eax
movzx eax, r11b
shl r8d, 8
movzx ecx, byte [rax + rbp]
xor r8d, ecx
xor r8d, dword [r15 + 0xc]
test r14, r14
je 0x140026753
cmp byte [rsp + 0xc8], 0
je 0x14002673c
mov r13d, r9d
mov dword [rsp + 0xd0], r12d
mov ebp, r12d
mov dword [rsp], r10d
mov r15d, r10d
mov dword [rsp + 4], r8d
jmp 0x14002675e
xor r9d, dword [rsp + 0xf0]
xor r12d, dword [rsp + 8]
xor r10d, dword [rsp + 0xc]
xor r8d, dword [rsp + 0x10]
mov r15d, dword [rsp]
mov ebp, dword [rsp + 0xd0]
lea rax, [rdi - 2]
test rax, rax
je 0x140026839
mov byte [rdi + 1], r9b
mov eax, r9d
shr eax, 8
mov ecx, r12d
mov byte [rdi], al
mov edx, r12d
mov eax, r9d
shr ecx, 8
shr eax, 0x10
mov r11d, r12d
mov byte [rdi - 1], al
mov ebx, r10d
shr r9d, 0x18
mov eax, r10d
shr eax, 0x10
shr edx, 0x10
shr r11d, 0x18
shr ebx, 8
cmp byte [rsp + 0xc8], 0
mov byte [rdi - 2], r9b
je 0x1400267f1
mov byte [rdi + 7], al
mov eax, r8d
shr eax, 8
mov byte [rdi + 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rdi + 9], r10b
shr r10d, 0x18
mov byte [rdi + 0xd], r8b
shr r8d, 0x18
mov byte [rdi + 0xa], r8b
mov byte [rdi + 5], r12b
mov byte [rdi + 4], cl
mov byte [rdi + 3], dl
mov byte [rdi + 2], r11b
mov byte [rdi + 8], bl
mov byte [rdi + 6], r10b
mov byte [rdi + 0xb], al
jmp 0x14002682f
mov byte [rdi - 9], al
mov eax, r8d
shr eax, 8
mov byte [rdi - 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rdi - 7], r10b
shr r10d, 0x18
mov byte [rdi - 0xb], r8b
shr r8d, 0x18
mov byte [rdi - 0xe], r8b
mov byte [rdi - 3], r12b
mov byte [rdi - 4], cl
mov byte [rdi - 5], dl
mov byte [rdi - 6], r11b
mov byte [rdi - 8], bl
mov byte [rdi - 0xa], r10b
mov byte [rdi - 0xd], al
add rdi, qword [rsp + 0x40]
mov qword [rsp + 0x48], rdi
mov r12, qword [rsp + 0x50]
lea rax, [rsi - 2]
mov r9, qword [rsp + 0x70]
movzx r10d, byte [rsp + 0xc8]
cmp rax, qword [rsp + 0x68]
jb 0x1400263a0
mov r12, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xc0]
test r14, r14
je 0x14002690f
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 4]
sub r14, rdx
mov eax, ecx
shr eax, 8
mov byte [r14 + 2], al
mov eax, ecx
mov byte [r14 + 3], cl
shr eax, 0x10
mov byte [r14 + 1], al
mov eax, r15d
shr eax, 8
shr ecx, 0x18
mov byte [r14], cl
sub r14, rdx
mov byte [r14 + 2], al
mov eax, r15d
mov byte [r14 + 3], r15b
shr eax, 0x10
mov byte [r14 + 1], al
mov eax, ebp
shr eax, 8
shr r15d, 0x18
mov byte [r14], r15b
sub r14, rdx
mov byte [r14 + 2], al
mov eax, ebp
mov byte [r14 + 3], bpl
shr eax, 0x10
mov byte [r14 + 1], al
mov eax, r13d
shr eax, 8
shr ebp, 0x18
mov byte [r14], bpl
sub r14, rdx
mov byte [r14 + 2], al
mov eax, r13d
shr eax, 0x10
mov byte [r14 + 3], r13b
shr r13d, 0x18
mov byte [r14], r13b
mov byte [r14 + 1], al
mov r13, qword [rsp + 0x88]
mov r15, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
pop r14
ret