Function at 0x504f60
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov eax, 0x20
xor r8d, r8d
mov qword [rsp + 0xd8], rdx
mov edx, dword [rcx + 0x20]
mov qword [rsp + 0xd0], rcx
mov byte [rcx + rdx], 1
lea edx, [rdx + 1]
sub rax, rdx
add rdx, rcx
cmp rax, 8
jae 0x5055d8
test al, 4
jne 0x5056a4
test rax, rax
je 0x504fbd
mov byte [rdx], 0
test al, 2
jne 0x5056b7
mov rdx, qword [rsp + 0xd0]
mov rcx, rdx
call fcn.005043c0
mov rax, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xd0]
mov eax, dword [rax + 0x428]
mov esi, dword [rsi + 0x44c]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0x20], esi
mov rsi, qword [rsp + 0xd0]
mov eax, dword [rax + 0x42c]
mov esi, dword [rsi + 0x450]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0x30], esi
mov rsi, qword [rsp + 0xd0]
mov eax, dword [rax + 0x430]
mov esi, dword [rsi + 0x454]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x434]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x438]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x43c]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x440]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xd0]
mov r13d, dword [rax + 0x444]
mov eax, dword [rax + 0x448]
mov dword [rsp + 0x34], esi
mov rsi, qword [rsp + 0xd0]
mov dword [rsp + 0x7c], 0x20
mov rdx, qword [rsp + 0xd0]
mov esi, dword [rsi + 0x458]
mov r15d, dword [rdx + 0x468]
mov r14d, dword [rdx + 0x464]
mov edx, dword [rdx + 0x424]
mov dword [rsp + 0x38], esi
mov rsi, qword [rsp + 0xd0]
mov dword [rsp + 0x6c], edx
mov edx, r15d
mov esi, dword [rsi + 0x45c]
mov dword [rsp + 0x3c], esi
mov rsi, qword [rsp + 0xd0]
mov esi, dword [rsi + 0x460]
nop dword [rax + rax]
mov edi, dword [rsp + 0x6c]
mov r11d, dword [rsp + 0x40]
mov r10d, dword [rsp + 0x50]
mov r12d, dword [rsp + 0x54]
lea ebx, [rdi + 4]
mov dword [rsp + 0x74], edi
lea ecx, [rdi - 1]
mov dword [rsp + 0x78], ebx
lea r8d, [rdi - 8]
mov ebx, ecx
mov edi, dword [rsp + 0x4c]
and ebx, 0x1f
and r8d, 0x1f
mov ecx, ebx
shl r8, 5
add r8, qword [rsp + 0xd0]
mov dword [rsp + 0x6c], ebx
shl rcx, 5
add rcx, qword [rsp + 0xd0]
mov r9d, dword [rcx + 0x2c]
xor dword [r8 + 0x24], r9d
xor dword [rcx + 0x2c], edi
mov r9d, dword [r8 + 0x28]
xor r9d, dword [rcx + 0x30]
mov dword [r8 + 0x28], r9d
xor dword [rcx + 0x30], r11d
mov r9d, dword [r8 + 0x2c]
xor r9d, dword [rcx + 0x34]
mov dword [r8 + 0x2c], r9d
xor dword [rcx + 0x34], r10d
mov r9d, dword [r8 + 0x30]
xor r9d, dword [rcx + 0x38]
mov dword [r8 + 0x30], r9d
xor dword [rcx + 0x38], r12d
mov r9d, dword [r8 + 0x34]
xor r9d, dword [rcx + 0x3c]
mov dword [r8 + 0x34], r9d
mov ebx, dword [rsp + 0x70]
xor dword [rcx + 0x3c], r13d
mov r9d, dword [r8 + 0x38]
xor r9d, dword [rcx + 0x40]
mov ebp, dword [rsp + 0x48]
mov dword [r8 + 0x38], r9d
xor dword [rcx + 0x40], eax
mov r15d, ebp
mov r9d, dword [r8 + 0x3c]
not r15d
xor r9d, dword [rcx + 0x24]
or r15d, ebx
xor r15d, dword [rsp + 0x44]
mov dword [r8 + 0x3c], r9d
xor dword [rcx + 0x24], ebx
mov dword [rsp + 0x64], r15d
mov r15d, ebx
mov r9d, dword [r8 + 0x40]
not r15d
xor r9d, dword [rcx + 0x28]
mov dword [r8 + 0x40], r9d
mov r8d, edx
mov r9d, r10d
xor dword [rcx + 0x28], ebp
not r8d
mov ecx, dword [rsp + 0x20]
mov ebp, r8d
mov r8d, r12d
or ebp, r14d
not r8d
xor ebp, esi
rol ebp, 3
not ecx
mov dword [rsp + 0x5c], ebp
mov ebp, r8d
mov r8d, r11d
or ecx, eax
or ebp, r10d
not r8d
xor ecx, r13d
xor ebp, r11d
rol ecx, 1
mov r11d, ebp
mov ebp, dword [rsp + 0x38]
mov dword [rsp + 0x58], ecx
mov ecx, r12d
mov r12d, dword [rsp + 0x3c]
rol r11d, 6
mov dword [rsp + 0x60], r11d
not r12d
or ebp, r12d
xor ebp, dword [rsp + 0x34]
mov r12d, edi
not edi
or r8d, r12d
mov r10d, ebp
mov ebp, dword [rsp + 0x48]
rol r10d, 0xa
mov dword [rsp + 0x68], r10d
mov r10d, r13d
not r10d
or edi, ebp
or r10d, ecx
xor r8d, ebp
xor edi, ebx
mov ebx, dword [rsp + 0x30]
xor r10d, r9d
mov r9d, esi
rol edi, 0xf
not r9d
rol r10d, 4
ror r8d, 9
not ebx
or ebx, dword [rsp + 0x20]
mov r11d, dword [rsp + 0x44]
mov r12d, dword [rsp + 0x34]
mov ebp, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
xor ebx, eax
not eax
not r11d
or r9d, dword [rsp + 0x3c]
or eax, r13d
ror ebx, 0xb
or r11d, edx
not r12d
xor r9d, dword [rsp + 0x38]
xor r11d, r14d
not r14d
xor eax, dword [rsp + 0x54]
or ebp, r15d
or ecx, r12d
mov r13d, dword [rsp + 0x68]
xor ecx, dword [rsp + 0x20]
or esi, r14d
xor edx, ebp
ror r11d, 4
mov r14d, dword [rsp + 0x58]
mov r15d, edx
rol r9d, 0xd
mov edx, dword [rsp + 0x38]
rol r15d, 0xe
ror eax, 5
mov r12d, eax
mov eax, dword [rsp + 0x78]
rol ecx, 2
xor esi, dword [rsp + 0x3c]
xor r13d, r14d
xor r13d, dword [rsp + 0x64]
not edx
or edx, dword [rsp + 0x34]
xor edx, dword [rsp + 0x30]
and eax, 0x1f
mov ebp, dword [rsp + 0x50]
rol esi, 9
xor r13d, 1
mov dword [rsp + 0x44], r13d
mov r13d, dword [rsp + 0x5c]
rol edx, 8
mov dword [rsp + 0x38], edx
mov rdx, qword [rsp + 0xd0]
not ebp
or ebp, dword [rsp + 0x40]
xor r13d, r14d
mov r14, rax
xor ebp, dword [rsp + 0x4c]
shl r14, 5
xor r13d, dword [r14 + rdx + 0x24]
shl rax, 5
mov r14d, dword [rsp + 0x60]
add rax, rdx
ror ebp, 8
xor r13d, edi
mov dword [rsp + 0x70], r13d
mov r13d, dword [rsp + 0x5c]
xor r13d, r14d
xor r13d, dword [rax + 0x28]
xor r13d, ebx
mov dword [rsp + 0x48], r13d
mov r13d, r14d
mov r14d, dword [rsp + 0x68]
xor r13d, r14d
xor r13d, dword [rax + 0x2c]
xor r13d, r11d
mov dword [rsp + 0x4c], r13d
mov r13d, r14d
xor r13d, edi
xor edi, ebx
xor r13d, dword [rax + 0x30]
xor ebx, r11d
xor edi, dword [rax + 0x34]
xor ebx, dword [rax + 0x38]
xor r13d, r10d
xor edi, r9d
mov dword [rsp + 0x40], r13d
mov r13d, dword [rax + 0x3c]
xor ebx, r8d
xor r11d, r10d
xor r10d, r9d
xor r10d, dword [rax + 0x40]
mov dword [rsp + 0x54], ebx
mov ebx, dword [rsp + 0x64]
xor r9d, r8d
xor r8d, ecx
mov dword [rsp + 0x50], edi
xor r13d, r11d
xor r10d, r15d
xor r13d, ecx
xor ecx, r15d
mov eax, r10d
mov r10d, dword [rsp + 0x74]
xor r15d, r12d
xor r10d, 0x10
mov r11, r10
shl r11, 5
mov r10, r11
xor r9d, dword [r11 + rdx + 0x24]
add r10, rdx
mov edx, dword [rsp + 0x38]
mov r14d, dword [r10 + 0x34]
xor r8d, dword [r10 + 0x28]
xor r9d, r12d
xor ecx, dword [r10 + 0x2c]
xor r15d, dword [r10 + 0x30]
mov dword [rsp + 0x20], r9d
xor r14d, ebx
xor ebx, dword [r10 + 0x40]
xor r12d, r14d
xor r8d, esi
mov r14d, dword [rsp + 0x5c]
xor r12d, esi
xor esi, dword [rsp + 0x58]
xor ecx, ebp
mov dword [rsp + 0x30], r8d
xor esi, dword [r10 + 0x38]
xor r15d, edx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x38], r15d
xor r14d, ebp
xor r14d, dword [r10 + 0x3c]
mov dword [rsp + 0x3c], r12d
xor esi, ebp
mov ebp, dword [rsp + 0x60]
xor r14d, edx
xor ebp, ebx
xor edx, ebp
sub dword [rsp + 0x7c], 1
jne 0x5050f8
mov rax, qword [rsp + 0xd0]
movd xmm0, r9d
movd xmm1, ecx
pinsrd xmm1, dword [rsp + 0x38], 1
pinsrd xmm0, r8d, 1
punpcklqdq xmm0, xmm1
movd xmm1, r14d
pinsrd xmm1, edx, 1
movups xmmword [rax + 0x44c], xmm0
movd xmm0, r12d
lea rdx, [rax + 0x44c]
pinsrd xmm0, esi, 1
punpcklqdq xmm0, xmm1
movups xmmword [rax + 0x45c], xmm0
mov rax, qword [rsp + 0xd8]
add rax, 0x10
cmp rdx, rax
jae 0x5054f1
mov rax, qword [rsp + 0xd0]
add rax, 0x45c
cmp qword [rsp + 0xd8], rax
jb 0x505610
mov rax, qword [rsp + 0xd0]
movdqu xmm2, xmmword [rax + 0x44c]
mov rax, qword [rsp + 0xd8]
movups xmmword [rax], xmm2
mov rax, qword [rsp + 0xd0]
movdqu xmm4, xmmword [rax + 0x45c]
mov rax, qword [rsp + 0xd8]
movups xmmword [rsp + 0x20], xmm4
movups xmmword [rax + 0x10], xmm4
mov rax, qword [rsp + 0xd0]
mov r8d, 0x400
xor edx, edx
lea rcx, [rax + 0x24]
mov dword [rax + 0x20], 0
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0x424], 0
mov qword [rax + 0x428], 0
mov qword [rax + 0x430], 0
mov qword [rax + 0x438], 0
mov qword [rax + 0x440], 0
mov qword [rax + 0x448], 0
mov qword [rax + 0x450], 0
mov qword [rax + 0x458], 0
mov qword [rax + 0x460], 0
mov dword [rax + 0x468], 0
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rax + rdx - 8], 0
sub rax, 1
cmp rax, 8
jb 0x504fbd
and rax, 0xfffffffffffffff8
xor ecx, ecx
mov qword [rdx + rcx], r8
add rcx, 8
cmp rcx, rax
jb 0x5055f5
jmp 0x504fbd
mov rax, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xd8]
mov eax, dword [rax + 0x44c]
mov dword [rsi], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x450]
mov dword [rsi + 4], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x454]
mov dword [rsi + 8], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x458]
mov dword [rsi + 0xc], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x45c]
mov dword [rsi + 0x10], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x460]
mov dword [rsi + 0x14], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x464]
mov dword [rsi + 0x18], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x468]
mov dword [rsi + 0x1c], eax
jmp 0x50552d
mov dword [rdx], 0
mov dword [rdx + rax - 4], 0
jmp 0x504fbd
xor ecx, ecx
mov word [rdx + rax - 2], cx
jmp 0x504fbd