Function at 0x18009d8b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
push rbp
push rsi
push r12
push r15
sub rsp, 0xb0
mov rax, qword [rsp + 0x108]
mov r15d, r8d
mov qword [rsp + 0x78], rax
lea ebp, [r8*4]
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], edx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x80], 0x474e5089
mov dword [rsp + 0x84], 0xa1a0a0d
test edx, edx
jne 0x18009d908
mov dword [rsp + 0x44], ebp
lea esi, [rbp + 1]
mov qword [rsp + 0xa8], rdi
mov eax, esi
mov qword [rsp + 0x98], r14
imul eax, r9d
movsxd rcx, eax
mov dword [rsp + 0x50], eax
call fcn.18035ba58
mov qword [rsp + 0x70], rax
mov r12, rax
test rax, rax
je 0x18009d955
movsxd r14, ebp
mov rcx, r14
call fcn.18035ba58
mov rbx, rax
test rax, rax
jne 0x18009d976
mov rcx, r12
call fcn.18035b684
xor eax, eax
mov r14, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa8]
add rsp, 0xb0
pop r15
pop r12
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rsp + 0x40]
xor edi, edi
mov qword [rsp + 0xa0], r13
mov r13d, edi
test eax, eax
jle 0x18009db4d
movsxd rcx, esi
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], r12
nop dword [rax]
mov r12d, edi
mov r15d, 0x7fffffff
mov esi, edi
nop dword [rax + rax]
mov r8d, dword [rsp + 0x48]
mov r9d, eax
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x20], r13d
call fcn.18009d5a0
mov r10d, edi
mov rax, rdi
test ebp, ebp
jle 0x18009da5b
cmp ebp, 8
jb 0x18009da5b
cmp dword [reloc.d2d1.dll_Ordinal_1], 2
jl 0x18009da5b
mov edx, ebp
xorps xmm4, xmm4
xorps xmm3, xmm3
and edx, 0x80000007
jge 0x18009da03
dec edx
or edx, 0xfffffff8
inc edx
mov ecx, ebp
sub ecx, edx
movsxd rdx, ecx
nop word [rax + rax]
pmovsxbd xmm1, dword [rbx + rax]
pabsd xmm2, xmm1
pmovsxbd xmm1, dword [rbx + rax + 4]
paddd xmm4, xmm2
add rax, 8
pabsd xmm2, xmm1
paddd xmm3, xmm2
cmp rax, rdx
jl 0x18009da10
paddd xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
paddd xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
paddd xmm3, xmm0
movd r10d, xmm3
mov r8d, edi
mov r9d, edi
cmp rax, r14
jge 0x18009dac0
mov rcx, r14
sub rcx, rax
cmp rcx, 2
jl 0x18009daab
lea r11, [r14 - 1]
nop word [rax + rax]
movsx ecx, byte [rbx + rax]
mov edx, ecx
neg edx
cmovs edx, ecx
movsx ecx, byte [rbx + rax + 1]
add r8d, edx
mov edx, ecx
neg edx
cmovs edx, ecx
add rax, 2
add r9d, edx
cmp rax, r11
jl 0x18009da80
cmp rax, r14
jge 0x18009dab9
movsx ecx, byte [rax + rbx]
mov eax, ecx
neg eax
cmovs eax, ecx
add r10d, eax
lea eax, [r9 + r8]
add r10d, eax
cmp r10d, r15d
mov eax, esi
cmovge eax, r12d
inc esi
cmp r10d, r15d
mov r12d, eax
mov eax, dword [rsp + 0x40]
cmovge r10d, r15d
mov r15d, r10d
cmp esi, 5
jl 0x18009d9b0
mov r15d, dword [rsp + 0x48]
cmp esi, r12d
je 0x18009db15
mov edx, dword [rsp + 0x44]
mov r9d, eax
mov rcx, qword [rsp + 0x58]
mov r8d, r15d
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x20], r13d
call fcn.18009d5a0
mov esi, r12d
mov r12, qword [rsp + 0x60]
mov r8, r14
mov rdx, rbx
lea rcx, [r12 + 1]
mov byte [r12], sil
call fcn.180381630
add r12, qword [rsp + 0x68]
inc r13d
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x60], r12
cmp r13d, eax
jl 0x18009d9a0
mov r12, qword [rsp + 0x70]
mov rcx, rbx
call fcn.18035b684
mov edx, dword [rsp + 0x50]
lea r8, [rsp + 0x4c]
mov r9d, 8
mov rcx, r12
call fcn.18009c2b0
mov rcx, r12
mov rbp, rax
call fcn.18035b684
mov r13, qword [rsp + 0xa0]
test rbp, rbp
je 0x18009d955
mov ecx, dword [rsp + 0x4c]
add ecx, 0x39
movsxd rcx, ecx
call fcn.18035ba58
mov r14, rax
test rax, rax
je 0x18009d955
mov r9d, dword [rsp + 0x40]
lea rsi, [r14 + 8]
mov rcx, qword [rsp + 0x78]
movsxd r8, dword [rsp + 0x4c]
lea eax, [r8 + 0x39]
mov dword [rcx], eax
mov rax, qword [rsp + 0x80]
mov qword [r14], rax
mov eax, r15d
sar eax, 0x18
mov byte [rsi + 8], al
mov eax, r15d
sar eax, 0x10
mov byte [rsi + 9], al
mov eax, r15d
sar eax, 8
mov byte [rsi + 0xa], al
mov eax, r9d
sar eax, 0x18
mov byte [rsi + 0xc], al
mov eax, r9d
sar eax, 0x10
mov byte [rsi + 0xd], al
mov eax, r9d
sar eax, 8
mov byte [rsi + 0xe], al
mov byte [rsi + 0xb], r15b
lea r15, [0x180407000]
mov dword [rsi], 0xd000000
mov dword [rsi + 4], 0x52444849
mov byte [rsi + 0xf], r9b
mov dword [rsi + 0x10], 0x608
mov byte [rsi + 0x14], dil
movzx eax, byte [rsi + 4]
not al
movzx ecx, al
movzx eax, byte [rsi + 5]
mov edx, dword [r15 + rcx*4]
xor edx, 0xffffff
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 6]
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 7]
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 8]
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 9]
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xa]
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xb]
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xc]
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xd]
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
movzx eax, byte [rsi + 0xe]
mov rbx, r8
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, r9b
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0x10]
mov byte [rsi + 0x1c], r8b
mov dword [rsi + 0x1d], 0x54414449
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [r15 + rcx*4]
mov eax, edx
shr edx, 8
xor rax, 6
movzx ecx, al
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r15 + rcx*4]
not edx
mov eax, edx
mov byte [rsi + 0x18], dl
shr eax, 0x18
mov byte [rsi + 0x15], al
mov eax, edx
shr eax, 0x10
mov byte [rsi + 0x16], al
mov eax, edx
shr eax, 8
mov rdx, rbp
mov byte [rsi + 0x17], al
mov eax, r8d
sar eax, 0x18
mov byte [rsi + 0x19], al
mov eax, r8d
sar eax, 0x10
mov byte [rsi + 0x1a], al
mov eax, r8d
sar eax, 8
mov byte [rsi + 0x1b], al
add rsi, 0x21
mov rcx, rsi
call fcn.180381630
mov rcx, rbp
add rsi, rbx
call fcn.18035b684
movsxd rcx, dword [rsp + 0x4c]
mov r8d, 0xffffffff
lea eax, [rcx + 4]
movsxd r10, eax
test eax, eax
jle 0x18009ddcd
mov r9, rsi
sub r9, rcx
nop dword [rax]
movzx edx, byte [r9 + rdi - 4]
inc rdi
movzx ecx, r8b
xor rdx, rcx
shr r8d, 8
xor r8d, dword [r15 + rdx*4]
cmp rdi, r10
jl 0x18009ddb0
mov dword [rsi + 4], 0
not r8d
mov byte [rsi + 3], r8b
mov eax, r8d
shr eax, 0x18
mov byte [rsi], al
mov eax, r8d
shr eax, 0x10
mov byte [rsi + 1], al
mov eax, r8d
shr eax, 8
mov byte [rsi + 2], al
mov dword [rsi + 8], 0x444e4549
movzx eax, byte [rsi + 9]
xor rax, 0x46
mov edx, dword [r15 + rax*4]
movzx eax, byte [rsi + 0xa]
xor edx, 0x22fde9
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xb]
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, r14
xor edx, dword [r15 + rcx*4]
not edx
mov ecx, edx
mov byte [rsi + 0xf], dl
shr ecx, 0x18
mov byte [rsi + 0xc], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rsi + 0xd], cl
mov ecx, edx
shr ecx, 8
mov byte [rsi + 0xe], cl
jmp 0x18009d957