Function at 0x1400495f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
mov r13, rcx
xor edi, edi
movups xmm0, xmmword [0x1401297b8]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [0x1401297c8]
movups xmmword [rbp + 7], xmm1
mov eax, dword [0x1401297d8]
mov dword [rbp + 0x17], eax
mov ecx, edi
cmp dword [0x1401400a0], 2
jl 0x14004976c
movdqa xmm4, xmmword [0x140129d30]
movdqa xmm3, xmmword [0x14012a2c0]
movdqa xmm5, xmmword [str.8888]
movdqa xmm0, xmmword [0x140129e40]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 5]
movdqa xmm6, xmmword [0x140129db0]
mov r8d, dword [rbp - 0x69]
nop
movd xmm2, ecx
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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140049680
cmp ecx, 0x24
jge 0x1400497ae
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x24
jl 0x140049780
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x51], rdi
lea rax, [rbp - 9]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1400497d0
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
call fcn.14003af50
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x11], Ordinal_18
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
mov rbx, qword [rbp - 0x59]
div rbx
lea rax, [rbp - 0x69]
mov r15, qword [rbp - 0x69]
mov r12, qword [rbp - 0x51]
cmp r12, 0xf
cmova rax, r15
movzx eax, byte [rax + rdx]
mov byte [rbp - 0x29], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
lea rax, [rbp - 0x69]
cmp r12, 0xf
cmova rax, r15
movzx eax, byte [rax + rdx]
mov byte [rbp - 0x28], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
lea rax, [rbp - 0x69]
cmp r12, 0xf
cmova rax, r15
movzx eax, byte [rax + rdx]
mov byte [rbp - 0x27], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
lea rax, [rbp - 0x69]
cmp r12, 0xf
cmova rax, r15
movzx eax, byte [rax + rdx]
mov byte [rbp - 0x26], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
lea rax, [rbp - 0x69]
cmp r12, 0xf
cmova rax, r15
movzx eax, byte [rax + rdx]
mov byte [rbp - 0x25], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
lea rax, [rbp - 0x69]
cmp r12, 0xf
cmova rax, r15
movzx eax, byte [rax + rdx]
mov byte [rbp - 0x24], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
lea rax, [rbp - 0x69]
cmp r12, 0xf
cmova rax, r15
movzx eax, byte [rax + rdx]
mov qword [rbp - 0x19], 7
mov byte [rbp - 0x23], al
mov byte [rbp - 0x22], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rdi
mov esi, Ordinal_18
mov qword [rbp - 0x31], rsi
mov byte [rbp - 0x49], 0
mov r14d, 0xa
movzx ebx, byte [rbp + 0x6f]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div qword [rbp - 0x59]
lea rax, [rbp - 0x69]
cmp r12, 0xf
cmova rax, r15
movzx r9d, byte [rax + rdx]
cmp rdi, rsi
jae 0x140049964
lea rax, [rdi + 1]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x49]
cmp rsi, 0xf
cmova rax, qword [rbp - 0x49]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x140049976
movzx r8d, bl
mov edx, 1
lea rcx, [rbp - 0x49]
call fcn.1400791a0
sub r14, 1
je 0x140049986
mov rsi, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
jmp 0x140049920
mov qword [rsp + 0x30], 1
lea rax, [0x140126cfc]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 7
lea r9, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.140079790
nop
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rdx, qword [rbp - 0x49]
mov r8, qword [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.140077990
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor ecx, ecx
mov qword [r13 + 0x10], rcx
mov qword [r13 + 0x18], rcx
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], Ordinal_18
mov byte [rax], cl
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140049a3d
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049a37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049a37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140049a7c
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049a76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049a76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140049abb
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049ab5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049ab5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f870c
nop
cmp r12, 0xf
jbe 0x140049af6
lea rdx, [r12 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140049aee
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049aee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400f870c
mov rax, r13
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret