Function at 0x18005e430
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x80
cmp qword [r9 + 0x88], 0
mov rdi, r9
mov rsi, r8
mov r15, rdx
je 0x18005e55b
cmp qword [rcx + 0x18], 0x10
mov r8, qword [rcx + 0x10]
jb 0x18005e483
mov rdx, qword [rcx]
mov rcx, r9
call fcn.18005f0c0
mov r8, rax
mov eax, dword [0x18006cdf4]
mov dword [rbp + 0x38], eax
jmp 0x18005e49a
mov rdx, rcx
mov rcx, rdi
call fcn.18005f0c0
mov ecx, dword [0x18006cdf4]
mov r8, rax
mov dword [rbp + 0x38], ecx
movzx eax, byte [0x18006cdf8]
lea rdx, [rbp + 0x38]
xor byte [rbp + 0x39], 0x31
xor al, 0x34
xor byte [rbp + 0x3a], 0x32
mov rcx, r8
xor byte [rbp + 0x3b], 0x33
mov byte [rbp + 0x3c], al
mov byte [rbp + 0x38], 0x20
call fcn.18005c7c0
xor ebx, ebx
test rsi, rsi
je 0x18005e52e
mov qword [rsp + 0xa0], r14
lea r14, [rsi - 1]
nop word [rax + rax]
movzx edx, byte [rbx + r15]
mov rcx, rdi
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___bool____ptr64]
cmp rbx, r14
je 0x18005e51e
movzx eax, word [0x18006cde8]
lea rdx, [rbp + 0x38]
mov word [rbp + 0x38], ax
mov rcx, rdi
movzx eax, byte [0x18006cdea]
xor byte [rbp + 0x39], 0x31
xor al, 0x32
mov byte [rbp + 0x3a], al
mov byte [rbp + 0x38], 0x2c
call fcn.18005c7c0
inc rbx
cmp rbx, rsi
jb 0x18005e4e0
mov r14, qword [rsp + 0xa0]
cmp byte [0x18006cded], 0
movzx eax, word [0x18006cdec]
mov word [rbp + 0x38], ax
je 0x18005e54a
xor byte [rbp + 0x39], 0x31
mov byte [rbp + 0x38], 0x5d
lea rdx, [rbp + 0x38]
mov rcx, rdi
call fcn.18005c7c0
jmp 0x18005e775
mov eax, dword [0x18006cde0]
xor ebx, ebx
cmp dword [0x180079018], 2
movups xmm0, xmmword [str.vP__QQ]
mov dword [rbp - 0x40], eax
movzx eax, byte [0x18006cde4]
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x3c], al
jl 0x18005e6fa
movdqa xmm0, xmmword [str.00000000000000009999999999999999]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x18006d2b0]
mov eax, 5
movdqa xmm4, xmmword [0x18006d450]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x18006d2e0]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movaps xmmword [rsp + 0x50], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18006d300]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18006d300]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x18005e5e0
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp eax, 0x15
jge 0x18005e73f
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, bl
inc ebx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x15
jl 0x18005e710
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rbp - 0x50]
call fcn.18005c7c0
cmp qword [0x18007e890], 0x10
lea rdx, [0x18007e878]
mov r8, qword [0x18007e888]
mov rcx, rax
cmovae rdx, qword [0x18007e878]
call fcn.18005f0c0
lea rdx, [0x18005c990]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret