Function at 0x1400664b0
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
test rcx, rcx
je 0x14006688a
test rdx, rdx
je 0x14006688a
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], r15
mov ebx, r15d
lea r12, [0x1405841b0]
mov r9, qword [rbp - 0x68]
nop
movzx ecx, byte [rbx + rsi]
mov eax, 0x88888889
mul ecx
shr edx, 4
imul eax, edx, 0x1e
sub ecx, eax
movsxd r8, ecx
shl r8, 4
add r8, r12
cmp r9, qword [rbp - 0x60]
je 0x140066559
movups xmm0, xmmword [r8]
movups xmmword [r9], xmm0
mov r9, qword [rbp - 0x68]
add r9, 0x10
mov qword [rbp - 0x68], r9
jmp 0x140066569
mov rdx, r9
lea rcx, [rbp - 0x70]
call fcn.140066c50
mov r9, qword [rbp - 0x68]
inc rbx
cmp rbx, rdi
jb 0x140066520
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
cmp qword [rbp - 0x70], r9
je 0x1400665c6
lea rdi, vtable.mb::common::system::ScopedAny_void____ptr64__void____cdecl___void____ptr64___void___cdecl_mb::common::system::Internal::BCryptCloseAlgorithmHelper_void____ptr64___0__0__0_.0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1404f7378]
lea rcx, [rsp + 0x70]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
mov rcx, qword [rsp + 0x70]
test eax, eax
jns 0x14006660e
mov qword [rsp + 0x68], rdi
test rcx, rcx
je 0x1400665c6
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
xor bl, bl
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140066606
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066601
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400668bd
call fcn.14014f510
movzx eax, bl
jmp 0x14006688c
lea rsi, vtable.mb::common::system::ScopedAny_void____ptr64__long_int____cdecl___void____ptr64___long_int___cdecl_BCryptDestroyHash_void____ptr64___0__0__0_.0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
mov rcx, qword [rbp - 0x80]
test eax, eax
jns 0x140066663
mov qword [rsp + 0x78], rsi
test rcx, rcx
je 0x140066655
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov qword [rbp - 0x80], r15
mov rcx, qword [rsp + 0x70]
jmp 0x1400665b4
mov r8, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x70]
sub r8, rdx
and r8d, 0xfffffff0
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov rcx, qword [rbp - 0x80]
test eax, eax
js 0x140066645
xor r9d, r9d
lea r8d, [r9 + 0x20]
lea rdx, [rbp - 0x58]
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
mov ebx, eax
mov qword [rsp + 0x78], rsi
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400666aa
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x68], rdi
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400666c5
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
test ebx, ebx
js 0x1400665c6
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.1403ec370
lea rcx, [rbp - 0x30]
call fcn.1400252f0
nop
mov ebx, r15d
lea rdi, [rbp - 0x58]
mov esi, 0x30
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx - 8]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx - 8], eax
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.14012e2dc
mov r8, qword [rax]
mov rcx, qword [rbp - 0x20]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x20]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov word [rbp + rcx + 0x38], si
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
or dword [rbp + rcx - 8], 4
movzx edx, byte [rdi]
lea rcx, [rbp - 0x20]
call fcn.140020fa0
inc ebx
lea rdi, [rdi + 1]
cmp ebx, 0x20
jb 0x1400666f4
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
mov dword [rsp + 0x40], 4
movups xmmword [rsp + 0x78], xmm0
mov rcx, r15
mov r8, qword [rbp + 0x58]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x1400667c6
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400667c6
mov rax, qword [rbp + 8]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x50]
cmovb rdx, qword [rbp + 0x50]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x1400667fd
test r8b, 4
jne 0x14006682f
mov rax, qword [rbp + 0x20]
mov r8, qword [rax]
mov rdx, r15
test r8, r8
je 0x1400667f8
mov rax, qword [rbp]
mov r9, qword [rax]
mov rax, qword [rbp + 0x38]
movsxd rcx, dword [rax]
lea rdx, [r8 + rcx*2]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x1400667fd
mov r9, qword [rsp + 0x78]
test rcx, rcx
je 0x14006682f
lea rcx, [rsp + 0x48]
cmp rdx, 7
ja 0x140066829
mov qword [rsp + 0x58], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.1403ebbf0
mov word [rsp + rbx + 0x48], r15w
jmp 0x14006682f
call fcn.140023ce0
nop
lea rcx, [rbp - 0x30]
call fcn.140024270
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.14001f2e0
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140066883
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006687e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400668b7
call fcn.14014f510
mov bl, 1
jmp 0x1400665c8
xor al, al
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14014f4f0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14015fa1c
nop
call fcn.14015fa1c
int3