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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec910
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.1009aed0
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 0x1009b0cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
call fcn.1009b390
push eax
lea ecx, [ebp - 0x108]
call fcn.10019c20
mov byte [ebp - 4], 2
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.10059820
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10019db0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x1009b0a0
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x38]
push eax
call fcn.100b4b38
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], vtable.message_exception.0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
push 0x1013be08
push eax
call fcn.100bb0eb
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.1009af60
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1009b0e9
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 0x1009b16a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
call fcn.1009b410
push eax
lea ecx, [ebp - 0x108]
call fcn.10019c20
mov byte [ebp - 4], 6
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.10059820
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10019db0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x1009b13e
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x38]
push eax
call fcn.100b4b38
mov byte [ebp - 4], 8
mov dword [ebp - 0x44], vtable.message_exception.0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x44]
push 0x1013be08
push eax
call fcn.100bb0eb
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x1009b175
mov esi, dword [esi]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1009b17e
mov eax, dword [eax]
push 0
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1009b1f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
call fcn.1009b490
push eax
lea ecx, [ebp - 0x108]
call fcn.10019c20
mov byte [ebp - 4], 9
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.10059820
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10019db0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x1009b1cb
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x38]
push eax
call fcn.100b4b38
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x44], vtable.message_exception.0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x44]
push 0x1013be08
push eax
call fcn.100bb0eb
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], 0x10
test eax, eax
je 0x1009b207
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 0x1009b26b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
call fcn.1009b510
push eax
lea ecx, [ebp - 0x108]
call fcn.10019c20
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.10059820
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10019db0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
push eax
call fcn.10081e40
push 0x1013be08
lea eax, [ebp - 0x44]
push eax
call fcn.100bb0eb
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.1004e590
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 0x1009b2e5
push dword [ebp - 0x50]
call fcn.100b4c76
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 0x1009b290
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x1009b33d
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x1009b33d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, ebx
lock xadd dword [eax], edx
jne 0x1009b33d
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 0x1009b36d
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x1009b36d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x1009b36d
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.100b6427
mov esp, ebp
pop ebp
ret