Function at 0x1400e2110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push r14
lea rbp, [rsp - 0x68]
sub rsp, 0x168
xor r14d, r14d
mov r11d, edx
mov r10, rcx
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
nop word [rax + rax]
mov eax, dword [rcx]
add rcx, 4
inc dword [rsp + rax*4 + 0x20]
dec edx
jne 0x1400e2160
cmp dword [rsp + 0x20], r11d
jne 0x1400e2196
mov rax, qword [rbp + 0xa8]
mov qword [rax], r14
mov rax, qword [rbp + 0xb0]
mov dword [rax], r14d
xor eax, eax
add rsp, 0x168
pop r14
pop rbp
ret
mov r8, qword [rbp + 0xb0]
mov qword [rsp + 0x158], rsi
mov qword [rsp + 0x140], r13
mov esi, dword [r8]
mov qword [rsp + 0x138], r15
mov ecx, 1
nop dword [rax]
mov eax, ecx
cmp dword [rsp + rax*4 + 0x20], r14d
jne 0x1400e21d0
inc ecx
cmp ecx, 0xf
jbe 0x1400e21c0
cmp esi, ecx
mov r13d, ecx
mov edx, reloc.OLEAUT32.dll_SafeArrayDestroy
cmovb esi, ecx
lea rax, [rsp + 0x5c]
cmp dword [rax], r14d
jne 0x1400e21ef
sub rax, 4
dec edx
jne 0x1400e21e2
cmp esi, edx
mov dword [rbp + 0x88], edx
cmova esi, edx
mov dword [r8], esi
mov r8d, 1
shl r8d, cl
cmp ecx, edx
jae 0x1400e2222
nop word [rax + rax]
mov eax, ecx
sub r8d, dword [rsp + rax*4 + 0x20]
js 0x1400e2232
inc ecx
add r8d, r8d
cmp ecx, edx
jb 0x1400e2210
mov ecx, edx
mov eax, dword [rsp + rcx*4 + 0x20]
sub r8d, eax
mov dword [rsp + 0x14], r8d
jns 0x1400e223c
mov eax, 0xfffffffd
jmp 0x1400e2596
add eax, r8d
dec edx
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x150], rdi
mov dword [rsp + rcx*4 + 0x20], eax
mov dword [rsp + 0x74], r14d
mov ecx, r14d
mov qword [rsp + 0x148], r12
je 0x1400e2280
mov rax, r14
nop word [rax + rax]
add ecx, dword [rsp + rax + 0x24]
add rax, 4
dec edx
mov dword [rsp + rax + 0x74], ecx
jne 0x1400e2270
mov r15, qword [rbp + 0xc8]
mov edx, r14d
nop word [rax + rax]
mov eax, dword [r10]
add r10, 4
test eax, eax
je 0x1400e22ab
mov ecx, eax
mov eax, dword [rsp + rax*4 + 0x70]
mov dword [r15 + rax*4], edx
inc eax
mov dword [rsp + rcx*4 + 0x70], eax
inc edx
cmp edx, r11d
jb 0x1400e2290
movsxd r15, dword [rbp + 0x88]
mov rdx, qword [rbp + 0xc8]
or r12, 0xffffffffffffffff
mov eax, dword [rsp + r15*4 + 0x70]
mov r11d, esi
mov ebx, r14d
neg r11d
mov dword [rsp + 0x70], r14d
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], eax
mov qword [rbp - 0x50], r14
mov r9, r14
mov r10d, r14d
mov rdi, r12
cmp r13d, r15d
jg 0x1400e256a
nop word [rax + rax]
movsxd rax, r13d
lea rax, [rsp + rax*4 + 0x20]
mov qword [rsp + 0x60], rax
mov r8d, dword [rax]
test r8d, r8d
je 0x1400e2559
nop dword [rax]
dec r8d
lea ecx, [r11 + rsi]
mov dword [rbp + 0x80], r8d
cmp r13d, ecx
jle 0x1400e2450
mov eax, esi
lea r14d, [r8 + 1]
neg eax
lea r15d, [rax + rax]
nop word [rax + rax]
mov r9d, dword [rbp + 0x88]
inc r12d
inc rdi
sub r9d, ecx
mov r11d, ecx
mov ecx, r13d
cmp r9d, esi
mov edx, 1
cmova r9d, esi
sub ecx, r11d
shl edx, cl
cmp edx, r14d
jbe 0x1400e23b7
or eax, 0xffffffff
sub eax, r8d
mov r8, qword [rsp + 0x60]
add edx, eax
cmp ecx, r9d
jae 0x1400e23b7
inc ecx
cmp ecx, r9d
jae 0x1400e23b7
nop word [rax + rax]
mov eax, dword [r8 + 4]
add r8, 4
add edx, edx
cmp edx, eax
jbe 0x1400e23b7
inc ecx
sub edx, eax
cmp ecx, r9d
jb 0x1400e23a0
mov r8, qword [rbp + 0xc0]
mov r10d, 1
mov eax, dword [r8]
shl r10d, cl
lea edx, [rax + r10]
cmp edx, 0x5a0
ja 0x1400e25b9
mov r9, qword [rbp + 0xb8]
mov dword [r8], edx
lea r9, [r9 + rax*8]
mov qword [rbp + rdi*8 - 0x50], r9
test r12d, r12d
je 0x1400e242a
mov rdx, qword [rbp + rdi*8 - 0x58]
mov byte [rsp], cl
mov r8d, ebx
lea ecx, [r15 + r11]
mov rax, r9
mov byte [rsp + 1], sil
sub rax, rdx
add ecx, esi
mov dword [rsp + rdi*4 + 0x70], ebx
shr r8d, cl
sar rax, 3
sub eax, r8d
mov dword [rsp + 4], eax
mov rax, qword [rsp]
mov qword [rdx + r8*8], rax
jmp 0x1400e2434
mov rax, qword [rbp + 0xa8]
mov qword [rax], r9
mov r8d, dword [rbp + 0x80]
lea ecx, [r11 + rsi]
cmp r13d, ecx
jg 0x1400e2350
mov rdx, qword [rsp + 8]
xor r14d, r14d
mov rcx, qword [rbp + 0xc8]
movzx eax, r13b
sub al, r11b
mov byte [rsp + 1], al
mov eax, dword [rsp + 0x10]
lea rcx, [rcx + rax*4]
cmp rdx, rcx
jb 0x1400e2475
mov byte [rsp], 0xc0
jmp 0x1400e24c2
mov ecx, dword [rdx]
mov eax, dword [rbp + 0x90]
cmp ecx, eax
jae 0x1400e2499
mov eax, 0x60
cmp ecx, 0x100
mov dword [rsp + 4], ecx
cmovb eax, r14d
mov byte [rsp], al
jmp 0x1400e24b9
sub ecx, eax
mov rax, qword [rbp + 0xa0]
movzx eax, byte [rax + rcx*4]
add al, 0x50
mov byte [rsp], al
mov rax, qword [rbp + 0x98]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 4], eax
add rdx, 4
mov qword [rsp + 8], rdx
mov ecx, r13d
mov r8d, 1
mov edx, ebx
sub ecx, r11d
shl r8d, cl
mov ecx, r11d
shr edx, cl
cmp edx, r10d
jae 0x1400e24ed
mov rax, qword [rsp]
mov qword [r9 + rdx*8], rax
add edx, r8d
cmp edx, r10d
jb 0x1400e24e1
lea ecx, [r13 - 1]
mov eax, 1
shl eax, cl
test ebx, eax
je 0x1400e2508
nop dword [rax]
xor ebx, eax
shr eax, 1
test ebx, eax
jne 0x1400e2500
xor ebx, eax
mov ecx, r11d
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
cmp eax, dword [rsp + rdi*4 + 0x70]
je 0x1400e253d
nop
sub r11d, esi
mov eax, 1
dec rdi
mov ecx, r11d
dec r12d
shl eax, cl
dec eax
and eax, ebx
cmp eax, dword [rsp + rdi*4 + 0x70]
jne 0x1400e2520
mov r8d, dword [rbp + 0x80]
mov rdx, qword [rsp + 8]
test r8d, r8d
jne 0x1400e2320
mov r15d, dword [rbp + 0x88]
inc r13d
cmp r13d, r15d
jle 0x1400e2300
mov r8d, dword [rsp + 0x14]
test r8d, r8d
je 0x1400e257b
cmp r15d, 1
je 0x1400e257b
mov r14d, 0xfffffffb
mov eax, r14d
mov rdi, qword [rsp + 0x150]
mov r12, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x158]
mov r13, qword [rsp + 0x140]
mov r15, qword [rsp + 0x138]
add rsp, 0x168
pop r14
pop rbp
ret
mov eax, 0xfffffffd
jmp 0x1400e257e