Function at 0x140066890
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 [0x1401be040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r9, qword [rcx + 0x38]
movaps xmm7, xmm3
mov rbx, rdx
mov rsi, rcx
mov rax, qword [r9 + 8]
cmp byte [rax + 0x19], 0
jne 0x1400668e8
nop dword [rax]
cmp qword [rax + 0x20], rbx
jae 0x1400668dc
mov rax, qword [rax + 0x10]
jmp 0x1400668e2
mov r9, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400668d0
cmp byte [r9 + 0x19], 0
jne 0x140066f4f
cmp rbx, qword [r9 + 0x20]
jb 0x140066f4f
mov qword [rsp + 0xd8], rdi
lea rdi, [r9 + 0x28]
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xe8], r13
mov r13, qword [0x1401c3720]
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xa0], r15
mov r15, rdi
mov rax, qword [r13 + 0x4048]
mov byte [rax + 0xc0], 1
mov r12, qword [r13 + 0x4048]
movss xmm1, dword [r12 + 0x110]
movss xmm2, dword [r12 + 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 0x14006698b
mov r15, qword [rdi]
movsxd rax, dword [r12 + 0x100]
xor edx, edx
mov r8, qword [r12 + 0x108]
mov rcx, r15
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14000a9c0
mov rcx, qword [r12]
mov r14d, eax
cmp dword [rcx + 0x4094], eax
jne 0x1400669c8
mov r8, r15
mov edx, 0xb
mov ecx, eax
call fcn.140022b10
xor r9d, r9d
lea rcx, [rbp - 1]
xor r8d, r8d
mov edx, r14d
call fcn.14001b150
test al, al
je 0x140066f08
xor r15d, r15d
movaps xmmword [rsp + 0x90], xmm6
lea r9, [rbp - 9]
mov dword [rsp + 0x20], r15d
lea r8, [rbp - 8]
mov edx, r14d
lea rcx, [rbp - 1]
call fcn.14002f240
test al, al
je 0x140066a0e
mov qword [rsi + 8], rbx
movzx eax, byte [rbp - 8]
test al, al
je 0x140066a1a
mov qword [rsi + 0x28], rbx
movups xmm6, xmmword [r13 + 0x39d4]
movups xmmword [rbp - 0x39], xmm6
cmp rbx, qword [rsi + 8]
je 0x140066a75
cmp byte [rbp - 9], r15b
je 0x140066b5e
movss xmm0, dword [0x1401ade5c]
movss xmm1, dword [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
mov r9, qword [0x1401c3720]
lea rcx, str.button_background
add r9, 0x3b34
lea rdx, [0x1401ad819]
mov r10, r9
mov r8d, 0x1505
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
imul r8d, r8d, 0x21
xor r8d, eax
cmp rcx, rdx
jne 0x140066aa0
movups xmm0, xmmword [r9]
lea rax, [rbp - 0x39]
mov edx, r14d
movups xmm1, xmmword [r10]
mov rcx, r12
mov qword [rsp + 0x28], rax
movss xmm3, dword [0x1401adea4]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
movaps xmmword [rbp - 0x39], xmm0
movaps xmmword [rbp - 0x29], xmm1
call fcn.140068070
mov rcx, rax
mov dword [rax + 0x34], 0x40400000
cmp byte [rbp - 9], r15b
jne 0x140066c43
cmp rbx, qword [rsi + 8]
je 0x140066c43
mov rdx, qword [0x1401c3720]
cmp byte [rbp - 8], r15b
je 0x140066bdc
mov rax, qword [rdx + 0x3b44]
cmp rax, qword [rcx + 0x50]
jne 0x140066b34
mov rax, qword [rdx + 0x3b4c]
cmp rax, qword [rcx + 0x58]
je 0x140066caf
movups xmm1, xmmword [rcx + 0x40]
movups xmm2, xmmword [rcx + 0x50]
movss xmm0, dword [rcx + 0x30]
subps xmm2, xmm1
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
addps xmm2, xmm1
movups xmmword [rcx + 0x40], xmm2
movups xmm0, xmmword [rdx + 0x3b44]
jmp 0x140066c1f
mov r9, qword [0x1401c3720]
lea rdx, [0x1401ad819]
add r9, 0x3b34
lea rcx, str.button_background
mov r8d, 0x1505
mov r10, r9
test al, al
je 0x140066bcf
movss xmm0, dword [0x1401ade4c]
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 0x140066aa0
movups xmm6, xmmword [r13 + 0x39f4]
jmp 0x140066aa0
mov rax, qword [rdx + 0x3b34]
cmp rax, qword [rcx + 0x50]
jne 0x140066bfa
mov rax, qword [rdx + 0x3b3c]
cmp rax, qword [rcx + 0x58]
je 0x140066caf
movups xmm1, xmmword [rcx + 0x40]
movups xmm2, xmmword [rcx + 0x50]
movss xmm0, dword [rcx + 0x30]
subps xmm2, xmm1
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
addps xmm2, xmm1
movups xmmword [rcx + 0x40], xmm2
movups xmm0, xmmword [rdx + 0x3b34]
movss xmm1, dword [rcx + 0x28]
ucomiss xmm1, dword [rcx + 0x2c]
movss dword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x50], xmm0
jp 0x140066c3c
jne 0x140066c3c
mov al, 1
mov byte [rcx + 8], al
jmp 0x140066caf
xor al, al
mov byte [rcx + 8], al
jmp 0x140066caf
mov rdx, qword [0x1401c3720]
mov rax, qword [rdx + 0x3b54]
cmp rax, qword [rcx + 0x50]
jne 0x140066c64
mov rax, qword [rdx + 0x3b5c]
cmp rax, qword [rcx + 0x58]
je 0x140066ca8
movups xmm1, xmmword [rcx + 0x40]
movups xmm2, xmmword [rcx + 0x50]
movss xmm0, dword [rcx + 0x30]
subps xmm2, xmm1
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
addps xmm2, xmm1
movss xmm1, dword [rcx + 0x28]
ucomiss xmm1, dword [rcx + 0x2c]
movups xmmword [rcx + 0x40], xmm2
movups xmm0, xmmword [rdx + 0x3b54]
movss dword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x50], xmm0
jp 0x140066ca3
jne 0x140066ca3
mov al, 1
jmp 0x140066ca5
xor al, al
mov byte [rcx + 8], al
mov dword [rcx + 0x34], 0x40c00000
movups xmm1, xmmword [rcx + 0x40]
movups xmm2, xmmword [rcx + 0x50]
movss xmm0, dword [rcx + 0x30]
lea rcx, [rbp - 0x29]
subps xmm2, xmm1
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
addps xmm2, xmm1
movups xmmword [rbp - 0x29], xmm2
call fcn.14000b030
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.14000c200
mov rbx, qword [0x1401c3720]
lea rdx, [rbp - 0x29]
mov dword [rbp - 0x29], r15d
movups xmm0, xmmword [rbx + 0x39d4]
lea rcx, [rbx + 0x4ac0]
movups xmmword [rbp - 0x25], xmm0
call fcn.140023600
cmp dword [rbx + 0x4abc], r15d
je 0x140066d2e
movups xmmword [rbx + 0x39d4], xmm6
mov rcx, qword [0x1401c3720]
xorps xmm6, xmm6
ucomiss xmm7, xmm6
mov rax, qword [rcx + 0x4048]
movss xmm1, dword [rax + 0x114]
subss xmm1, dword [rax + 0x2c]
addss xmm1, dword [rax + 0x90]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4048]
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 + 0x4048]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4048]
jp 0x140066dac
jne 0x140066dac
movss xmm0, dword [rcx + 0x3954]
jmp 0x140066daf
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 0x140066de1
mov rdx, qword [rdi]
lea rcx, [0x1400962a8]
call fcn.14002f0e0
mov rax, qword [0x1401c3720]
mov rdx, qword [rax + 0x38]
mov rcx, qword [rdx + 0x60]
mov rcx, qword [rcx + 8]
call fcn.140017da0
cmp qword [rdi + 0x38], 0xf
lea rdx, [rdi + 0x20]
jbe 0x140066e13
mov rdx, qword [rdx]
lea rcx, [0x1400962a8]
call fcn.14002f0e0
call fcn.140017e40
mov r8, qword [0x1401c3720]
ucomiss xmm7, xmm6
mov rax, qword [r8 + 0x4048]
mov byte [rax + 0xc0], 1
mov rax, qword [r8 + 0x4048]
movaps xmm6, xmmword [rsp + 0x90]
jp 0x140066e5a
jne 0x140066e5a
movss xmm1, dword [r8 + 0x3954]
jmp 0x140066e5d
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 + 0x4048]
movss xmm1, dword [rax + 0x114]
subss xmm1, dword [rax + 0x2c]
addss xmm1, dword [rax + 0x90]
mov byte [rax + 0xc0], 1
mov rax, qword [r8 + 0x4048]
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 + 0x4ac0]
cmp eax, 1
jl 0x140066f08
mov rcx, qword [r8 + 0x4ac8]
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 + 0x4ac0]
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.140072850
movaps xmm7, xmmword [rsp + 0x80]
add rsp, 0xb0
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.invalid_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3