Function at 0x1400e4be0
Capabilities:
Encode data using xor
Encrypt data using chaskey

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x18
cmp dword [rsp + 0x68], 0
mov eax, dword [rcx + 0x34]
mov r8d, dword [rcx]
mov r9d, dword [rcx + 4]
mov r10d, dword [rcx + 8]
mov r11d, dword [rcx + 0xc]
mov edx, dword [rcx + 0x10]
mov ebx, dword [rcx + 0x14]
mov edi, dword [rcx + 0x18]
mov esi, dword [rcx + 0x1c]
mov r14d, dword [rcx + 0x20]
mov r15d, dword [rcx + 0x24]
mov r12d, dword [rcx + 0x28]
mov ebp, dword [rcx + 0x2c]
mov r13d, dword [rcx + 0x30]
mov dword [rsp], eax
mov eax, dword [rcx + 0x38]
mov dword [rsp + 0x70], eax
mov eax, dword [rcx + 0x3c]
mov dword [rsp + 0x78], eax
je 0x1400e2642
mov ecx, dword [rsp]
nop dword [rax]
lea eax, [r8 + r13]
rol eax, 7
xor edx, eax
lea eax, [rdx + r8]
rol eax, 9
xor r14d, eax
lea eax, [r14 + rdx]
rol eax, 0xd
xor r13d, eax
lea eax, [r14 + r13]
ror eax, 0xe
xor r8d, eax
lea eax, [rbx + r9]
rol eax, 7
xor r15d, eax
lea eax, [r15 + rbx]
rol eax, 9
xor ecx, eax
mov dword [rsp], ecx
lea eax, [rcx + r15]
rol eax, 0xd
xor r9d, eax
lea eax, [rcx + r9]
mov ecx, dword [rsp + 0x78]
ror eax, 0xe
xor ebx, eax
lea eax, [r12 + rdi]
rol eax, 7
xor dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
add eax, r12d
rol eax, 9
xor r10d, eax
mov eax, dword [rsp + 0x70]
add eax, r10d
rol eax, 0xd
xor edi, eax
lea eax, [rdi + r10]
ror eax, 0xe
xor r12d, eax
mov eax, dword [rsp + 0x78]
add eax, ebp
rol eax, 7
xor r11d, eax
mov eax, dword [rsp + 0x78]
add eax, r11d
rol eax, 9
xor esi, eax
lea eax, [rsi + r11]
rol eax, 0xd
xor ebp, eax
lea eax, [rsi + rbp]
ror eax, 0xe
xor ecx, eax
lea eax, [r11 + r8]
rol eax, 7
xor r9d, eax
mov dword [rsp + 0x78], ecx
lea eax, [r9 + r8]
rol eax, 9
xor r10d, eax
lea eax, [r10 + r9]
rol eax, 0xd
xor r11d, eax
lea eax, [r11 + r10]
ror eax, 0xe
xor r8d, eax
lea eax, [rbx + rdx]
rol eax, 7
xor edi, eax
lea eax, [rdi + rbx]
rol eax, 9
xor esi, eax
lea eax, [rsi + rdi]
rol eax, 0xd
xor edx, eax
lea eax, [rsi + rdx]
ror eax, 0xe
xor ebx, eax
lea eax, [r12 + r15]
rol eax, 7
xor ebp, eax
lea eax, [r12 + rbp]
rol eax, 9
xor r14d, eax
lea eax, [r14 + rbp]
rol eax, 0xd
xor r15d, eax
lea eax, [r15 + r14]
ror eax, 0xe
xor r12d, eax
mov eax, dword [rsp + 0x70]
add eax, ecx
rol eax, 7
xor r13d, eax
mov eax, ecx
mov ecx, dword [rsp]
add eax, r13d
rol eax, 9
xor ecx, eax
mov dword [rsp], ecx
lea eax, [rcx + r13]
rol eax, 0xd
xor dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
add eax, ecx
ror eax, 0xe
xor dword [rsp + 0x78], eax
add dword [rsp + 0x68], 0xfffffffe
jne 0x1400e24e0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp]
add dword [rcx + 0x34], eax
mov eax, dword [rsp + 0x70]
add dword [rcx + 0x38], eax
add dword [rcx], r8d
add dword [rcx + 4], r9d
add dword [rcx + 8], r10d
add dword [rcx + 0xc], r11d
add dword [rcx + 0x10], edx
add dword [rcx + 0x14], ebx
add dword [rcx + 0x18], edi
add dword [rcx + 0x1c], esi
add dword [rcx + 0x20], r14d
add dword [rcx + 0x24], r15d
add dword [rcx + 0x28], r12d
add dword [rcx + 0x2c], ebp
add dword [rcx + 0x30], r13d
mov eax, dword [rsp + 0x78]
add dword [rcx + 0x3c], eax
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov ebp, dword [rcx]
mov eax, edx
mov edx, dword [rcx + 0x14]
mov r14d, dword [rcx + 4]
mov r15d, dword [rcx + 8]
mov r12d, dword [rcx + 0xc]
mov r10d, dword [rcx + 0x10]
mov r13d, dword [rcx + 0x20]
mov r8d, dword [rcx + 0x28]
mov r9d, dword [rcx + 0x2c]
mov r11d, dword [rcx + 0x30]
mov ebx, dword [rcx + 0x34]
mov edi, dword [rcx + 0x38]
mov esi, dword [rcx + 0x3c]
mov dword [rsp + 0xc], edx
mov edx, dword [rcx + 0x18]
mov dword [rsp], edx
mov edx, dword [rcx + 0x1c]
mov dword [rsp + 4], edx
mov edx, dword [rcx + 0x24]
test eax, eax
je 0x1400e289b
mov ecx, edx
nop word [rax + rax]
add r14d, dword [rsp + 0xc]
add ebp, r10d
add r15d, dword [rsp]
xor r11d, ebp
add r12d, dword [rsp + 4]
xor ebx, r14d
xor esi, r12d
rol r11d, 0x10
add r13d, r11d
rol esi, 0x10
add r9d, esi
rol ebx, 0x10
add ecx, ebx
xor edi, r15d
rol edi, 0x10
mov eax, r13d
xor eax, r10d
add r8d, edi
rol eax, 0xc
add ebp, eax
xor r11d, ebp
rol r11d, 8
add r13d, r11d
mov r10d, r13d
xor r10d, eax
mov eax, ecx
xor eax, dword [rsp + 0xc]
rol eax, 0xc
add r14d, eax
rol r10d, 7
xor ebx, r14d
rol ebx, 8
add ecx, ebx
mov edx, ecx
xor edx, eax
mov eax, r8d
xor eax, dword [rsp]
rol eax, 0xc
add r15d, eax
rol edx, 7
add ebp, edx
xor edi, r15d
rol edi, 8
add r8d, edi
mov dword [rsp + 0x70], r8d
xor r8d, eax
mov eax, r9d
rol r8d, 7
xor eax, dword [rsp + 4]
add r14d, r8d
rol eax, 0xc
xor r11d, r14d
add r12d, eax
rol r11d, 0x10
xor esi, r12d
rol esi, 8
add r9d, esi
xor esi, ebp
rol esi, 0x10
mov dword [rsp + 0x78], r9d
xor r9d, eax
mov eax, dword [rsp + 0x70]
add eax, esi
rol r9d, 7
mov dword [rsp + 0x70], eax
xor eax, edx
mov edx, dword [rsp + 0x70]
rol eax, 0xc
add ebp, eax
xor esi, ebp
rol esi, 8
add edx, esi
mov dword [rsp + 0x70], edx
xor edx, eax
rol edx, 7
mov dword [rsp + 0xc], edx
mov edx, dword [rsp + 0x78]
add edx, r11d
mov eax, edx
xor eax, r8d
rol eax, 0xc
mov r8d, dword [rsp + 0x70]
add r14d, eax
add r12d, r10d
add r15d, r9d
xor ebx, r15d
xor edi, r12d
rol ebx, 0x10
xor r11d, r14d
add r13d, ebx
rol edi, 0x10
add ecx, edi
rol r11d, 8
add edx, r11d
mov dword [rsp + 0x78], edx
xor edx, eax
rol edx, 7
mov eax, r13d
xor eax, r9d
mov dword [rsp], edx
mov r9d, dword [rsp + 0x78]
rol eax, 0xc
add r15d, eax
xor ebx, r15d
rol ebx, 8
add r13d, ebx
mov edx, r13d
xor edx, eax
mov eax, ecx
xor eax, r10d
rol edx, 7
rol eax, 0xc
add r12d, eax
mov dword [rsp + 4], edx
xor edi, r12d
rol edi, 8
add ecx, edi
mov r10d, ecx
xor r10d, eax
rol r10d, 7
add dword [rsp + 0x68], 0xfffffffe
jne 0x1400e2710
mov dword [rsp + 8], ecx
mov edx, dword [rsp + 8]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0xc]
add dword [rcx + 0x14], eax
mov eax, dword [rsp]
add dword [rcx + 0x18], eax
mov eax, dword [rsp + 4]
add dword [rcx + 0x1c], eax
add dword [rcx], ebp
add dword [rcx + 4], r14d
add dword [rcx + 8], r15d
add dword [rcx + 0xc], r12d
add dword [rcx + 0x10], r10d
add dword [rcx + 0x20], r13d
add dword [rcx + 0x24], edx
add dword [rcx + 0x28], r8d
add dword [rcx + 0x2c], r9d
add dword [rcx + 0x30], r11d
add dword [rcx + 0x34], ebx
add dword [rcx + 0x38], edi
add dword [rcx + 0x3c], esi
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push r12
push r13
push r14
sub rsp, 0x28
movzx ebp, r9b
mov esi, r9d
mov r13d, r8d
mov r10, rdx
mov r14, rcx
mov r12d, 2
cmp r8d, 1
jne 0x1400e4cde
lea r8, [rcx + 0x40]
sub r8, rcx
lea rdx, [rcx + 8]
mov ecx, r12d
nop word [rax + rax]
mov rax, qword [r8 + rdx - 8]
xor qword [rdx - 8], rax
mov rax, qword [r8 + rdx]
xor qword [rdx], rax
mov rax, qword [r8 + rdx + 8]
xor qword [rdx + 8], rax
mov rax, qword [r8 + rdx + 0x10]
xor qword [rdx + 0x10], rax
lea rdx, [rdx + 0x20]
sub rcx, 1
jne 0x1400e4c30
mov edx, ebp
mov rcx, r14
cmp esi, 0x100
jb 0x1400e4c70
call 0x1400e26a0
jmp 0x1400e4c75
call 0x1400e2470
mov r9, 0xffffffffffffffc0
lea r8, [r14 + 0x48]
mov rax, qword [r9 + r8 - 8]
xor qword [r8 - 8], rax
mov rax, qword [r8 + r9]
xor qword [r8], rax
mov rax, qword [r9 + r8 + 8]
xor qword [r8 + 8], rax
mov rax, qword [r9 + r8 + 0x10]
xor qword [r8 + 0x10], rax
lea r8, [r8 + 0x20]
sub r12, 1
jne 0x1400e4c80
lea rcx, [r14 + 0x40]
mov edx, ebp
cmp esi, 0x100
jb 0x1400e4ccc
add rsp, 0x28
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
jmp 0x1400e26a0
add rsp, 0x28
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
jmp 0x1400e2470
mov qword [rsp + 0x60], rdi
cmp r13d, 2
jne 0x1400e4ead
add rcx, 8
lea rdx, [r14 + 0xc0]
sub rdx, r14
mov r8, r12
nop
mov rax, qword [rdx + rcx - 8]
xor qword [rcx - 8], rax
mov rax, qword [rdx + rcx]
xor qword [rcx], rax
mov rax, qword [rdx + rcx + 8]
xor qword [rcx + 8], rax
mov rax, qword [rdx + rcx + 0x10]
xor qword [rcx + 0x10], rax
lea rcx, [rcx + 0x20]
sub r8, 1
jne 0x1400e4d00
mov edx, ebp
mov rcx, r14
cmp esi, 0x100
jb 0x1400e4d40
call 0x1400e26a0
jmp 0x1400e4d45
call 0x1400e2470
mov r9, 0xffffffffffffffc0
lea rcx, [r14 + 0x48]
mov rdx, r12
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r9 + rcx - 8]
xor qword [rcx - 8], rax
mov rax, qword [rcx + r9]
xor qword [rcx], rax
mov rax, qword [r9 + rcx + 8]
xor qword [rcx + 8], rax
mov rax, qword [r9 + rcx + 0x10]
xor qword [rcx + 0x10], rax
lea rcx, [rcx + 0x20]
sub rdx, 1
jne 0x1400e4d60
lea rcx, [r14 + 0x40]
mov edx, ebp
cmp esi, 0x100
jb 0x1400e4da1
call 0x1400e26a0
jmp 0x1400e4da6
call 0x1400e2470
lea rcx, [r14 + 0x80]
mov r8, r12
lea rdx, [rcx + 8]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdx - 0x48]
xor qword [rdx - 8], rax
mov rax, qword [rdx - 0x40]
xor qword [rdx], rax
mov rax, qword [rdx - 0x38]
xor qword [rdx + 8], rax
mov rax, qword [rdx - 0x30]
xor qword [rdx + 0x10], rax
lea rdx, [rdx + 0x20]
sub r8, 1
jne 0x1400e4dc0
mov edx, ebp
cmp esi, 0x100
jb 0x1400e4dfa
call 0x1400e26a0
jmp 0x1400e4dff
call 0x1400e2470
lea rdx, [r14 + 0xc8]
mov r8, r12
nop dword [rax]
mov rax, qword [rdx - 0x48]
xor qword [rdx - 8], rax
mov rax, qword [rdx - 0x40]
xor qword [rdx], rax
mov rax, qword [rdx - 0x38]
xor qword [rdx + 8], rax
mov rax, qword [rdx - 0x30]
xor qword [rdx + 0x10], rax
lea rdx, [rdx + 0x20]
sub r8, 1
jne 0x1400e4e10
lea rcx, [r14 + 0xc0]
mov edx, ebp
cmp esi, 0x100
jb 0x1400e4e51
call 0x1400e26a0
jmp 0x1400e4e56
call 0x1400e2470
lea r10, [r14 + 0x50]
nop word [rax + rax]
mov rax, qword [r10 + 0x30]
mov r9, qword [r10 - 0x10]
mov rdx, qword [r10 - 8]
mov r8, qword [r10]
mov rcx, qword [r10 + 8]
mov qword [r10 - 0x10], rax
mov rax, qword [r10 + 0x38]
mov qword [r10 - 8], rax
mov rax, qword [r10 + 0x40]
mov qword [r10], rax
mov rax, qword [r10 + 0x48]
mov qword [r10 + 8], rax
mov qword [r10 + 0x30], r9
mov qword [r10 + 0x38], rdx
mov qword [r10 + 0x40], r8
mov qword [r10 + 0x48], rcx
lea r10, [r10 + 0x20]
sub r12, 1
jne 0x1400e4e60
jmp 0x1400e50d9
mov qword [rsp + 0x20], r15
lea eax, [r8*2]
xor r15d, r15d
mov edi, r15d
test eax, eax
je 0x1400e5001
mov r15d, dword [rsp + 0x78]
nop dword [rax]
test edi, edi
je 0x1400e4f2e
mov eax, edi
shl eax, 4
lea rcx, [r14 + rax*4]
lea eax, [rdi - 1]
shl eax, 4
lea rdx, [rcx + 8]
lea r8, [r14 + rax*4]
sub r8, rcx
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r8 + rdx - 8]
xor qword [rdx - 8], rax
mov rax, qword [r8 + rdx]
xor qword [rdx], rax
mov rax, qword [r8 + rdx + 8]
xor qword [rdx + 8], rax
mov rax, qword [r8 + rdx + 0x10]
xor qword [rdx + 0x10], rax
lea rdx, [rdx + 0x20]
sub rcx, 1
jne 0x1400e4f00
jmp 0x1400e4f7c
mov eax, r13d
lea rcx, [r14 + 8]
shl eax, 5
mov r8, r12
sub eax, 0x10
lea rdx, [r14 + rax*4]
sub rdx, r14
nop word [rax + rax]
mov rax, qword [rdx + rcx - 8]
xor qword [rcx - 8], rax
mov rax, qword [rdx + rcx]
xor qword [rcx], rax
mov rax, qword [rdx + rcx + 8]
xor qword [rcx + 8], rax
mov rax, qword [rdx + rcx + 0x10]
xor qword [rcx + 0x10], rax
lea rcx, [rcx + 0x20]
sub r8, 1
jne 0x1400e4f50
mov eax, edi
mov edx, ebp
shl eax, 4
lea rsi, [rax*4]
lea rbx, [rsi + r14]
mov rcx, rbx
cmp r15d, 0x100
jb 0x1400e4fa2
call 0x1400e26a0
jmp 0x1400e4fa7
call 0x1400e2470
mov r10, qword [rsp + 0x68]
mov rdx, r12
lea rax, [rsi + r10]
lea rcx, [rax + 8]
sub rbx, rax
nop word [rax + rax]
mov rax, qword [rbx + rcx - 8]
mov qword [rcx - 8], rax
mov rax, qword [rbx + rcx]
mov qword [rcx], rax
mov rax, qword [rbx + rcx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rbx + rcx + 0x10]
mov qword [rcx + 0x10], rax
lea rcx, [rcx + 0x20]
sub rdx, 1
jne 0x1400e4fc0
inc edi
lea eax, [r13*2]
cmp edi, eax
jb 0x1400e4ed0
xor r15d, r15d
mov r9d, r15d
test r13d, r13d
je 0x1400e50d4
nop dword [rax]
mov eax, r9d
shl eax, 4
lea rcx, [r14 + rax*4]
mov eax, r9d
shl eax, 5
lea rdx, [rcx + 8]
lea r8, [r10 + rax*4]
sub r8, rcx
mov rcx, r12
nop
mov rax, qword [r8 + rdx - 8]
mov qword [rdx - 8], rax
mov rax, qword [r8 + rdx]
mov qword [rdx], rax
mov rax, qword [r8 + rdx + 8]
mov qword [rdx + 8], rax
mov rax, qword [r8 + rdx + 0x10]
mov qword [rdx + 0x10], rax
lea rdx, [rdx + 0x20]
sub rcx, 1
jne 0x1400e5030
inc r9d
cmp r9d, r13d
jb 0x1400e5010
nop dword [rax]
nop dword [rax + rax]
lea eax, [r15 + r13]
mov rdx, r12
shl eax, 4
lea rcx, [r14 + rax*4]
mov eax, r15d
shl eax, 5
add eax, 0x10
lea r8, [r10 + rax*4]
sub r8, rcx
lea rax, [rcx + 8]
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r8 + rax - 8]
mov qword [rax - 8], rcx
mov rcx, qword [r8 + rax]
mov qword [rax], rcx
mov rcx, qword [r8 + rax + 8]
mov qword [rax + 8], rcx
mov rcx, qword [r8 + rax + 0x10]
mov qword [rax + 0x10], rcx
lea rax, [rax + 0x20]
sub rdx, 1
jne 0x1400e50a0
inc r15d
cmp r15d, r13d
jb 0x1400e5070
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x60]
add rsp, 0x28
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret