Function at 0x1400bbe40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14019b900]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x18], rdx
xor edi, edi
mov dword [rbp - 0x58], 0xd4ed0a10
mov dword [rbp - 0x54], 0xf6f6e6f1
mov word [rbp - 0x50], 0x100
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x7e]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 8
jb 0x1400bbe90
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140055860
nop
cmp byte [rbx], 0
jne 0x1400bbecb
mov byte [rbx], 1
call fcn.1400b0ff0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400bbedf
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400b5e00
jmp 0x1400bbee3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xa0]
mov rdx, rax
call fcn.1400aebf0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400bbf31
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bbf2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bbf2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140112bec
mov dword [rbp - 0x58], 0xceed0a10
mov dword [rbp - 0x54], 0xebedefec
mov dword [rbp - 0x50], 0xecfbd2e3
mov dword [rbp - 0x4c], 0x100f8f8
mov rcx, rdi
lea eax, [rcx + 0x7e]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0xe
jb 0x1400bbf50
mov byte [rbp - 0x49], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x4a]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140055860
nop
cmp byte [rbx], 0
jne 0x1400bbf8b
mov byte [rbx], 1
call fcn.1400b0ff0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400bbf9f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400b5e00
jmp 0x1400bbfa3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xc0]
mov rdx, rax
call fcn.1400aebf0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400bbff1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bbfec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bbfec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140112bec
mov dword [rbp - 0x58], 0xcaed0a10
mov dword [rbp - 0x54], 0xf7fae7
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx + 0x7e]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x1400bc010
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140055860
nop
cmp byte [rbx], 0
jne 0x1400bc04b
mov byte [rbx], 1
call fcn.1400b0ff0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400bc05f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400b5e00
jmp 0x1400bc063
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xe0]
mov rdx, rax
call fcn.1400aebf0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400bc0b1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc0ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc0ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140112bec
mov dword [rbp - 0x58], 0xf2f21a08
mov dword [rbp - 0x54], 0xeaeceb
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx + 0x7e]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x1400bc0d0
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140055860
nop
cmp byte [rbx], 0
jne 0x1400bc10b
mov byte [rbx], 1
call fcn.1400b0ff0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400bc11f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400b5e00
jmp 0x1400bc123
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x100]
mov rdx, rax
call fcn.1400aebf0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400bc171
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc16c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc16c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140112bec
movdqa xmm0, xmmword [0x140174d90]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x48], 0xe5
mov byte [rbp - 0x46], 1
nop dword [rax + rax]
lea eax, [rdi + 0x7e]
xor byte [rbp + rdi - 0x58], al
inc rdi
cmp rdi, 0x11
jb 0x1400bc190
mov byte [rbp - 0x46], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x47]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140055860
nop
cmp byte [rbx], 0
jne 0x1400bc1cb
mov byte [rbx], 1
call fcn.1400b0ff0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400bc1df
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400b5e00
jmp 0x1400bc1e3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x120]
mov rdx, rax
call fcn.1400aebf0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400bc232
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc22c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc22c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140112bec
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.1400b7cb0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140113060
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret