Function at 0x140056440
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14042c300]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, r8
mov r14, rdx
mov qword [rbp - 0x40], rdx
xor esi, esi
lea rcx, [r8 + 0xab0]
call fcn.140049f00
mov rdi, rax
lea rcx, [rax + 0x10]
call fcn.140049d20
movsxd r12, eax
mov r15, r12
test eax, eax
jne 0x1400565bd
mov eax, dword [str.yhz:vq9]
mov dword [rbp - 0x40], eax
cmp byte [0x1400692ab], sil
je 0x140056583
cmp dword [0x14042c350], 2
jl 0x14005653d
movdqa xmm3, xmmword [0x140067e70]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140069da0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140069da0]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140069cf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140069d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x40], xmm2
jmp 0x140056583
lea r9, [rbp - 0x40]
mov r8d, esi
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140056550
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rsi
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400565a0
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.140001370
jmp 0x140056732
lea rcx, [rbx - 6]
and ecx, 8
call fcn.140049c80
test al, al
je 0x140056623
movzx eax, word [0x1400692ac]
mov word [rbp - 0x40], ax
movzx eax, byte [0x1400692ae]
mov byte [rbp - 0x40], 0x41
xor byte [rbp - 0x3f], 0x38
xor al, 0x39
mov byte [rbp - 0x3e], al
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rsi
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], sil
jne 0x140056606
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.140001370
jmp 0x140056732
lea rcx, [rdi + 8]
call fcn.140049f00
mov rdi, rax
mov eax, 2
mul r15
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.14005d820
mov r15, rax
lea r8d, [r12 + r12]
mov rdx, rax
mov rcx, rdi
call fcn.14005b590
mov rcx, r15
lea edx, [r12 - 1]
and edx, 3
lea r8d, [r12 - 1]
nop dword [rax]
cmp esi, r8d
jge 0x14005668a
add edx, 3
inc esi
movzx eax, dx
and ax, 7
add word [rcx], ax
add rcx, 2
jmp 0x140056670
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
nop dword [rax]
inc rbx
cmp word [r15 + rbx*2], 0
jne 0x1400566a0
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 0x30]
call fcn.140049700
nop
mov rcx, r15
call fcn.14005d000
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]
lea r9, [rbp - 0x38]
mov rcx, r14
call fcn.140049240
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x140056732
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005672d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005672d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d000
mov rax, r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14005d480
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret