Function at 0x140040554
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x140101388]
xor rax, rsp
mov qword [rbp + 0x47], rax
or rsi, 0xffffffffffffffff
xor ebx, ebx
cmp byte [0x140101a42], bl
mov r15d, 0x3521cfb3
je 0x1400407c1
mov rdi, qword [rbp - 0x59]
movups xmm0, xmmword [0x1400b7468]
movzx eax, word [0x1400b7488]
mov r8d, ebx
movups xmm1, xmmword [str.__qd]
mov word [rbp - 0x11], ax
lea r9, [rbp - 0x31]
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm1
mov eax, r15d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 0x22
jl 0x1400405c5
xorps xmm0, xmm0
mov qword [rbp - 0x41], rbx
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x39], rbx
lea rax, [rbp - 0x31]
inc rsi
cmp byte [rax + rsi], bl
jne 0x140040606
mov r8, rsi
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.140039c70
lea rcx, [rbp - 0x51]
call fcn.1400446fc
mov edx, eax
mov dword [0x1401020e8], eax
mov rcx, rdi
call fcn.14000167c
mov qword [0x140101a50], rax
test rax, rax
jne 0x1400407de
movaps xmm0, xmmword [0x1400b7490]
lea r8, [rbp - 9]
movaps xmm1, xmmword [0x1400b74a0]
mov eax, dword [0x1400b74d8]
movaps xmmword [rbp - 9], xmm0
movaps xmm0, xmmword [0x1400b74b0]
movaps xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x1400b74d0]
movaps xmmword [rbp + 7], xmm1
movaps xmm1, xmmword [0x1400b74c0]
mov dword [rbp + 0x3f], eax
mov al, byte [0x1400b74dc]
movsd qword [rbp + 0x37], xmm0
movaps xmmword [rbp + 0x27], xmm1
mov byte [rbp + 0x43], al
mov eax, r15d
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x35
mov al, bl
inc ebx
sub al, dl
add al, 0x35
xor byte [r8], al
inc r8
cmp ebx, 0x4d
jl 0x140040696
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 9]
call fcn.14003998c
jmp 0x14004087f
movzx eax, word [0x1400b7448]
lea r9, [rbp - 0x51]
movups xmm0, xmmword [0x1400b7438]
mov word [rbp - 0x41], ax
mov r8d, ebx
mov al, byte [0x1400b744a]
mov byte [rbp - 0x3f], al
movups xmmword [rbp - 0x51], xmm0
mov eax, r15d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x35
mov al, r8b
inc r8d
sub al, dl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 0x13
jl 0x1400406fa
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x51]
call fcn.14003998c
mov eax, dword [0x140101a7c]
cmp eax, 1
jle 0x1400407b9
cmp byte [0x1400b7467], bl
movups xmm0, xmmword [0x1400b7450]
movups xmmword [rbp - 0x51], xmm0
movsd xmm0, qword [0x1400b7460]
movsd qword [rbp - 0x41], xmm0
je 0x140040798
mov r8d, ebx
lea r9, [rbp - 0x51]
mov eax, r15d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x35
mov al, r8b
inc r8d
sub al, dl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 0x18
jl 0x14004076a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x51]
call fcn.14003998c
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x140101a7c]
inc eax
mov dword [0x140101a7c], eax
call fcn.140001570
mov rdi, rax
cmp rax, rsi
je 0x1400406d4
mov byte [0x140101a42], 1
jmp 0x14004059d
mov eax, dword [0x1400b74f0]
lea r8, [rbp - 0x51]
movups xmm0, xmmword [0x1400b74e0]
mov dword [rbp - 0x41], eax
mov al, byte [0x1400b74f4]
movups xmmword [rbp - 0x51], xmm0
mov byte [rbp - 0x3d], al
mov eax, r15d
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x35
mov al, bl
inc ebx
sub al, dl
add al, 0x35
xor byte [r8], al
inc r8
cmp ebx, 0x15
jl 0x1400407ff
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x51]
call fcn.14003998c
lea rdx, [0x140044a00]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x140047834]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [0x140101a50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x14003b040]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [0x1401020e0], rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400ace50
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret