Function at 0x14001f160
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 [0x140093088]
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], 0xecd5c2d8
mov dword [rbp - 0x54], 0xcecedec9
mov word [rbp - 0x50], 0x100
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 8
jb 0x14001f1b0
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140011b20
nop
cmp byte [rbx], 0
jne 0x14001f1eb
mov byte [rbx], 1
call fcn.140013e60
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14001f1ff
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140018c50
jmp 0x14001f203
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xa0]
mov rdx, rax
call fcn.140011c50
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14001f251
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f24c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f24c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400731ac
mov dword [rbp - 0x58], 0xf6d5c2d8
mov dword [rbp - 0x54], 0xd3d5d7d4
mov dword [rbp - 0x50], 0xa4b3eadb
mov dword [rbp - 0x4c], 0x100b0b0
mov rcx, rdi
lea eax, [rcx - 0x4a]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0xe
jb 0x14001f270
mov byte [rbp - 0x49], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x4a]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140011b20
nop
cmp byte [rbx], 0
jne 0x14001f2ab
mov byte [rbx], 1
call fcn.140013e60
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14001f2bf
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140018c50
jmp 0x14001f2c3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xc0]
mov rdx, rax
call fcn.140011c50
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14001f311
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f30c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f30c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400731ac
mov dword [rbp - 0x58], 0xf2d5c2d8
mov dword [rbp - 0x54], 0xcfc2df
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x14001f330
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140011b20
nop
cmp byte [rbx], 0
jne 0x14001f36b
mov byte [rbx], 1
call fcn.140013e60
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14001f37f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140018c50
jmp 0x14001f383
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xe0]
mov rdx, rax
call fcn.140011c50
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14001f3d1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f3cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f3cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400731ac
mov dword [rbp - 0x58], 0xcacad2c0
mov dword [rbp - 0x54], 0xd2d4d3
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x14001f3f0
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140011b20
nop
cmp byte [rbx], 0
jne 0x14001f42b
mov byte [rbx], 1
call fcn.140013e60
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14001f43f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140018c50
jmp 0x14001f443
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x100]
mov rdx, rax
call fcn.140011c50
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14001f491
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f48c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f48c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400731ac
movdqa xmm0, xmmword [0x140078f30]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x48], 0xad
mov byte [rbp - 0x46], 1
nop dword [rax + rax]
lea eax, [rdi - 0x4a]
xor byte [rbp + rdi - 0x58], al
inc rdi
cmp rdi, 0x11
jb 0x14001f4b0
mov byte [rbp - 0x46], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x47]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140011b20
nop
cmp byte [rbx], 0
jne 0x14001f4eb
mov byte [rbx], 1
call fcn.140013e60
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14001f4ff
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140018c50
jmp 0x14001f503
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x120]
mov rdx, rax
call fcn.140011c50
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14001f552
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f54c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f54c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400731ac
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14001ac10
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140073150
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret