Function at 0x100cfd80
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 0x101f7674
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 [0x10244e38]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x210], 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.100a7d0a
test eax, eax
jne 0x100cfe14
push 0x102019fb
mov ecx, dword [ebp + 8]
call fcn.100a7f58
mov eax, dword [ebp - 0x210]
or eax, 1
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 8]
jmp 0x100d0204
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 0x100cfe48
cmp dword [ebp - 0x218], 1
je 0x100cfe6d
cmp dword [ebp - 0x218], 2
je 0x100cfe92
jmp 0x100cfeb5
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.100a7d0a
mov dword [ebp - 0x20], eax
jmp 0x100cfeb5
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.100a7d0a
mov dword [ebp - 0x20], eax
jmp 0x100cfeb5
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.100a7d0a
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100cfef4
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.100a7d0a
push 0x102019fb
mov ecx, dword [ebp + 8]
call fcn.100a7f58
mov eax, dword [ebp - 0x210]
or eax, 1
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 8]
jmp 0x100d0204
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.100a7d0a
test eax, eax
jne 0x100cff61
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.100a7d0a
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.100a7d0a
push 0x102019fb
mov ecx, dword [ebp + 8]
call fcn.100a7f58
mov eax, dword [ebp - 0x210]
or eax, 1
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 8]
jmp 0x100d0204
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.100a7d0a
test eax, eax
jne 0x100cffde
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.100a7d0a
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.100a7d0a
push 0x102019fb
mov ecx, dword [ebp + 8]
call fcn.100a7f58
mov eax, dword [ebp - 0x210]
or eax, 1
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 8]
jmp 0x100d0204
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x5c]
call fcn.100a970e
mov dword [ebp - 4], 0
mov esi, esp
push 0
lea eax, [ebp - 0x38]
push eax
push 0
lea ecx, [ebp - 0x5c]
call fcn.100ab667
push eax
push 2
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp esi, esp
call fcn.100a7d0a
test eax, eax
jne 0x100d0076
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.100a7d0a
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.100a7d0a
push 0x102019fb
mov ecx, dword [ebp + 8]
call fcn.100a7f58
mov eax, dword [ebp - 0x210]
or eax, 1
mov dword [ebp - 0x210], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.100a8719
mov eax, dword [ebp + 8]
jmp 0x100d0204
push 1
push 2
lea ecx, [ebp - 0xfc]
call fcn.100aa8ca
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.100a6450
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.100aa77b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1e4]
call fcn.100a6fd6
jmp 0x100d00dc
lea ecx, [ebp - 0x110]
call fcn.100a7cba
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x5c]
call fcn.100aad43
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.100a7742
mov byte [ebp - 0x1ed], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x204]
call fcn.100a6fd6
movzx eax, byte [ebp - 0x1ed]
test eax, eax
je 0x100d018e
push 0x30
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xfc]
call fcn.100a5456
push 0
push 2
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xfc]
call fcn.100a60f9
lea ecx, [ebp - 0x110]
call fcn.100a895d
movzx eax, byte [eax]
push eax
push 0x100aab9f
lea ecx, [ebp - 0xfc]
call fcn.100a8813
mov ecx, eax
call fcn.100a8dd1
jmp 0x100d00d1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.100a834f
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.100a7d0a
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.100a7d0a
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xfc]
call fcn.100ab446
mov ecx, dword [ebp - 0x210]
or ecx, 1
mov dword [ebp - 0x210], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call fcn.100aa5aa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.100a8719
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x100d0234]
call fcn.100a9f10
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.100a7d0a
mov esp, ebp
pop ebp
ret