Function at 0x18000e150
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov dword [rsp + 0x30], 0
mov r8d, 0xf0000000
mov edx, 0x18
lea rcx, [rsp + 0x40]
call fcn.18000d990
nop
lea rcx, [rsp + 0x40]
call fcn.18000da10
test rax, rax
jne 0x18000e1c0
mov dword [rsp + 0x54], 0xffffffff
lea rcx, [rsp + 0x40]
call fcn.18000d9d0
mov eax, dword [rsp + 0x54]
jmp 0x18000e4a9
lea rcx, [rsp + 0x38]
call fcn.18000de10
nop
mov r9d, dword [rsp + 0xe0]
mov r8, qword [rsp + 0xd8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.18000de70
test eax, eax
je 0x18000e214
mov dword [rsp + 0x58], 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.18000de30
nop
lea rcx, [rsp + 0x40]
call fcn.18000d9d0
mov eax, dword [rsp + 0x58]
jmp 0x18000e4a9
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x38]
call fcn.18000dff0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x40]
call fcn.18000da10
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, qword [rsp + 0x80]
mov r8, rcx
mov edx, 0x8009
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x18000e29e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x38]
call fcn.18000de30
nop
lea rcx, [rsp + 0x40]
call fcn.18000d9d0
mov eax, dword [rsp + 0x5c]
jmp 0x18000e4a9
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x90], eax
xor r9d, r9d
lea r8, [rsp + 0x90]
mov edx, 5
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x18000e31c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x38]
call fcn.18000de30
nop
lea rcx, [rsp + 0x40]
call fcn.18000d9d0
mov eax, dword [rsp + 0x60]
jmp 0x18000e4a9
xor r9d, r9d
mov r8d, dword [rsp + 0xf0]
mov rdx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x18000e37b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x38]
call fcn.18000de30
nop
lea rcx, [rsp + 0x40]
call fcn.18000d9d0
mov eax, dword [rsp + 0x64]
jmp 0x18000e4a9
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, 2
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x18000e3e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x38]
call fcn.18000de30
nop
lea rcx, [rsp + 0x40]
call fcn.18000d9d0
mov eax, dword [rsp + 0x68]
jmp 0x18000e4a9
mov rax, qword [rsp + 0x108]
mov eax, dword [rax]
cmp dword [rsp + 0x50], eax
je 0x18000e422
mov dword [rsp + 0x30], 0xffffffff
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0x38]
call fcn.18000de30
nop
lea rcx, [rsp + 0x40]
call fcn.18000d9d0
mov eax, dword [rsp + 0x6c]
jmp 0x18000e4a9
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x108]
mov r8, qword [rsp + 0x100]
mov edx, 2
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x18000e488
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x38]
call fcn.18000de30
nop
lea rcx, [rsp + 0x40]
call fcn.18000d9d0
mov eax, dword [rsp + 0x70]
jmp 0x18000e4a9
mov dword [rsp + 0x74], 0
lea rcx, [rsp + 0x38]
call fcn.18000de30
nop
lea rcx, [rsp + 0x40]
call fcn.18000d9d0
mov eax, dword [rsp + 0x74]
add rsp, 0xc0
pop rdi
ret