Function at 0x1400be910
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
xchg r10, r10
push rax
mov qword [rsp], rbp
nop
mov qword [rsp - 8], rdi
sub rsp, 8
push r12
mov dword [rsp - 0x24], 0x5a2be647
nop
mov qword [rsp - 8], r14
sub rsp, 8
nop
mov qword [rsp - 8], r15
sub rsp, 8
lea rbp, [rsp - 0x100]
mov dword [rsp - 0x3c], ecx
sub rsp, 0x200
xchg r11, rax
mov r11, qword [rdx]
xchg r11, rax
lea rcx, [rsp + 0x70]
xorps xmm0, xmm0
mov dword [rsp - 0x2c], 0xaaaa215
mov dword [rsp + 0x30], 0x4faeb75d
sub dword [rsp + 0x30], 0x47112607
add dword [rsp + 0x30], 0x1d475fa0
add dword [rsp + 0x30], 0x2181010
xor r15d, r15d
xchg rbp, rbp
mov dword [rsp + 0x34], 0x1cec66b9
add dword [rsp + 0x34], 0x5f668703
xor dword [rsp + 0x34], 0x5d49dd01
add dword [rsp + 0x34], 0x2ad9ae41
xor dword [rsp + 0x34], 0x365cee8
xchg rsp, rdi
mov rsp, rdx
xchg rdi, rsp
mov dword [rsp + 0x38], 0x1186399c
sub dword [rsp + 0x38], 0x623eaf9
xor dword [rsp + 0x38], 0x3a337f03
xor dword [rsp + 0x38], 0x124296b5
xor dword [rsp + 0x38], 0xef0a560
xchg rdi, r14
mov rdi, qword [rax + 0xa0]
xchg r14, rdi
lea rdx, [rsp + 0x70]
mov word [rsp + 0x3c], 0x4b21
add word [rsp + 0x3c], 0xa71
add word [rsp + 0x3c], 0x1e9a
sub word [rsp + 0x3c], 0x1014
xchg rsp, rbx
mov rsp, r9
xchg rbx, rsp
mov qword [rsp + 0x68], rcx
lea eax, [r15 + 0xe]
mov dword [rsp - 0x14], ebp
xchg r10, rax
mov qword [rbp - 0x60], r10
xchg r10, rax
xchg r9, r8
mov rsi, r9
xchg r9, r8
movups xmmword [rsp + 0x70], xmm0
mov r13, r13
xchg rdi, rbp
movups xmmword [rdi - 0x80], xmm0
xchg rbp, rdi
xchg rbp, rdi
movups xmmword [rdi - 0x70], xmm0
xchg rbp, rdi
cmp rcx, rdx
je 0x1400bea7d
xchg rbp, rbp
call fcn.140099230
xchg r8, rax
mov r8, qword [rbp - 0x60]
xchg r8, rax
lea rdx, [rsp + 0x70]
mov rcx, rcx
xorps xmm0, xmm0
xchg rdx, r11
mov qword [rsp + 0x68], r11
xchg r11, rdx
xchg r11, r15
mov rcx, r11
xchg r15, r11
xchg r13, rsp
movups xmmword [r13 + 0x70], xmm0
xchg r13, rsp
xchg r8, rbp
movups xmmword [r8 - 0x80], xmm0
xchg rbp, r8
movups xmmword [rbp - 0x70], xmm0
xchg rsi, rsi
test rax, rax
je 0x1400beae3
movzx eax, byte [rsp + rcx + 0x30]
mov dword [rsp - 0x40], 0x3c681130
mov word [rdx + rcx*2], ax
inc rcx
cmp rcx, qword [rbp - 0x60]
jb 0x1400beac2
xchg r9, r9
mov r8, rsi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.140054840
mov dword [rsp - 0x14], ecx
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140074840
mov dword [rsp + 0x50], 0x5d684d83
add dword [rsp + 0x50], 0x1824bef3
sub dword [rsp + 0x50], 0x280c9f7
sub dword [rsp + 0x50], 0x54187e54
sub dword [rsp + 0x50], 0x1edec429
mov r12d, 0x43a1f2e9
sub r12d, 0x409b6ece
add r12d, 0x41e9042e
sub r12d, 0x44ef8846
xchg r8, rsp
mov rsp, qword [rax]
xchg r8, rsp
mov eax, 0x5b0b9f86
sub eax, 0x1f663cc0
add eax, 0x197c82ee
xor eax, 0x489fcd93
xor eax, 0x1dbe28da
mov word [rsp + 0x54], ax
mov dword [rsp - 0x1c], ebx
xchg r11, r15
mov qword [rsp + 0x40], r11
xchg r15, r11
mov rax, qword [rsp + 0x40]
xchg rsp, rsp
xchg r10, rcx
mov r10, qword [rsp + 0x40]
xchg r10, rcx
xchg r8, rax
mov r8, qword [rsp + 0x40]
xchg r8, rax
and cl, r12b
mov r14, r14
shl cl, 1
shl cl, 1
shl cl, 1
movzx edx, word [rsp + rax*2 + 0x50]
mov dword [rsp - 0x2c], 0xe77d3cc
mov eax, 0x2aa5ff59
add eax, 0x284027b6
sub eax, 0x50897912
xor eax, 0x60ede9a8
shr eax, cl
xchg r11, r11
movzx ecx, al
xchg r8, rax
mov r8, qword [rsp + 0x40]
xchg r8, rax
xor cx, dx
xchg rdx, rdx
mov word [rsp + rax*2 + 0x60], cx
mov rax, qword [rsp + 0x40]
inc rax
xchg rbp, rax
mov qword [rsp + 0x40], rbp
xchg rbp, rax
mov rax, qword [rsp + 0x40]
cmp rax, r12
jb 0x1400beb85
mov dword [rsp - 0x34], esi
lea rax, [rsp + 0x58]
mov word [rsp + 0x66], r15w
xchg rsi, rax
mov qword [rsp + 0x28], rsi
xchg rsi, rax
lea rdx, [rsp + 0x60]
xor r9d, r9d
xchg r10, r10
mov qword [rsp + 0x20], r15
xchg rdi, rbp
mov rcx, rbp
xchg rdi, rbp
call r14
mov dword [rsp - 0x30], 0x7a62c9b0
test eax, eax
js 0x1400bec56
mov sil, r15b
cmp qword [rsp + 0x58], r15
xchg r10, r10
jne 0x1400bec65
mov sil, 0x7d
sub sil, 0x3b
add sil, 0x37
sub sil, 0x78
xor eax, eax
mov dword [rsp - 0x24], edi
lea rdi, [rsp + 0x60]
xchg rcx, r12
mov r12, rcx
xchg rcx, r12
rep stosb byte [rdi], al
mov rcx, qword [rbp - 0x18]
mov dword [rsp - 0x1c], 0x15706c14
lea rax, [rbp - 0x10]
cmp rcx, rax
jne 0x1400becc6
mov dword [rsp - 0x28], 0x7e5a38fb
lea rdi, [rbp - 0x10]
xor eax, eax
mov ecx, 0x2433996
xor ecx, 0x3bf15831
sub ecx, 0x20d0d004
xor ecx, 0x42c5b518
sub ecx, 0x5a2423bb
rep stosb byte [rdi], al
jmp 0x1400becd3
call fcn.140099230
mov dword [rsp - 0x20], 0x44d8f2b3
mov rcx, qword [rbp - 0x58]
lea rax, [rbp - 0x50]
mov r14d, 0xf722f80
xor r14d, 0x7aebc246
sub r14d, 0x3c9d0a46
add r14d, 0x38d0de3c
xor r14d, 0x71cdc18c
cmp rcx, rax
jne 0x1400bed1d
lea rdi, [rbp - 0x50]
xchg rdx, rdx
xor eax, eax
mov ecx, r14d
rep stosb byte [rdi], al
mov dword [rsp - 0x3c], esi
jmp 0x1400bed22
call fcn.140099230
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov r13, r13
cmp rcx, rax
jne 0x1400bed57
lea rdi, [rsp + 0x70]
xor eax, eax
mov dword [rsp - 0x10], ebx
xchg rcx, r9
mov r9, r14
xchg r9, rcx
rep stosb byte [rdi], al
mov dword [rsp - 0x44], ecx
jmp 0x1400bed5f
call fcn.140099230
mov rsp, rsp
test sil, sil
je 0x1400bedd1
cmp qword [rbx + 0x78], 0x78
mov dword [rsp - 0x38], 0x186331d8
jbe 0x1400beda5
xchg r10, rcx
mov r10, qword [rbx]
xchg rcx, r10
xor edx, edx
mov rax, qword [rcx]
mov dword [rsp - 0x28], edi
call qword [rax]
xchg rcx, rbp
mov rbp, qword [rbx]
xchg rcx, rbp
call fcn.140099230
mov rcx, rcx
jmp 0x1400bedca
cmp qword [rbx + 0x78], r15
jbe 0x1400bedca
mov rax, qword [rbx]
xchg r15, r15
xor edx, edx
xchg rbx, rcx
mov rbx, rcx
xchg rcx, rbx
call qword [rax]
mov dword [rsp - 0x30], 0x45af2586
xor al, al
jmp 0x1400bef27
or edi, 0xffffffff
mov dword [rsp - 0x28], esi
jmp 0x1400bee71
cmp dword [rbp + 0x138], r15d
je 0x1400beec1
mov dword [rsp - 0x14], ecx
xchg r11, rcx
mov r11, qword [rsp + 0x48]
xchg r11, rcx
mov edx, 0x2e800994
add edx, 0x76fee0e
add edx, 0x1be49670
sub edx, 0x51d48dd2
mov rax, qword [rcx]
xchg r13, r13
call qword [rax + 0x40]
cmp qword [rbx + 0x78], 0x78
jbe 0x1400bee32
xchg r8, rcx
mov r8, qword [rbx]
xchg rcx, r8
jmp 0x1400bee41
cmp qword [rbx + 0x78], r15
mov rcx, r15
cmova rcx, rbx
mov dword [rsp - 0x30], esi
mov rax, qword [rcx]
xchg rdx, r15
mov r15, qword [rsp + 0x48]
xchg rdx, r15
call qword [rax + 8]
xchg r15, rcx
mov r15, qword [rsp + 0x48]
xchg rcx, r15
mov rax, qword [rcx]
call qword [rax + 0x50]
xchg r14, r14
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
xchg rdi, rcx
mov rdi, qword [rsp + 0x58]
xchg rdi, rcx
lea rdx, [rbp + 0x138]
xchg rdx, rbx
mov qword [rsp + 0x20], rbx
xchg rbx, rdx
lea r9, [rsp + 0x48]
mov r8d, 0x49b9ce22
sub r8d, 0x41556aa4
xor r8d, 0x5133ff3b
sub r8d, 0x59579c44
mov edx, edi
mov rax, qword [rcx]
xchg r10, r10
call qword [rax + 0x20]
test eax, eax
jns 0x1400beddd
mov rcx, qword [rsp + 0x58]
xchg r12, r12
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [rbx + 0x78], 0x78
xchg r12, r12
jbe 0x1400bef03
xchg rcx, r10
mov r10, qword [rbx]
xchg r10, rcx
xor edx, edx
mov rdx, rdx
mov rax, qword [rcx]
call qword [rax]
xchg r10, rcx
mov r10, qword [rbx]
xchg r10, rcx
call fcn.140099230
jmp 0x1400bef1d
cmp qword [rbx + 0x78], r15
jbe 0x1400bef1d
xchg rsp, rsp
mov rdi, qword [rbx]
xor edx, edx
mov rcx, rbx
mov r13, r13
call qword [rdi]
mov al, 0x1d
xor al, 0xe
add al, 0x18
add al, 0x26
xor al, 0x50
lea r11, [rsp + 0x200]
mov qword [rbx + 0x78], r15
mov r13, r13
xchg rsi, rbx
mov rsi, qword [r11 + 0x30]
xchg rbx, rsi
mov rsi, qword [r11 + 0x40]
mov dword [rsp - 0x20], edi
xchg rsp, r11
mov r11, rsp
xchg rsp, r11
nop
add rsp, 8
mov r15, qword [rsp - 8]
nop
add rsp, 8
mov r14, qword [rsp - 8]
nop
add rsp, 8
mov r12, qword [rsp - 8]
nop
add rsp, 8
mov rdi, qword [rsp - 8]
pop rbp
mov r8, r8
ret