Function at 0x100aa480
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018c554
mov eax, dword fs:[0]
push eax
sub esp, 0x210
push ebx
push esi
push edi
lea edi, [ebp - 0x21c]
mov ecx, 0x84
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101c3f30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x14], 0
mov esi, esp
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp esi, esp
call fcn.10087430
test eax, eax
jne 0x100aa514
push 0x10197675
mov ecx, dword [ebp + 8]
call fcn.10087a6b
mov eax, dword [ebp - 0x1dc]
or eax, 1
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 8]
jmp 0x100aa904
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x100aa548
cmp dword [ebp - 0x218], 1
je 0x100aa56d
cmp dword [ebp - 0x218], 2
je 0x100aa592
jmp 0x100aa5b5
mov esi, esp
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x8004
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp esi, esp
call fcn.10087430
mov dword [ebp - 0x20], eax
jmp 0x100aa5b5
mov esi, esp
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp esi, esp
call fcn.10087430
mov dword [ebp - 0x20], eax
jmp 0x100aa5b5
mov esi, esp
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x800c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp esi, esp
call fcn.10087430
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100aa5f4
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.10087430
push 0x10197675
mov ecx, dword [ebp + 8]
call fcn.10087a6b
mov eax, dword [ebp - 0x1dc]
or eax, 1
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 8]
jmp 0x100aa904
mov esi, esp
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp esi, esp
call fcn.10087430
test eax, eax
jne 0x100aa661
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.10087430
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.10087430
push 0x10197675
mov ecx, dword [ebp + 8]
call fcn.10087a6b
mov eax, dword [ebp - 0x1dc]
or eax, 1
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 8]
jmp 0x100aa904
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x44], 4
mov esi, esp
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 4
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp esi, esp
call fcn.10087430
test eax, eax
jne 0x100aa6de
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.10087430
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.10087430
push 0x10197675
mov ecx, dword [ebp + 8]
call fcn.10087a6b
mov eax, dword [ebp - 0x1dc]
or eax, 1
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 8]
jmp 0x100aa904
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1008527f
mov dword [ebp - 4], 0
mov esi, esp
push 0
lea eax, [ebp - 0x38]
push eax
push 0
lea ecx, [ebp - 0x5c]
call fcn.100879c6
push eax
push 2
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp esi, esp
call fcn.10087430
test eax, eax
jne 0x100aa776
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.10087430
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.10087430
push 0x10197675
mov ecx, dword [ebp + 8]
call fcn.10087a6b
mov eax, dword [ebp - 0x1dc]
or eax, 1
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10084131
mov eax, dword [ebp + 8]
jmp 0x100aa904
push 1
push 2
lea ecx, [ebp - 0xfc]
call fcn.100863fa
mov byte [ebp - 4], 1
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10085635
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x21c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x110]
call fcn.100868ff
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x210]
call fcn.10086562
jmp 0x100aa7dc
lea ecx, [ebp - 0x110]
call fcn.1008768d
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10086a44
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x21c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x110]
call fcn.100842b2
mov byte [ebp - 0x1f9], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f0]
call fcn.10086562
movzx eax, byte [ebp - 0x1f9]
test eax, eax
je 0x100aa88e
push 0x30
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xfc]
call fcn.1008455f
push 0
push 2
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xfc]
call fcn.1008527a
lea ecx, [ebp - 0x110]
call fcn.100882e0
movzx eax, byte [eax]
push eax
push 0x10086a76
lea ecx, [ebp - 0xfc]
call fcn.1008419f
mov ecx, eax
call fcn.100845be
jmp 0x100aa7d1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.10087f7f
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.10087430
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.10087430
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xfc]
call fcn.10087705
mov ecx, dword [ebp - 0x1dc]
or ecx, 1
mov dword [ebp - 0x1dc], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call fcn.10086279
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10084131
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x100aa934]
call fcn.100883bc
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x21c
cmp ebp, esp
call fcn.10087430
mov esp, ebp
pop ebp
ret