Function at 0x180072e90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x120
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1800d4040]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
xor ebx, ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
movups xmm0, xmmword [0x1800c0b20]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1800c0b30]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x1800c0b40]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x1800c0b50]
movups xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [0x1800c0b60]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [0x1800c0b68]
mov dword [rbp - 0x48], eax
movzx eax, word [0x1800c0b6c]
mov word [rbp - 0x44], ax
movzx eax, byte [0x1800c0b6e]
mov byte [rbp - 0x42], al
mov r8d, ebx
mov r15d, dword [0x1800d4018]
cmp r15d, 2
jl 0x18007307d
movdqa xmm5, xmmword [0x1800c2cc0]
movdqa xmm4, xmmword [0x1800c2e00]
movdqa xmm6, xmmword [0x1800c2cf0]
movdqa xmm0, xmmword [0x1800c2da0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x40]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800c2d70]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800c2d70]
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, 0x48
jl 0x180072f70
cmp r8d, 0x4f
jge 0x1800730c3
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x4f
jl 0x180073090
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], bl
jne 0x1800730e3
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18001d5d0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
xor r8d, r8d
lea rdx, [0x1800b1a26]
lea rcx, [rbp - 0x20]
call fcn.18001d5d0
nop
cmp byte [0x1800d5c48], 0
jne 0x180073140
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.18001ed20
mov rcx, rax
call fcn.180004560
jmp 0x18007314a
lea rcx, [rsp + 0x50]
call fcn.18000f2f0
mov r14, rax
lea rcx, [rbp - 0x20]
call fcn.18001faf0
mov rax, qword [0x1800d5cb0]
movsxd rdx, dword [rdi + 8]
lea rdx, [rdx*8 + 8]
xor r8d, r8d
mov rcx, qword [rdi]
call rax
mov qword [rdi], rax
movsxd rcx, dword [rdi + 8]
mov qword [rax + rcx*8], r14
inc dword [rdi + 8]
mov eax, dword [rdi + 8]
mov dword [rdi + 0xc], eax
lea rcx, [rsp + 0x50]
call fcn.18001faf0
movups xmm0, xmmword [0x1800c0ad0]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1800c0ae0]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x1800c0af0]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x1800c0b00]
movups xmmword [rbp - 0x60], xmm1
mov eax, dword [0x1800c0b10]
mov dword [rbp - 0x50], eax
movzx eax, byte [0x1800c0b14]
mov byte [rbp - 0x4c], al
cmp r15d, 2
jl 0x18007331a
movdqa xmm5, xmmword [0x1800c2cc0]
movdqa xmm4, xmmword [0x1800c2e00]
movdqa xmm6, xmmword [0x1800c2cf0]
movdqa xmm0, xmmword [0x1800c2da0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x40]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800c2d70]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800c2d70]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x40
jl 0x180073210
cmp eax, 0x45
jge 0x18007335e
movsxd rax, ebx
lea r8, [rsp + 0x70]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
sub al, cl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x45
jl 0x180073330
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
inc rsi
cmp byte [rax + rsi], 0
jne 0x180073374
mov r8, rsi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18001d5d0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
xor r8d, r8d
lea rdx, [0x1800b1a26]
lea rcx, [rbp - 0x20]
call fcn.18001d5d0
nop
cmp byte [0x1800d5c48], 0
jne 0x1800733d4
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.18001ed20
mov rcx, rax
call fcn.180004560
jmp 0x1800733de
lea rcx, [rsp + 0x50]
call fcn.18000f2f0
mov rbx, rax
lea rcx, [rbp - 0x20]
call fcn.18001faf0
mov r9, qword [0x1800d5cb0]
movsxd rdx, dword [rdi + 8]
lea rdx, [rdx*8 + 8]
xor r8d, r8d
mov rcx, qword [rdi]
call r9
mov qword [rdi], rax
movsxd rcx, dword [rdi + 8]
mov qword [rax + rcx*8], rbx
inc dword [rdi + 8]
mov ecx, dword [rdi + 8]
mov dword [rdi + 0xc], ecx
lea rcx, [rsp + 0x50]
call fcn.18001faf0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180086e20
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret