Function at 0x1800b9650
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push r14
sub rsp, 0x48
movabs rax, 0xfffffffffffffff
mov r14, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x1800b9641
mov qword [rsp + 0x68], rbp
lea rax, [rdx - 1]
mov rbp, qword [r14 + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x70], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x78], rdi
shl rbx, cl
mov qword [rsp + 0x30], r15
lea r15, [r14 + 0x18]
mov rcx, r15
lea rdx, [rbx + rbx]
call fcn.18009ce30
mov qword [r14 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r14 + 0x30], rax
mov rdi, qword [r14 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x1800b95ff
mov qword [rsp + 0x40], r12
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], r13
movabs r10, 0x100000001b3
nop dword [rax + rax]
movups xmm0, xmmword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rsi, qword [rsi]
movaps xmmword [rsp + 0x20], xmm0
test r8, r8
je 0x1800b94f4
mov r9, qword [rsp + 0x20]
nop dword [rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor rax, rcx
imul rax, r10
cmp rdx, r8
jb 0x1800b94e0
and rax, qword [r14 + 0x30]
mov r13, qword [r15]
shl rax, 4
add r13, rax
mov r12, qword [r13]
cmp r12, rbp
jne 0x1800b9518
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x1800b95db
mov rbx, qword [r13 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x1800b9563
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800b9563
mov r8, qword [rbx]
cmp r8, rdi
je 0x1800b955d
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x1800b95d1
mov r14, rbx
cmp r12, rbx
je 0x1800b95a7
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x20], xmm0
mov r15, qword [rsp + 0x28]
nop dword [rax]
mov rbx, qword [rbx + 8]
mov r14, rbx
cmp r15, qword [rbx + 0x18]
jne 0x1800b95a2
mov rdx, qword [rbx + 0x10]
mov r8, r15
mov rcx, qword [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800b961b
cmp r12, rbx
jne 0x1800b9580
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rdi
mov qword [r14 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
mov r14, qword [rsp + 0x60]
movabs r10, 0x100000001b3
lea r15, [r14 + 0x18]
mov rdi, rsi
movabs rax, 0xcbf29ce484222325
cmp rsi, rbp
jne 0x1800b94c0
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x48
pop r14
pop rbx
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x1800b95cc
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x1800b9675
cvtsi2ss xmm0, rdx
jmp 0x1800b968a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x18016582c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1800b96b8
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800b96b8
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1800b96ea
cmp rbx, 0x200
jae 0x1800b96e7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1800b96ea
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1800b9410