Function at 0x1401ad428
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
mov byte [rbp + 0x88], r15b
mov dword [rsp + 0x60], r15d
xor r9d, r9d
lea r8, [rsp + 0x60]
xor edx, edx
lea rsi, [0x1402b19e8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x1401ad590
cmp dword [rsp + 0x60], r15d
je 0x1401ad4a8
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 4
call fcn.1401ad7a0
nop
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x1401ad590
mov r14, qword [0x1402a1b68]
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [r14]
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
sets sil
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1401ad50c
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
mov qword [rax], rdx
test rcx, rcx
je 0x1401ad50c
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
test sil, sil
jne 0x1401ad639
mov rax, qword [rdi + 8]
mov rcx, qword [rax]
mov rax, qword [rdi]
mov rdx, qword [rax]
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], rcx
lea rax, [rdx + rcx]
mov qword [rbp - 0x70], rax
sub eax, edx
xor r9d, r9d
mov r8d, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
js 0x1401ad6f7
xor r9d, r9d
lea r8d, [r9 + 0x10]
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
js 0x1401ad597
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401ad576
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov rax, rbx
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
nop
mov byte [rbp + 0x80], r15b
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.1401069b4
lea rcx, [rsp + 0x40]
call fcn.140019ef8
mov r10, rax
call fcn.1401a10c4
mov r8, rax
mov rcx, rbx
call fcn.14001a500
mov rdx, rax
xor r9d, r9d
mov rcx, r10
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
mov edx, eax
bts edx, 0x1c
call fcn.1400216a4
mov r8, rax
lea rcx, [rbp - 0x80]
call fcn.14000fe08
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x50], xmm0
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.140022534
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140022738
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140021fe4
lea rdx, [0x140294630]
lea rcx, [rbp - 0x68]
call fcn.1402230c0
int3
mov byte [rbp + 0x80], r15b
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.14010698c
call fcn.1400216a4
mov rbx, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.140102580
mov rdx, rax
mov rcx, r14
call fcn.140019ef8
mov r10, rax
mov rcx, rdx
call fcn.14001e560
mov rdx, rax
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, r10
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
bts eax, 0x1c
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.14000fe08
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x70], xmm0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.140022534
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140022738
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140021fe4
lea rdx, [0x140294630]
lea rcx, [rbp - 0x68]
call fcn.1402230c0
nop
mov byte [rbp + 0x80], r15b
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.1401069a0
lea rcx, [rsp + 0x40]
call fcn.140019ef8
mov r10, rax
lea rcx, [rbp - 0x80]
call fcn.140019ef8
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140019ef0
sub eax, edx
xor r9d, r9d
mov r8d, eax
mov rcx, r10
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov edx, eax
bts edx, 0x1c
call fcn.1400216a4
mov r8, rax
lea rcx, [rbp - 0x80]
call fcn.14000fe08
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x50], xmm0
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.140022534
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140022738
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140021fe4
lea rdx, [0x140294630]
lea rcx, [rbp - 0x68]
call fcn.1402230c0
int3