Function at 0x1400056d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, rdx
mov qword [rbp - 0x60], rdx
xor edi, edi
lea rdx, [rcx + 0xab0]
call fcn.140006630
mov rbx, rax
lea rdx, [rax + 0x10]
call fcn.1400068e0
movsxd r15, eax
mov rsi, r15
test eax, eax
jne 0x140005793
mov byte [rbp - 0x60], 0xfe
mov byte [rbp - 0x5f], 0xd5
mov byte [rbp - 0x5e], 0xdc
mov byte [rbp - 0x5d], 0xd2
mov byte [rbp - 0x5c], 0xbc
movzx eax, byte [rbp - 0x60]
mov r9d, 0xf
movabs r8, 0xbc0fe2939c2840b0
nop dword [rax]
mov rcx, rdi
and ecx, r9d
cmp rcx, r9
cmovae rcx, r9
shl cl, 2
mov rdx, r8
shr rdx, cl
and dl, r9b
movzx eax, byte [rbp + rdi - 0x60]
xor dl, al
lea ecx, [rdi - 0x50]
xor dl, cl
mov byte [rbp + rdi - 0x60], dl
inc rdi
cmp rdi, 5
jb 0x140005750
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.140006510
jmp 0x14000593e
lea rdx, [rbx + 8]
call fcn.140006630
mov r12, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x14000596f
add rsi, rsi
jne 0x1400057c8
mov rax, rdi
jmp 0x140005805
cmp rsi, 0x1000
jb 0x1400057fd
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140005969
call fcn.14004a3c0
mov rcx, rax
test rax, rax
je 0x140005932
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140005805
mov rcx, rsi
call fcn.14004a3c0
mov qword [rbp - 0x48], rax
lea rbx, [rax + rsi]
mov qword [rbp - 0x38], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x40], rbx
lea r8d, [r15*4]
mov rdx, qword [rbp - 0x48]
mov rcx, r12
call fcn.140005610
mov r8d, edi
mov rcx, qword [rbp - 0x48]
lea edx, [r15 - 1]
and edx, 3
lea r9d, [r15 - 1]
cmp r8d, r9d
jge 0x140005863
add edx, 3
inc r8d
movzx eax, dx
and ax, 7
add word [rcx], ax
add rcx, 2
jmp 0x140005848
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x30]
call fcn.1400063d0
nop
mov rax, qword [rbp - 0x48]
cmp rax, qword [rbp - 0x40]
je 0x14000587f
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x30]
cmova rdx, qword [rbp - 0x30]
mov rcx, r14
call fcn.1400066f0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x1400058ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400058e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a910
movdqa xmm0, xmmword [0x140054810]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14000593e
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005939
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005939
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a910
mov rax, r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14004a3a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140001170
int3
call fcn.1400069a0
int3