Function at 0x1400bad70
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 [0x140199900]
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 0x1400badc0
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140055950
nop
cmp byte [rbx], 0
jne 0x1400badfb
mov byte [rbx], 1
call fcn.1400aff20
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400bae0f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400b4d30
jmp 0x1400bae13
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xa0]
mov rdx, rax
call fcn.1400adb20
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400bae61
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bae5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bae5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140111b1c
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 0x1400bae80
mov byte [rbp - 0x49], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x4a]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140055950
nop
cmp byte [rbx], 0
jne 0x1400baebb
mov byte [rbx], 1
call fcn.1400aff20
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400baecf
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400b4d30
jmp 0x1400baed3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xc0]
mov rdx, rax
call fcn.1400adb20
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400baf21
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400baf1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400baf1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140111b1c
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 0x1400baf40
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140055950
nop
cmp byte [rbx], 0
jne 0x1400baf7b
mov byte [rbx], 1
call fcn.1400aff20
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400baf8f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400b4d30
jmp 0x1400baf93
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xe0]
mov rdx, rax
call fcn.1400adb20
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400bafe1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bafdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bafdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140111b1c
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 0x1400bb000
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140055950
nop
cmp byte [rbx], 0
jne 0x1400bb03b
mov byte [rbx], 1
call fcn.1400aff20
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400bb04f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400b4d30
jmp 0x1400bb053
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x100]
mov rdx, rax
call fcn.1400adb20
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400bb0a1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bb09c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bb09c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140111b1c
movdqa xmm0, xmmword [0x140172ec0]
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 0x1400bb0c0
mov byte [rbp - 0x46], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x47]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140055950
nop
cmp byte [rbx], 0
jne 0x1400bb0fb
mov byte [rbx], 1
call fcn.1400aff20
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400bb10f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400b4d30
jmp 0x1400bb113
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x120]
mov rdx, rax
call fcn.1400adb20
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400bb162
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bb15c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bb15c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140111b1c
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.1400b6be0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140111f90
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret