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

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
movaps xmmword [rsp + 0x80], xmm7
mov rax, qword [0x7ff60566c600]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rbx, rdx
movaps xmm7, xmm3
mov rdx, qword [rcx + 0x38]
mov rsi, rcx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x7ff6051dc3b8
nop dword [rax]
cmp qword [rax + 0x20], rbx
jae 0x7ff6051dc3ac
mov rax, qword [rax + 0x10]
jmp 0x7ff6051dc3b2
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x7ff6051dc3a0
cmp byte [rdx + 0x19], 0
jne 0x7ff6051dc906
cmp rbx, qword [rdx + 0x20]
jb 0x7ff6051dc906
mov qword [rsp + 0xd8], rdi
lea rdi, [rdx + 0x28]
mov qword [rsp + 0xe0], r12
mov r12, rdi
mov qword [rsp + 0xe8], r13
mov r13, qword [0x7ff605749b08]
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xa0], r15
mov rax, qword [r13 + 0x4018]
mov byte [rax + 0xc0], 1
mov r15, qword [r13 + 0x4018]
movss xmm1, dword [r15 + 0x110]
movss xmm2, dword [r15 + 0x114]
movaps xmm3, xmm1
addss xmm3, dword [r8]
movaps xmm0, xmm2
movss dword [rbp - 1], xmm1
addss xmm0, dword [r8 + 4]
movss dword [rbp + 3], xmm2
movss dword [rbp + 7], xmm3
movss dword [rbp + 0xb], xmm0
cmp qword [rdi + 0x18], 0xf
jbe 0x7ff6051dc458
mov r12, qword [rdi]
movsxd rax, dword [r15 + 0x100]
xor edx, edx
mov r8, qword [r15 + 0x108]
mov rcx, r12
mov r8d, dword [r8 + rax*4 - 4]
call fcn.7ff60516f3a0
mov rcx, qword [r15]
mov r14d, eax
cmp dword [rcx + 0x4064], eax
jne 0x7ff6051dc492
mov r8, r12
mov edx, 0xb
mov ecx, eax
call fcn.7ff605187140
xor r9d, r9d
lea rcx, [rbp - 1]
xor r8d, r8d
mov edx, r14d
call fcn.7ff60517f700
test al, al
je 0x7ff6051dc8bf
xor r12d, r12d
movaps xmmword [rsp + 0x90], xmm6
lea r9, [rbp - 9]
mov dword [rsp + 0x20], r12d
lea r8, [rbp - 8]
mov edx, r14d
lea rcx, [rbp - 1]
call fcn.7ff605193bf0
test al, al
je 0x7ff6051dc4d8
mov qword [rsi + 8], rbx
movzx eax, byte [rbp - 8]
test al, al
je 0x7ff6051dc4e4
mov qword [rsi + 0x28], rbx
movups xmm6, xmmword [r13 + 0x39d4]
movups xmmword [rbp - 0x39], xmm6
cmp rbx, qword [rsi + 8]
je 0x7ff6051dc557
cmp byte [rbp - 9], r12b
je 0x7ff6051dc506
movss xmm0, dword [0x7ff6056319fc]
jmp 0x7ff6051dc512
test al, al
je 0x7ff6051dc54f
movss xmm0, dword [0x7ff6056319ec]
movss xmm1, dword [rbp - 0x39]
movups xmm6, xmmword [rbp - 0x39]
movss xmm2, dword [rbp - 0x35]
movss xmm3, dword [rbp - 0x31]
mulss xmm1, xmm0
mulss xmm2, xmm0
movss xmm6, xmm1
mulss xmm3, xmm0
shufps xmm6, xmm6, 0xe1
movss xmm6, xmm2
shufps xmm6, xmm6, 0xc6
movss xmm6, xmm3
shufps xmm6, xmm6, 0xc9
movups xmmword [rbp - 0x39], xmm6
jmp 0x7ff6051dc557
movups xmm6, xmmword [r13 + 0x39f4]
mov rdx, qword [0x7ff605749b08]
lea rcx, [0x7ff6056313a8]
mov r8d, 0x1505
lea r9, [0x7ff6056313b9]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
imul r8d, r8d, 0x21
xor r8d, eax
cmp rcx, r9
jne 0x7ff6051dc580
movups xmm0, xmmword [rdx + 0x3b34]
lea rax, [rbp - 0x39]
mov edx, r14d
movss xmm3, dword [0x7ff605631a50]
mov rcx, r15
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
movaps xmmword [rbp - 0x39], xmm0
movaps xmmword [rbp - 0x29], xmm0
call fcn.7ff6051dd9a0
mov rcx, rax
mov dword [rax + 0x34], 0x40400000
cmp byte [rbp - 9], r12b
jne 0x7ff6051dc605
cmp rbx, qword [rsi + 8]
je 0x7ff6051dc605
mov rdx, qword [0x7ff605749b08]
cmp byte [rbp - 8], r12b
je 0x7ff6051dc5f7
add rdx, 0x3b44
call fcn.7ff60519c790
jmp 0x7ff6051dc61f
add rdx, 0x3b34
call fcn.7ff60519c790
jmp 0x7ff6051dc61f
mov rdx, qword [0x7ff605749b08]
add rdx, 0x3b54
call fcn.7ff60519c790
mov dword [rcx + 0x34], 0x40c00000
movss xmm3, dword [rcx + 0x30]
movss xmm1, dword [rcx + 0x50]
subss xmm1, dword [rcx + 0x40]
movss xmm0, dword [rcx + 0x54]
subss xmm0, dword [rcx + 0x44]
movss xmm2, dword [rcx + 0x58]
subss xmm2, dword [rcx + 0x48]
mulss xmm1, xmm3
mulss xmm0, xmm3
addss xmm1, dword [rcx + 0x40]
mulss xmm2, xmm3
addss xmm0, dword [rcx + 0x44]
addss xmm2, dword [rcx + 0x48]
movss dword [rbp - 0x39], xmm1
movss xmm1, dword [rcx + 0x5c]
subss xmm1, dword [rcx + 0x4c]
movss dword [rbp - 0x35], xmm0
movss dword [rbp - 0x31], xmm2
mulss xmm1, xmm3
addss xmm1, dword [rcx + 0x4c]
lea rcx, [rbp - 0x39]
movss dword [rbp - 0x2d], xmm1
call fcn.7ff60516fa10
movss xmm0, dword [r13 + 0x392c]
mov r8d, eax
mov rdx, qword [rbp + 7]
mov r9b, 1
mov rcx, qword [rbp - 1]
movss dword [rsp + 0x20], xmm0
call fcn.7ff605170c00
mov rbx, qword [0x7ff605749b08]
lea rdx, [rbp - 0x29]
mov dword [rbp - 0x29], r12d
movups xmm0, xmmword [rbx + 0x39d4]
lea rcx, [rbx + 0x4a90]
movups xmmword [rbp - 0x25], xmm0
call fcn.7ff605187c30
cmp dword [rbx + 0x4a8c], r12d
je 0x7ff6051dc6e5
movups xmmword [rbx + 0x39d4], xmm6
mov rcx, qword [0x7ff605749b08]
xorps xmm6, xmm6
ucomiss xmm7, xmm6
mov rax, qword [rcx + 0x4018]
movss xmm1, dword [rax + 0x114]
subss xmm1, dword [rax + 0x2c]
addss xmm1, dword [rax + 0x90]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4018]
addss xmm1, xmm7
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
mov byte [rax + 0x151], 1
addss xmm0, xmm1
movss dword [rax + 0x114], xmm0
mov rax, qword [rcx + 0x4018]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4018]
jp 0x7ff6051dc763
jne 0x7ff6051dc763
movss xmm0, dword [rcx + 0x3954]
jmp 0x7ff6051dc766
movaps xmm0, xmm7
addss xmm0, dword [rax + 0x154]
mov rdx, rdi
movss dword [rax + 0x154], xmm0
addss xmm0, dword [rax + 0x28]
addss xmm0, dword [rax + 0x158]
movss dword [rax + 0x110], xmm0
cmp qword [rdi + 0x18], 0xf
jbe 0x7ff6051dc798
mov rdx, qword [rdi]
lea rcx, [0x7ff60562b910]
call fcn.7ff605193ac0
mov rax, qword [0x7ff605749b08]
mov rdx, qword [rax + 0x38]
mov rcx, qword [rdx + 0x60]
mov rcx, qword [rcx + 8]
call fcn.7ff60517c280
cmp qword [rdi + 0x38], 0xf
lea rdx, [rdi + 0x20]
jbe 0x7ff6051dc7ca
mov rdx, qword [rdx]
lea rcx, [0x7ff60562b910]
call fcn.7ff605193ac0
call fcn.7ff60517c320
mov r8, qword [0x7ff605749b08]
ucomiss xmm7, xmm6
mov rax, qword [r8 + 0x4018]
mov byte [rax + 0xc0], 1
mov rax, qword [r8 + 0x4018]
movaps xmm6, xmmword [rsp + 0x90]
jp 0x7ff6051dc811
jne 0x7ff6051dc811
movss xmm1, dword [r8 + 0x3954]
jmp 0x7ff6051dc814
movaps xmm1, xmm7
movss xmm0, dword [rax + 0x154]
subss xmm0, xmm1
movss dword [rax + 0x154], xmm0
addss xmm0, dword [rax + 0x28]
addss xmm0, dword [rax + 0x158]
movss dword [rax + 0x110], xmm0
mov rax, qword [r8 + 0x4018]
movss xmm1, dword [rax + 0x114]
subss xmm1, dword [rax + 0x2c]
addss xmm1, dword [rax + 0x90]
mov byte [rax + 0xc0], 1
mov rax, qword [r8 + 0x4018]
addss xmm1, xmm7
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
mov byte [rax + 0x151], 1
addss xmm0, xmm1
movss dword [rax + 0x114], xmm0
movsxd rax, dword [r8 + 0x4a90]
cmp eax, 1
jl 0x7ff6051dc8bf
mov rcx, qword [r8 + 0x4a98]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [r8 + rax*8 + 0x39d4], xmm0
dec dword [r8 + 0x4a90]
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd8]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.7ff60542acb0
movaps xmm7, xmmword [rsp + 0x80]
add rsp, 0xb0
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x7ff6056313f0]
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3