Function at 0x1009a950
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec120
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x10001850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x58], edi
movq qword [ebp - 0x30], xmm0
call fcn.1009a830
mov dword [ebp - 4], 1
push 0xf0000000
push 1
push 0
push 0
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1009aa2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
call fcn.1009acf0
push eax
lea ecx, [ebp - 0x108]
call fcn.10019c20
mov byte [ebp - 4], 2
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.10059890
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10019db0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x1009aa00
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x38]
push eax
call fcn.100b44b8
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], vtable.message_exception.0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
push 0x1012beb0
push eax
call fcn.100baa6b
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.1009a8c0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1009aa49
mov eax, dword [eax]
push dword [ebp - 0x28]
push 0
push 0
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1009aaca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
call fcn.1009ad70
push eax
lea ecx, [ebp - 0x108]
call fcn.10019c20
mov byte [ebp - 4], 6
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.10059890
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10019db0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x1009aa9e
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x38]
push eax
call fcn.100b44b8
mov byte [ebp - 4], 8
mov dword [ebp - 0x44], vtable.message_exception.0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x44]
push 0x1012beb0
push eax
call fcn.100baa6b
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x1009aad5
mov esi, dword [esi]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1009aade
mov eax, dword [eax]
push 0
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1009ab57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
call fcn.1009ae00
push eax
lea ecx, [ebp - 0x108]
call fcn.10019c20
mov byte [ebp - 4], 9
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.10059890
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10019db0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x1009ab2b
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x38]
push eax
call fcn.100b44b8
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x44], vtable.message_exception.0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x44]
push 0x1012beb0
push eax
call fcn.100baa6b
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], 0x10
test eax, eax
je 0x1009ab67
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1009abcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
call fcn.1009ae90
push eax
lea ecx, [ebp - 0x108]
call fcn.10019c20
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.10059890
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10019db0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
push eax
call fcn.10081780
push 0x1012beb0
lea eax, [ebp - 0x44]
push eax
call fcn.100baa6b
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
push 0x20
mov ecx, edi
mov dword [ebp - 0x54], 1
call fcn.10017ce0
xor esi, esi
mov edi, edi
movzx eax, byte [ebp + esi - 0x20]
lea ecx, [ebp - 0x108]
push str._02x
mov dword [ebp - 0x38], eax
call fcn.10019c20
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.1004e760
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.10019db0
mov byte [ebp - 4], 0xf
mov ecx, edi
push 0xffffffffffffffff
push 0
push eax
call fcn.1002b410
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x3c], 0x10
jb 0x1009ac45
push dword [ebp - 0x50]
call fcn.100b45f6
add esp, 4
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.100177b0
inc esi
cmp esi, 0x10
jl 0x1009abf0
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x1009ac9d
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x1009ac9d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, ebx
lock xadd dword [eax], edx
jne 0x1009ac9d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x1009accd
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x1009accd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x1009accd
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b5da7
mov esp, ebp
pop ebp
ret