Function at 0x14012c4c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1330]
mov eax, 0x1430
call fcn.140130110
sub rsp, rax
mov rax, qword [0x1402922b8]
xor rax, rsp
mov qword [rbp + 0x1320], rax
xor r14d, r14d
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0x48]
call fcn.140101070
nop
mov edx, 0x1505
mov r8d, r14d
mov r10, qword [rsp + 0x58]
test r10, r10
je 0x14012c556
mov r9d, r14d
mov r11, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
nop dword [rax]
lea rax, [rsp + 0x48]
cmp r11, 0x10
cmovae rax, rbx
movsx ecx, byte [r9 + rax]
imul edx, edx, 0x21
add edx, ecx
inc r8d
lea r9, [r9 + 1]
movsxd rax, r8d
cmp rax, r10
jb 0x14012c530
mov dword [rbp + 0x1314], 0xffffffff
mov dword [rbp - 0x6c], edx
mov esi, 1
mov ecx, esi
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add rdx, rcx
mov edx, edx
mov dword [rbp + rcx*4 - 0x6c], edx
inc rcx
cmp rcx, 0x270
jb 0x14012c570
mov dword [rbp - 0x70], 0x270
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.140078410
mov ecx, eax
imul rax, rcx, 0x64
cmp eax, 0x5f
ja 0x14012c5d5
nop word [rax + rax]
lea rcx, [rsp + 0x38]
call fcn.140078410
mov ecx, eax
imul rax, rcx, 0x64
cmp eax, 0x60
jb 0x14012c5c0
shr rax, 0x20
lea ebx, [rax + 1]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14012c619
inc rdx
mov rcx, qword [rsp + 0x48]
cmp rdx, 0x1000
jb 0x14012c614
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14012c8df
mov rcx, r8
call fcn.14012fc60
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x34], ebx
mov rbx, qword [0x14029c7d8]
test rbx, rbx
je 0x14012c7e9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
test al, al
je 0x14012c7e9
lea r8, [rsp + 0x34]
lea rdx, str.Generated_bucket_value_:_
lea rcx, [rsp + 0x68]
call fcn.140075750
nop
mov rax, qword [rbx]
lea r9, [rsp + 0x68]
lea r15, str.eax::services::updater::initializeUpdateBucket
mov r8, r15
mov edx, 3
mov rcx, rbx
call qword [rax + 0x38]
add rbx, 8
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14012c909
cmp dword [rbx + 0x4c], 0x7fffffff
je 0x14012c8fb
lea rdx, [rbx + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140028d20
mov dword [rsp + 0x30], esi
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rdi
je 0x14012c710
add rbx, 0x38
cmp qword [rbx], 0
je 0x14012c703
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 3
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
call qword [rax + 0x10]
add rbx, 0x48
lea rax, [rbx - 0x38]
cmp rax, rdi
jne 0x14012c6d8
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14012c79b
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
call fcn.1400206a0
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
sub rcx, r8
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*8]
shl rdx, 3
cmp rdx, 0x1000
jb 0x14012c785
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x14012c8e6
mov r8, rcx
mov rcx, r8
call fcn.14012fc60
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14012c7d7
inc rdx
mov rcx, qword [rsp + 0x68]
cmp rdx, 0x1000
jb 0x14012c7d2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14012c8ed
mov rcx, r8
call fcn.14012fc60
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rbx, qword [0x14029c7d0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x60], 0xf
mov edx, 0x20
lea rcx, [rsp + 0x48]
call fcn.14001b8a0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0x14
mov qword [rsp + 0x60], 0x1f
movups xmm0, xmmword [str.machine.updateBucket]
movups xmmword [rax], xmm0
mov edx, dword [0x1401901a0]
mov dword [rax + 0x10], edx
mov byte [rax + 0x14], 0
lea rdx, [rbx + 0x68]
mov dword [rsp + 0x20], 6
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.1400768d0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14012c8a0
inc rdx
mov rcx, qword [rsp + 0x48]
cmp rdx, 0x1000
jb 0x14012c89b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14012c8f4
mov rcx, r8
call fcn.14012fc60
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.14012fd90
lea r11, [rsp + 0x1430]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
dec dword [rbx + 0x4c]
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3