Function at 0x1400132a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x19], rcx
xor ebx, ebx
mov dword [rbp - 0x75], ebx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov r12, 0xffffffffffffffff
lea r14, [0x140065c88]
mov eax, dword [rcx + rax]
cmp dword [0x1400659d8], eax
jle 0x140013521
lea rcx, [0x1400659d8]
call fcn.1400481e0
cmp dword [0x1400659d8], r12d
jne 0x140013521
movups xmm0, xmmword [str.qsqwqsq]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [0x140052d20]
movups xmmword [rbp - 0x59], xmm1
movups xmm0, xmmword [0x140052d30]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [0x140052d40]
movups xmmword [rbp - 0x39], xmm1
movzx eax, byte [0x140052d50]
mov byte [rbp - 0x29], al
mov r8d, ebx
cmp dword [0x140060090], 2
jl 0x14001348f
movdqa xmm4, xmmword [0x140053670]
movdqa xmm3, xmmword [0x140053790]
movdqa xmm5, xmmword [str.::::]
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x65]
movdqa xmm6, xmmword [0x140053760]
mov edx, dword [rbp - 9]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x40
jl 0x1400133a0
cmp r8d, 0x41
jge 0x1400134d3
movsxd rax, r8d
lea r9, [rbp - 0x69]
add r9, rax
nop dword [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, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x41
jl 0x1400134a0
xorps xmm0, xmm0
movups xmmword [0x140065c88], xmm0
mov qword [0x140065c98], rbx
mov qword [0x140065ca0], rbx
lea rax, [rbp - 0x69]
mov r8, r12
inc r8
cmp byte [rax + r8], 0
jne 0x1400134f2
lea rdx, [rbp - 0x69]
mov rcx, r14
call fcn.140026770
lea rcx, [0x14004c1d0]
call fcn.140048550
nop
lea rcx, [0x1400659d8]
call fcn.140048174
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov dword [rbp - 0x75], 1
movdqu xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rbx
mov ecx, 0x400
call fcn.1400480c0
mov qword [rbp + 7], rax
lea rsi, [rax + 0x400]
mov qword [rbp + 0x17], rsi
movdqa xmm0, xmmword [0x1400537a0]
mov ecx, 8
nop dword [rax + rax]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
sub rcx, 1
jne 0x140013570
mov qword [rbp + 0xf], rsi
mov r9, rbx
mov r8d, 2
nop dword [rax]
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 - 2]
movsx rcx, byte [r9 + rax]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 - 1]
movsx rcx, byte [r9 + rax + 1]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
movsx rcx, byte [r9 + rax + 2]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], r8d
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 1]
movsx rcx, byte [r9 + rax + 3]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 2]
movsx rcx, byte [r9 + rax + 4]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 3]
movsx rcx, byte [r9 + rax + 5]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 4]
movsx rcx, byte [r9 + rax + 6]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 5]
movsx rcx, byte [r9 + rax + 7]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 6]
movsx rcx, byte [r9 + rax + 8]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 7]
movsx rcx, byte [r9 + rax + 9]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 8]
movsx rcx, byte [r9 + rax + 0xa]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 9]
movsx rcx, byte [r9 + rax + 0xb]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 0xa]
movsx rcx, byte [r9 + rax + 0xc]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 0xb]
movsx rcx, byte [r9 + rax + 0xd]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 0xc]
movsx rcx, byte [r9 + rax + 0xe]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
mov rax, r14
cmp qword [0x140065ca0], 0xf
cmova rax, qword [0x140065c88]
lea edx, [r8 + 0xd]
movsx rcx, byte [r9 + rax + 0xf]
mov rax, qword [rbp + 7]
mov dword [rax + rcx*4], edx
add r8d, 0x10
lea r9, [r9 + 0x10]
lea eax, [r8 - 2]
cmp eax, 0x40
jl 0x1400135b0
mov esi, 0xfffffff8
mov rcx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140013818
mov rcx, qword [r15]
mov rdx, rcx
jmp 0x14001381b
mov rdx, r15
mov r14, rcx
mov r15, qword [r15 + 0x10]
add r15, rdx
cmp rcx, r15
mov rcx, qword [rbp + 7]
je 0x14001387c
nop
movzx eax, byte [r14]
mov edx, dword [rcx + rax*4]
cmp edx, 0xffffffff
je 0x14001387c
shl ebx, 6
add ebx, edx
add esi, 6
js 0x140013874
mov eax, ebx
mov ecx, esi
sar eax, cl
mov byte [rbp - 0x79], al
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140013861
mov byte [rdx], al
inc qword [rdi + 8]
jmp 0x14001386d
lea r8, [rbp - 0x79]
mov rcx, rdi
call fcn.14002cb30
sub esi, 8
mov rcx, qword [rbp + 7]
inc r14
cmp r14, r15
jne 0x140013830
test rcx, rcx
je 0x1400138b9
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400138b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400138b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048104
mov rax, rdi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400480a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret