Function at 0x10099990
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee508
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x1013d0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
push 0
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
call sub.ncrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
js 0x10099b5e
push 0
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push str.ObjectLength
push dword [ebp - 0x28]
call sub.ncrypt.dll_BCryptGetProperty
test eax, eax
js 0x10099b7b
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x18]
mov ecx, eax
call fcn.10047900
push 0
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push str.HashDigestLength
push dword [ebp - 0x28]
call sub.ncrypt.dll_BCryptGetProperty
test eax, eax
js 0x10099b98
lea eax, [ebp - 0x11]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.1005e4a0
push 0
push 0
push 0
push dword [ebp - 0x18]
mov byte [ebp - 4], 3
push dword [ebp - 0x40]
push esi
push dword [ebp - 0x28]
call sub.ncrypt.dll_BCryptCreateHash
test eax, eax
js 0x10099bb5
mov eax, dword [ebp + 0x14]
push 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push dword [esi]
call sub.ncrypt.dll_BCryptHashData
test eax, eax
js 0x10099bd2
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
push dword [esi]
call sub.ncrypt.dll_BCryptFinishHash
test eax, eax
js 0x10099bef
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 8], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.10047a60
lea ecx, [ebp - 0x40]
call fcn.10047a60
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 4
test eax, eax
je 0x10099b2f
push 0
push eax
call sub.ncrypt.dll_BCryptCloseAlgorithmProvider
test eax, eax
je 0x10099b2f
push 0x92
push eax
push dword [ebp - 0x24]
call fcn.100448a0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10004b50
push 0x10126738
lea eax, [ebp - 0x4c]
push eax
call fcn.10006a50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x58]
call fcn.10004b50
push 0x10126738
lea eax, [ebp - 0x58]
push eax
call fcn.10006a50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x64]
call fcn.10004b50
push 0x10126738
lea eax, [ebp - 0x64]
push eax
call fcn.10006a50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x70]
call fcn.10004b50
push 0x10126738
lea eax, [ebp - 0x70]
push eax
call fcn.10006a50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10004b50
push 0x10126738
lea eax, [ebp - 0x7c]
push eax
call fcn.10006a50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x88]
call fcn.10004b50
push 0x10126738
lea eax, [ebp - 0x88]
push eax
call fcn.10006a50
int3