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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov rax, qword [0x7ff7f3d30410]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x48], 0
jne 0x7ff7f39e4fc0
xor eax, eax
jmp 0x7ff7f39e5304
xor eax, eax
cmp eax, 1
je 0x7ff7f39e500a
mov dword [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x7ff7f39e4ff2
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call fcn.7ff7f39e5350
jmp 0x7ff7f39e5304
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call fcn.7ff7f39e5b50
jmp 0x7ff7f39e5304
mov eax, dword [rsp + 0x40]
xor eax, 0xffffffff
mov dword [rsp + 0x40], eax
cmp qword [rsp + 0x50], 8
jb 0x7ff7f39e5294
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x7ff7f3d07670]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x7ff7f3d07670]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x7ff7f3d07670]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x7ff7f3d07670]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x7ff7f3d07670]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x7ff7f3d07670]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x7ff7f3d07670]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x7ff7f3d07670]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
sub rax, 8
mov qword [rsp + 0x50], rax
jmp 0x7ff7f39e5015
cmp qword [rsp + 0x50], 0
je 0x7ff7f39e52fd
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x7ff7f3d07670]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
dec rax
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x7ff7f39e529c
mov eax, dword [rsp + 0x40]
xor eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.7ff7f3c4ba40
add rsp, 0x38
ret