Function at 0x18005f060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x18], r8
push rbp
mov rbp, rsp
sub rsp, 0x80
cmp qword [r9 + 0x88], 0
mov rsi, r9
mov rdi, rdx
je 0x18005f1c0
cmp qword [rcx + 0x18], 0x10
mov r8, qword [rcx + 0x10]
jb 0x18005f0b7
mov rdx, qword [rcx]
mov rcx, r9
call fcn.18005f630
mov r8, rax
mov eax, dword [0x18006cf08]
mov dword [rbp + 0x20], eax
jmp 0x18005f0ce
mov rdx, rcx
mov rcx, rsi
call fcn.18005f630
mov ecx, dword [0x18006cf08]
mov r8, rax
mov dword [rbp + 0x20], ecx
movzx eax, byte [0x18006cf0c]
lea rdx, [rbp + 0x20]
xor byte [rbp + 0x21], 0x34
xor al, 0x37
xor byte [rbp + 0x22], 0x35
mov rcx, r8
xor byte [rbp + 0x23], 0x36
mov byte [rbp + 0x24], al
mov byte [rbp + 0x20], 0x20
call fcn.18000a130
xor ebx, ebx
add rdi, 8
nop dword [rax]
mov edx, dword [rdi - 8]
mov rcx, rsi
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___int____ptr64]
mov rcx, rax
lea rdx, [0x18006af10]
call fcn.18000a130
mov edx, dword [rdi - 4]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x18006af10]
call fcn.18000a130
lea rdx, [0x180057510]
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 edx, dword [rdi]
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___int____ptr64]
cmp rbx, 4
je 0x18005f182
movzx eax, word [0x18006cee4]
lea rdx, [rbp + 0x20]
mov word [rbp + 0x20], ax
mov rcx, rsi
movzx eax, byte [0x18006cee6]
xor byte [rbp + 0x21], 0x34
xor al, 0x35
mov byte [rbp + 0x22], al
mov byte [rbp + 0x20], 0x2c
call fcn.18000a130
inc rbx
add rdi, 0xc
cmp rbx, 5
jb 0x18005f100
cmp byte [0x18006cee9], 0
movzx eax, word [0x18006cee8]
mov word [rbp + 0x20], ax
je 0x18005f1af
xor byte [rbp + 0x21], 0x34
mov byte [rbp + 0x20], 0x5d
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.18000a130
jmp 0x18005f3d5
mov eax, dword [0x18006cf00]
xor ebx, ebx
cmp dword [0x180079018], 2
movups xmm0, xmmword [str.uUZR_]
mov dword [rbp - 0x40], eax
movzx eax, byte [0x18006cf04]
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x3c], al
jl 0x18005f35a
movdqa xmm0, xmmword [0x18006d430]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x18006d3c0]
mov eax, 5
movdqa xmm4, xmmword [0x18006d550]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x18006d400]
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 dword [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 [0x18006d410]
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 [0x18006d410]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x18005f240
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp eax, 0x15
jge 0x18005f39f
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
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, 0x38
movzx eax, bl
inc ebx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x15
jl 0x18005f370
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.18000a130
cmp qword [0x18007e7d8], 0x10
lea rdx, [0x18007e7c0]
mov r8, qword [0x18007e7d0]
mov rcx, rax
cmovae rdx, qword [0x18007e7c0]
call fcn.18005f630
lea rdx, [0x18005cf20]
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 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret