Function at 0x1400ad910
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 [0x140480c38]
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], 0xd2ebf0ea
mov dword [rbp - 0x54], 0xf8f8ecfb
mov word [rbp - 0x50], 0x100
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x7c]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 8
jb 0x1400ad960
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140004a50
nop
cmp byte [rbx], 0
jne 0x1400ad99b
mov byte [rbx], 1
call fcn.1400a3360
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400ad9af
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400a8430
jmp 0x1400ad9b3
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x1400ad9be
mov r8, qword [rax + 8]
jmp 0x1400ad9c1
mov r8, rdi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400ad9ce
mov rdx, qword [r8]
lea rcx, [rsi + 0xa0]
mov r8, qword [r8 + 0x10]
call fcn.140004290
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400ada1d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ada18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ada18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7470
mov dword [rbp - 0x58], 0xc8ebf0ea
mov dword [rbp - 0x54], 0xe5e3e5e6
mov dword [rbp - 0x50], 0xeafdd8e9
mov dword [rbp - 0x4c], 0x100e2e2
mov rcx, rdi
nop dword [rax]
lea eax, [rcx - 0x7c]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0xe
jb 0x1400ada40
mov byte [rbp - 0x49], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x4a]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140004a50
nop
cmp byte [rbx], 0
jne 0x1400ada7b
mov byte [rbx], 1
call fcn.1400a3360
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400ada8f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400a8430
jmp 0x1400ada93
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x1400ada9e
mov r8, qword [rax + 8]
jmp 0x1400adaa1
mov r8, rdi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400adaae
mov rdx, qword [r8]
lea rcx, [rsi + 0xc0]
mov r8, qword [r8 + 0x10]
call fcn.140004290
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400adafd
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400adaf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400adaf8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7470
mov dword [rbp - 0x58], 0xccebf0ea
mov dword [rbp - 0x54], 0xf9f0ed
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x7c]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x1400adb20
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140004a50
nop
cmp byte [rbx], 0
jne 0x1400adb5b
mov byte [rbx], 1
call fcn.1400a3360
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400adb6f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400a8430
jmp 0x1400adb73
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x1400adb7e
mov r8, qword [rax + 8]
jmp 0x1400adb81
mov r8, rdi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400adb8e
mov rdx, qword [r8]
lea rcx, [rsi + 0xe0]
mov r8, qword [r8 + 0x10]
call fcn.140004290
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400adbdd
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400adbd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400adbd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7470
mov dword [rbp - 0x58], 0xf4f4e0f2
mov dword [rbp - 0x54], 0xe4e6e1
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x7c]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x1400adc00
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140004a50
nop
cmp byte [rbx], 0
jne 0x1400adc3b
mov byte [rbx], 1
call fcn.1400a3360
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400adc4f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400a8430
jmp 0x1400adc53
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x1400adc5e
mov r8, qword [rax + 8]
jmp 0x1400adc61
mov r8, rdi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400adc6e
mov rdx, qword [r8]
lea rcx, [rsi + 0x100]
mov r8, qword [r8 + 0x10]
call fcn.140004290
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400adcbd
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400adcb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400adcb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7470
movdqa xmm0, xmmword [0x1402101f0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x48], 0xff
mov byte [rbp - 0x46], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x7c]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0x11
jb 0x1400adce0
mov byte [rbp - 0x46], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x47]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140004a50
nop
cmp byte [rbx], 0
jne 0x1400add1b
mov byte [rbx], 1
call fcn.1400a3360
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400add2f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.1400a8430
jmp 0x1400add33
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x1400add3c
mov rdi, qword [rax + 8]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400add49
mov rdx, qword [rdi]
lea rcx, [rsi + 0x120]
mov r8, qword [rdi + 0x10]
call fcn.140004290
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400add99
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400add93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400add93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7470
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.1400aa2e0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400b7590
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret