Function at 0x140053da0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140164040]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14d, r8d
mov r15, rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea r13, [rbp + 0x28]
movabs rax, 0xff00ff00ff00ff00
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r13
mov rsi, qword [r13]
xor rsi, rax
mov qword [rbp - 0x20], rsi
xor r12d, r12d
mov qword [r13], r12
mov r9d, r12d
cmp ecx, 0x7b
ja 0x140053e1b
movsxd rax, ecx
lea r9, [0x140251300]
mov r9, qword [r9 + rax*8]
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdi, 0xffffffffffffffff
mov rbx, rdi
test r9, r9
jne 0x140054090
movsd xmm0, qword [str.fS__ZNewXG_]
movsd qword [rbp - 0x50], xmm0
movzx ecx, word [0x140150570]
mov word [rbp - 0x48], cx
movzx eax, byte [0x140150572]
mov byte [rbp - 0x50], 0x53
xor byte [rbp - 0x4f], 0x36
xor byte [rbp - 0x4e], 0x37
xor byte [rbp - 0x4d], 0x38
xor byte [rbp - 0x4c], 0x39
xor byte [rbp - 0x4b], 0x3a
xor byte [rbp - 0x4a], 0x3b
xor byte [rbp - 0x49], 0x3c
xor cl, 0x3d
mov byte [rbp - 0x48], cl
xor byte [rbp - 0x47], 0x3e
xor al, 0x3f
mov byte [rbp - 0x46], al
lea rax, [rbp - 0x50]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140053e94
lea rcx, [rbp - 0x40]
cmp rbx, 0xf
ja 0x140053ebe
mov qword [rbp - 0x30], rbx
mov r8, rbx
lea rdx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x40], 0
jmp 0x140053eca
lea r9, [rbp - 0x50]
mov rdx, rbx
call fcn.14004b900
cmp r14d, 1
jne 0x1400540d1
movsd xmm0, qword [str.eDRKJ]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [0x14014ead8]
mov dword [rbp - 0x48], eax
movzx eax, word [0x14014eadc]
mov word [rbp - 0x44], ax
cmp byte [0x14014eadd], 0
je 0x140054053
mov r8d, r12d
cmp dword [0x140164090], 2
jl 0x140054013
movdqa xmm4, xmmword [0x140150ef0]
movdqa xmm2, xmmword [0x140150d30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140150d50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
movd xmm0, dword [str.eDRKJ]
xorps xmm2, xmm0
movd dword [rbp - 0x50], xmm2
movdqa xmm3, xmmword [0x140150d40]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140150d50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
movd xmm0, dword [rbp - 0x4c]
xorps xmm2, xmm0
movd dword [rbp - 0x4c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140054020
lea rax, [rbp - 0x50]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140054057
mov rax, qword [rbp - 0x28]
cmp rdi, rax
ja 0x1400540c1
lea rbx, [rbp - 0x40]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x40]
mov qword [rbp - 0x30], rdi
mov r8, rdi
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x1400540d1
inc rbx
cmp byte [r9 + rbx], 0
jne 0x140054090
lea rcx, [rbp - 0x40]
cmp rbx, 0xf
ja 0x140053ec2
mov qword [rbp - 0x30], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x40], 0
jmp 0x140053eca
lea r9, [rbp - 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14004b900
mov dword [rbp - 0x50], 0x42fa0000
mov dword [rbp - 0x4c], 0x41a00000
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x50]
call fcn.1400342d0
test al, al
je 0x14005411a
test r14d, r14d
jne 0x14005411a
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8, r15
xor edx, edx
xor ecx, ecx
call qword [0x140265440]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140054159
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054153
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054153
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e8d0
nop
movabs rax, 0xff00ff00ff00ff00
xor rsi, rax
mov qword [r13], rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14010e270
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret