Function at 0x14004dd88
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8f0]
sub rsp, 0x9f0
mov rax, qword [0x14006f7c0]
xor rax, rsp
mov qword [rbp + 0x8e0], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rbx
movdqa xmm0, xmmword [0x140060ed0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x59585b5a
mov dword [rsp + 0x54], 0x5d5c5f5e
mov dword [rsp + 0x58], 0x505352
xor r15d, r15d
mov ecx, r15d
mov al, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x41], al
inc rcx
cmp rcx, 0x1a
jb 0x14004ddf5
mov byte [rsp + 0x5b], r15b
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
lea rax, [rsp + 0x41]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x14004de26
lea rdx, [rsp + 0x41]
lea rcx, [rsp + 0x60]
call fcn.1400013b0
lea r9, [rsp + 0x60]
mov r12d, 0xf
mov r8d, r12d
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.14004f470
nop
cmp qword [rax + 0x18], r12
jbe 0x14004de62
mov rax, qword [rax]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea r13, [0x1400709e0]
mov rcx, r13
call fcn.140050da8
mov r14, rax
mov rdx, qword [rbp - 0x68]
cmp rdx, r12
jbe 0x14004dec4
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004debf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004debf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052234
movdqa xmm0, xmmword [0x140056df0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], r15b
mov r8, rdi
cmp qword [rdi + 0x18], r12
jbe 0x14004dee1
mov r8, qword [rdi]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov rdx, r14
mov rcx, r13
call fcn.140050e88
mov rsi, rax
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
cmp qword [rbx + 0x18], r12
jbe 0x14004df21
mov rdx, qword [rbx]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x18]
lea rcx, [rbp - 0x40]
call fcn.14004d228
nop
jmp 0x14004df5a
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x14004df7f
mov r8d, eax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x800
lea r8, [rbp + 0xe0]
mov rdx, rsi
mov rcx, r13
call fcn.140050f60
test eax, eax
jne 0x14004df3f
lea rcx, [rbp - 0x28]
call fcn.140002bb0
test rax, rax
jne 0x14004dfa9
mov rax, qword [rbp - 0x40]
movsxd rdx, dword [rax + 4]
lea rcx, [rbp - 0x40]
add rcx, rdx
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rdx, r14
mov rcx, r13
call fcn.140050cfc
mov esi, r15d
lea rax, [rbp + 0xe0]
test eax, eax
setg sil
lea rcx, [rbp - 0x40]
call fcn.14004da88
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, r12
jbe 0x14004e003
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14004dffe
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004e07a
mov rcx, r8
call fcn.140052234
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov byte [rdi], r15b
mov rdx, qword [rbx + 0x18]
cmp rdx, r12
jbe 0x14004e043
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004e03e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004e081
mov rcx, r8
call fcn.140052234
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r12
mov byte [rbx], r15b
mov eax, esi
mov rcx, qword [rbp + 0x8e0]
xor rcx, rsp
call fcn.140052350
mov rbx, qword [rsp + 0xa48]
add rsp, 0x9f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3