Function at 0x7ff6051c7170
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x7ff60566c600]
xor rax, rsp
mov qword [rbp + 0x88], rax
xor esi, esi
mov r8d, esi
mov edx, esi
mov rax, qword [0x7ff60574b268]
test rax, rax
je 0x7ff6051c71c8
mov r8, qword [0x7ff60574b260]
mov rdx, rax
lock inc dword [rax + 0xc]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
test rdx, rdx
je 0x7ff6051c71fb
mov eax, dword [rdx + 8]
test eax, eax
je 0x7ff6051c71fb
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x7ff6051c71f0
test eax, eax
jne 0x7ff6051c71e0
jmp 0x7ff6051c71fb
mov qword [rbp + 0x78], r8
mov qword [rbp + 0x80], rdx
mov rdi, 0xffffffffffffffff
test rdx, rdx
je 0x7ff6051c721c
mov eax, edi
lock xadd dword [rdx + 0xc], eax
cmp eax, 1
jne 0x7ff6051c721c
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 8]
movaps xmm1, xmmword [0x7ff605632610]
movdqa xmmword [rsp + 0x70], xmm1
movss xmm6, dword [0x7ff6056319a8]
movss dword [rbp - 0x80], xmm1
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [rbp - 0x7c], xmm0
shufps xmm1, xmm1, 0xaa
movss dword [rbp - 0x78], xmm1
movss dword [rbp - 0x74], xmm6
movdqa xmm1, xmmword [0x7ff605632c70]
movdqu xmmword [rsp + 0x58], xmm1
mov dl, 0x4e
mov r8b, 0x46
mov r9b, 0x5b
mov r10b, 0xe
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x59], al
xor byte [rsp + 0x5a], cl
xor byte [rsp + 0x5b], cl
xor byte [rsp + 0x5c], cl
xor byte [rsp + 0x5d], cl
xor byte [rsp + 0x5e], cl
xor byte [rsp + 0x5f], cl
xor byte [rsp + 0x60], cl
xor byte [rsp + 0x61], cl
xor byte [rsp + 0x62], cl
xor byte [rsp + 0x63], cl
xor byte [rsp + 0x64], cl
xor byte [rsp + 0x65], cl
xor byte [rsp + 0x66], cl
xor byte [rsp + 0x67], cl
xor dl, cl
mov byte [rsp + 0x68], dl
xor r8b, cl
mov byte [rsp + 0x69], r8b
xor r9b, cl
mov byte [rsp + 0x6a], r9b
xor r10b, cl
mov byte [rsp + 0x6b], r10b
mov byte [rsp + 0x6c], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
lea rax, [rsp + 0x59]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x7ff6051c72f2
lea rdx, [rsp + 0x59]
lea rcx, [rbp - 0x70]
call fcn.7ff605163830
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x60]
mov ebx, 0x1505
mov r9d, ebx
cmp qword [rbp - 0x58], 0xf
jbe 0x7ff6051c733d
mov rcx, qword [rbp - 0x70]
mov edx, ebx
lea r8, [rax + rcx]
cmp rcx, r8
je 0x7ff6051c7360
nop dword [rax + rax]
imul edx, edx, 0x21
movzx eax, byte [rcx]
xor edx, eax
inc rcx
cmp rcx, r8
jne 0x7ff6051c7350
lea eax, [rdx + r9]
mov dword [rbp - 0x30], eax
mov edx, 0x2710
mov ecx, 0x3e8
call fcn.7ff6051cf2c0
mov qword [rbp - 0x28], rax
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x78]
call fcn.7ff6051b01c0
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x7ff6051c73ac
mov eax, edi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x7ff6051c73ac
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp - 0x50]
call fcn.7ff605162330
lea rcx, [rbp - 0x70]
call fcn.7ff605162330
call fcn.7ff6051b4be0
lea r14, [0x7ff60574b0b0]
mov qword [rbp + 0x70], r14
mov rcx, r14
call qword [sym.imp.msvcp140.dll__Mtx_lock]
test eax, eax
je 0x7ff6051c73e7
mov ecx, 5
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x7ff60574b0fc], 0x7fffffff
jne 0x7ff6051c7409
mov dword [0x7ff60574b0fc], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movaps xmm1, xmmword [0x7ff605632600]
movdqa xmmword [rbp - 0x20], xmm1
movss dword [rbp - 0x10], xmm1
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [rbp - 0xc], xmm0
shufps xmm1, xmm1, 0xaa
movss dword [rbp - 8], xmm1
movss dword [rbp - 4], xmm6
movdqa xmm2, xmmword [0x7ff605632500]
movdqu xmmword [rsp + 0x20], xmm2
movdqa xmm1, xmmword [0x7ff605632130]
movdqu xmmword [rsp + 0x30], xmm1
movdqa xmm3, xmmword [0x7ff605632510]
movdqu xmmword [rsp + 0x40], xmm3
mov dl, 0x39
movdqa xmm0, xmm2
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm2
xor al, cl
mov byte [rsp + 0x21], al
xor byte [rsp + 0x22], cl
xor byte [rsp + 0x23], cl
xor byte [rsp + 0x24], cl
xor byte [rsp + 0x25], cl
xor byte [rsp + 0x26], cl
xor byte [rsp + 0x27], cl
xor byte [rsp + 0x28], cl
xor byte [rsp + 0x29], cl
xor byte [rsp + 0x2a], cl
xor byte [rsp + 0x2b], cl
xor byte [rsp + 0x2c], cl
xor byte [rsp + 0x2d], cl
xor byte [rsp + 0x2e], cl
xor byte [rsp + 0x2f], cl
movd eax, xmm1
xor al, cl
mov byte [rsp + 0x30], al
xor byte [rsp + 0x31], cl
xor byte [rsp + 0x32], cl
xor byte [rsp + 0x33], cl
xor byte [rsp + 0x34], cl
xor byte [rsp + 0x35], cl
xor byte [rsp + 0x36], cl
xor byte [rsp + 0x37], cl
xor byte [rsp + 0x38], cl
xor byte [rsp + 0x39], cl
xor byte [rsp + 0x3a], cl
xor byte [rsp + 0x3b], cl
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
movd eax, xmm3
xor al, cl
mov byte [rsp + 0x40], al
xor byte [rsp + 0x41], cl
xor byte [rsp + 0x42], cl
xor byte [rsp + 0x43], cl
xor byte [rsp + 0x44], cl
xor byte [rsp + 0x45], cl
xor byte [rsp + 0x46], cl
xor byte [rsp + 0x47], cl
xor byte [rsp + 0x48], cl
xor byte [rsp + 0x49], cl
xor byte [rsp + 0x4a], cl
xor byte [rsp + 0x4b], cl
xor byte [rsp + 0x4c], cl
xor byte [rsp + 0x4d], cl
xor byte [rsp + 0x4e], cl
xor byte [rsp + 0x4f], cl
xor dl, cl
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], 0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
lea rax, [rsp + 0x21]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff6051c7560
lea rdx, [rsp + 0x21]
lea rcx, [rbp]
call fcn.7ff605163830
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
lea rcx, [rbp]
mov rax, qword [rbp + 0x10]
mov r8d, ebx
cmp qword [rbp + 0x18], 0xf
jbe 0x7ff6051c75a6
mov rcx, qword [rbp]
lea rdx, [rax + rcx]
cmp rcx, rdx
je 0x7ff6051c75c0
nop
imul ebx, ebx, 0x21
movzx eax, byte [rcx]
xor ebx, eax
inc rcx
cmp rcx, rdx
jne 0x7ff6051c75b0
lea eax, [rbx + r8]
mov dword [rbp + 0x40], eax
mov edx, 0x15f90
mov ecx, 0x3e8
call fcn.7ff6051cf2c0
mov qword [rbp + 0x48], rax
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x78]
call fcn.7ff6051b01c0
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x7ff6051c760b
mov eax, edi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x7ff6051c760b
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp + 0x20]
call fcn.7ff605162330
lea rcx, [rbp]
call fcn.7ff605162330
nop
mov rcx, r14
call qword [sym.imp.msvcp140.dll__Mtx_unlock]
nop
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x7ff6051c7666
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff6051c7666
mov rbx, qword [rbp + 0x80]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x7ff6051c7666
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.7ff60542acb0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret