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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
cmp qword [rsp + 0x48], 0
jne 0x59f461
xor eax, eax
jmp 0x59f704
xor eax, eax
cmp eax, 1
je 0x59f4ab
mov dword [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x59f493
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call fcn.0059f710
jmp 0x59f704
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call fcn.0059fd30
jmp 0x59f704
mov eax, dword [rsp + 0x40]
xor eax, 0xffffffff
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x50], 8
jb 0x59f6a9
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x007b4280]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x007b4280]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x007b4280]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x007b4280]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x007b4280]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x007b4280]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x007b4280]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x007b4280]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
sub eax, 8
mov dword [rsp + 0x50], eax
jmp 0x59f4b6
cmp dword [rsp + 0x50], 0
je 0x59f6fd
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x007b4280]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
sub eax, 1
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x59f6b0
mov eax, dword [rsp + 0x40]
xor eax, 0xffffffff
add rsp, 0x38
ret