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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100560d3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5b0
mov eax, dword [0x1006e064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x450], 0
movups xmm0, xmmword [str.0123456789abcdef]
mov al, byte [0x100677d4]
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x18], al
mov dword [ebp - 0x508], 0x10065824
mov dword [ebp - 0x4f8], 0x10067870
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4f0]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x450], 2
push eax
lea ecx, [ebp - 0x4a0]
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x4a4], 0x50
movlpd qword [ebp - 0x500], xmm0
call fcn.100060f0
mov eax, dword [ebp - 0x4f8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x4f8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x4fc], eax
mov eax, dword [ebp - 0x508]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x50c], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x508]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x50c], eax
lea ecx, [ebp - 0x4f0]
call fcn.10006020
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x444]
mov dword [ebp - 4], 6
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x100119b1
lea eax, [ebp - 0x44c]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x100119db
push eax
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [edi], 0
mov ecx, edi
mov dword [edi + 0x10], 0
push 0
mov dword [edi + 0x14], 0xf
push 0x10063fec
mov byte [edi], 0
call fcn.100024f0
jmp 0x10011b5d
sub esp, 0xc
lea ecx, [ebp - 0x5c0]
push esi
call fcn.10004f20
mov byte [ebp - 4], 7
cmp dword [ebp - 0x564], 0
je 0x10011ab7
sub esp, 8
lea eax, [ebp - 0x440]
lea ecx, [ebp - 0x5c0]
push eax
call fcn.10013660
mov eax, dword [eax + 8]
test eax, eax
je 0x10011a4e
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
nop dword [eax]
push 0
push eax
lea eax, [ebp - 0x440]
push eax
push dword [ebp - 0x44c]
call esi
sub esp, 8
lea eax, [ebp - 0x440]
lea ecx, [ebp - 0x5c0]
push eax
call fcn.10013660
mov eax, dword [eax + 8]
test eax, eax
jne 0x10011a20
push 0
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], 0x14
push eax
lea eax, [ebp - 0x3c]
push eax
push 2
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
xor esi, esi
cmp dword [ebp - 0x448], esi
jbe 0x10011ab7
nop dword [eax]
movzx eax, byte [ebp + esi - 0x3c]
lea ecx, [ebp - 0x4f8]
shr eax, 4
mov dl, byte [ebp + eax - 0x28]
call fcn.10013bc0
movzx eax, byte [ebp + esi - 0x3c]
lea ecx, [ebp - 0x4f8]
and eax, 0xf
mov dl, byte [ebp + eax - 0x28]
call fcn.10013bc0
inc esi
cmp esi, dword [ebp - 0x448]
jb 0x10011a80
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x10011ac8
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x10011adb
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
lea ecx, [ebp - 0x4f0]
call fcn.100139d0
mov eax, dword [ebp - 0x5c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x5c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x5c4], eax
lea ecx, [ebp - 0x5b0]
call fcn.10004bb0
mov eax, dword [ebp - 0x5c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x5c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x5c4], eax
lea eax, [ebp - 0x550]
mov byte [ebp - 4], 8
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1001776d
add esp, 4
lea ecx, [ebp - 0x508]
call fcn.10011b90
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002eba3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret