Function at 0x140064f20
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 [0x140139f00]
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], 0xd6eff4ee
mov dword [rbp - 0x54], 0xf4f4e0f7
mov word [rbp - 0x50], 0x100
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 8
jb 0x140064f70
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140046c20
nop
cmp byte [rbx], 0
jne 0x140064fab
mov byte [rbx], 1
call fcn.140046d60
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140064fbf
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140045260
jmp 0x140064fc3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x158]
mov rdx, rax
call fcn.1400566c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140065011
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006500c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006500c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f2094
mov dword [rbp - 0x58], 0xcceff4ee
mov dword [rbp - 0x54], 0xe9efe9ea
mov dword [rbp - 0x50], 0xeef9dced
mov dword [rbp - 0x4c], 0x100fefe
mov rcx, rdi
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0xe
jb 0x140065030
mov byte [rbp - 0x49], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x4a]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140046c20
nop
cmp byte [rbx], 0
jne 0x14006506b
mov byte [rbx], 1
call fcn.140046d60
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14006507f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140045260
jmp 0x140065083
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x178]
mov rdx, rax
call fcn.1400566c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400650d1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400650cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400650cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f2094
mov dword [rbp - 0x58], 0xc8eff4ee
mov dword [rbp - 0x54], 0xf5fce1
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x1400650f0
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140046c20
nop
cmp byte [rbx], 0
jne 0x14006512b
mov byte [rbx], 1
call fcn.140046d60
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14006513f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140045260
jmp 0x140065143
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x198]
mov rdx, rax
call fcn.1400566c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140065191
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006518c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006518c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f2094
mov dword [rbp - 0x58], 0xf0f0e4f6
mov dword [rbp - 0x54], 0xe8eaed
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x1400651b0
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140046c20
nop
cmp byte [rbx], 0
jne 0x1400651eb
mov byte [rbx], 1
call fcn.140046d60
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400651ff
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140045260
jmp 0x140065203
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x1b8]
mov rdx, rax
call fcn.1400566c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140065251
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006524c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006524c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f2094
movdqa xmm0, xmmword [0x1400f87e0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x48], 0xfb
mov byte [rbp - 0x46], 1
nop dword [rax + rax]
lea eax, [rdi - 0x80]
xor byte [rbp + rdi - 0x58], al
inc rdi
cmp rdi, 0x11
jb 0x140065270
mov byte [rbp - 0x46], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x47]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140046c20
nop
cmp byte [rbx], 0
jne 0x1400652ab
mov byte [rbx], 1
call fcn.140046d60
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400652bf
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140045260
jmp 0x1400652c3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x1d8]
mov rdx, rax
call fcn.1400566c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140065312
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006530c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006530c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f2094
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.140044dd0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400f2510
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret