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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x180159870]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x108]
mov rbx, 0xffffffffffffffff
mov r15d, dword [rsp + 0x100]
mov r14d, r8d
movdqa xmm0, xmmword [0x180129940]
mov ebp, r15d
imul ebp, r8d
mov qword [rsp + 0x68], rax
mov eax, r9d
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], r15d
movdqu xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x80], 6
lea r12d, [rbp + 1]
mov dword [rsp + 0x90], 0x474e5089
mul r12d
mov dword [rsp + 0x94], 0xa1a0a0d
mov ecx, eax
cmovo rcx, rbx
mov dword [rsp + 0x50], r12d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x60], rax
mov rdi, rax
test rax, rax
je 0x180013c28
mov eax, r15d
mul r14d
mov ecx, eax
cmovo rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x180013c4c
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1800daf30
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rsp + 0x40]
xor edi, edi
mov qword [rsp + 0xe8], r13
mov r13d, edi
test eax, eax
jle 0x180013e28
movsxd r14, ebp
mov dword [rsp + 0x4c], edi
nop dword [rax]
mov r12d, edi
mov r15d, 0x7fffffff
mov esi, edi
nop dword [rax + rax]
mov ecx, dword [rsp + 0x44]
mov r9d, eax
mov r8d, dword [rsp + 0x48]
mov edx, ebp
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x20], r13d
call fcn.1800137e0
mov r10d, edi
mov rcx, rdi
test ebp, ebp
jle 0x180013d2f
cmp ebp, 8
jb 0x180013d2f
cmp dword [0x180159848], 2
jl 0x180013d2f
mov edx, ebp
xorps xmm3, xmm3
xorps xmm4, xmm4
and edx, 0x80000007
jge 0x180013cd9
dec edx
or edx, 0xfffffff8
inc edx
mov eax, ebp
sub eax, edx
movsxd rdx, eax
pmovsxbd xmm1, dword [rcx + rbx]
pabsd xmm2, xmm1
pmovsxbd xmm1, dword [rcx + rbx + 4]
paddd xmm3, xmm2
add rcx, 8
pabsd xmm2, xmm1
paddd xmm2, xmm4
movdqa xmm4, xmm2
cmp rcx, rdx
jl 0x180013ce0
paddd xmm3, xmm2
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 rcx, r14
jge 0x180013d8a
mov rax, r14
sub rax, rcx
cmp rax, 2
jl 0x180013d77
lea r11, [r14 - 1]
nop word [rax + rax]
movsx eax, byte [rcx + rbx]
cdq
xor eax, edx
sub eax, edx
add r8d, eax
movsx eax, byte [rcx + rbx + 1]
cdq
add rcx, 2
xor eax, edx
sub eax, edx
add r9d, eax
cmp rcx, r11
jl 0x180013d50
cmp rcx, r14
jge 0x180013d83
movsx eax, byte [rcx + rbx]
cdq
xor eax, edx
sub eax, edx
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 0x180013c80
mov r15d, dword [rsp + 0x44]
cmp esi, r12d
je 0x180013de4
mov r8d, dword [rsp + 0x48]
mov r9d, eax
mov rcx, qword [rsp + 0x58]
mov edx, ebp
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
call fcn.1800137e0
mov esi, r12d
movsxd r12, dword [rsp + 0x4c]
mov r8, r14
mov rcx, qword [rsp + 0x60]
mov rdx, rbx
mov byte [r12 + rcx], sil
inc rcx
add rcx, r12
call sub.VCRUNTIME140.dll_memcpy
lea eax, [rbp + 1]
inc r13d
add r12d, eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x4c], r12d
cmp r13d, eax
jl 0x180013c70
mov r14d, dword [rsp + 0x48]
mov r12d, dword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, dword [rsp + 0x40]
lea r8, [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
mov r9d, 8
imul r12d, esi
mov edx, r12d
call fcn.180012460
mov rcx, qword [rsp + 0x60]
mov r12, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r13, qword [rsp + 0xe8]
test r12, r12
je 0x180013c28
mov ecx, dword [rsp + 0x88]
mov rax, 0xffffffffffffffff
add ecx, 0x2d
add ecx, 0xc
cmovb rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x180013c28
mov rcx, qword [rsp + 0x68]
movsxd r9, dword [rsp + 0x88]
lea eax, [r9 + 0x39]
mov dword [rcx], eax
mov rax, qword [rsp + 0x90]
mov qword [rbp], rax
mov eax, r14d
sar eax, 0x18
mov byte [rbp + 0x10], al
mov eax, r14d
sar eax, 0x10
mov byte [rbp + 0x11], al
mov eax, r14d
sar eax, 8
mov byte [rbp + 0x12], al
mov eax, esi
sar eax, 0x18
mov byte [rbp + 0x14], al
mov eax, esi
sar eax, 0x10
mov byte [rbp + 0x15], al
mov eax, esi
sar eax, 8
mov byte [rbp + 0x16], al
mov byte [rbp + 0x13], r14b
lea r14, [0x18010aa20]
mov byte [rbp + 0x17], sil
lea rsi, [rbp + 0x1a]
mov dword [rbp + 8], 0xd000000
mov dword [rbp + 0xc], 0x52444849
mov byte [rbp + 0x18], 8
mov word [rbp + 0x1a], di
mov byte [rbp + 0x1c], dil
movsxd rax, r15d
movzx r8d, byte [rsp + rax*4 + 0x70]
mov byte [rbp + 0x19], r8b
movzx eax, byte [rbp + 0xc]
not al
movzx ecx, al
movzx eax, byte [rsi - 0xd]
mov edx, dword [r14 + rcx*4]
xor edx, 0xffffff
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi - 0xc]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi - 0xb]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi - 0xa]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi - 9]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi - 8]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi - 7]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi - 6]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx eax, byte [rsi - 5]
mov rbx, r9
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi - 4]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi - 3]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi - 2]
mov byte [rsi + 0xa], r9b
mov dword [rsi + 0xb], 0x54414449
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
shr edx, 8
xor rcx, r8
mov r8, r9
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r14 + rcx*4]
not edx
mov eax, edx
mov byte [rsi + 6], dl
shr eax, 0x18
mov byte [rsi + 3], al
mov eax, edx
shr eax, 0x10
mov byte [rsi + 4], al
mov eax, edx
shr eax, 8
mov rdx, r12
mov byte [rsi + 5], al
mov eax, r9d
sar eax, 0x18
mov byte [rsi + 7], al
mov eax, r9d
sar eax, 0x10
mov byte [rsi + 8], al
mov eax, r9d
sar eax, 8
mov byte [rsi + 9], al
add rsi, 0xf
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r12
add rsi, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movsxd rcx, dword [rsp + 0x88]
mov r8d, 0xffffffff
lea eax, [rcx + 4]
movsxd r10, eax
test eax, eax
jle 0x1800140dc
mov rax, rsi
sub rax, rcx
nop word [rax + rax]
movzx edx, byte [rdi + rax - 4]
inc rdi
movzx ecx, r8b
xor rdx, rcx
shr r8d, 8
xor r8d, dword [r14 + rdx*4]
cmp rdi, r10
jl 0x1800140c0
mov edx, dword [0x18010acf8]
not r8d
xor edx, 0xffffff
mov byte [rsi + 3], r8b
movzx ecx, dl
mov eax, r8d
shr eax, 0x18
mov byte [rsi], al
mov eax, r8d
shr eax, 0x10
mov byte [rsi + 1], al
mov eax, r8d
mov dword [rsi + 4], 0
mov dword [rsi + 8], 0x444e4549
shr edx, 8
shr eax, 8
mov byte [rsi + 2], al
movzx eax, byte [rsi + 9]
xor rcx, rax
movzx eax, byte [rsi + 0xa]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xb]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, rbp
xor edx, dword [r14 + 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 0x180013c2a