Function at 0x1000ed60
Capabilities:
Hash data via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c339b
mov eax, dword fs:[0]
push eax
sub esp, 0x508
mov eax, dword [0x1022c068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x438], eax
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x434], 0
jb 0x1000edc1
mov ecx, dword [eax]
mov dword [eax + 0x10], 0
xor eax, eax
push 0xc
mov word [ecx], ax
call fcn.10186698
mov esi, eax
add esp, 4
mov dword [ebp - 0x430], esi
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1000e9e0
test al, al
je 0x1000f155
mov dword [ebp - 0x448], esi
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 8
jb 0x1000ee18
mov edi, dword [edi]
push 0x101e857c
push edi
call fcn.1018f123
mov edi, eax
add esp, 8
test edi, edi
jne 0x1000ee83
test esi, esi
je 0x1000ee65
mov eax, dword [esi + 4]
test eax, eax
je 0x1000ee45
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x1000ee5a
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
push 0xc
push esi
call fcn.101866c8
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10186332
mov esp, ebp
pop ebp
ret
push edi
call fcn.1018b4a5
add esp, 4
push edi
test eax, eax
jne 0x1000eed5
push 0x400
lea eax, [ebp - 0x414]
push 1
push eax
call fcn.1018f461
add esp, 0x10
test eax, eax
je 0x1000ee83
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1000eec7
push 0
push eax
lea eax, [ebp - 0x414]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1000ee83
push edi
call fcn.1018b580
add esp, 4
jmp 0x1000ee30
call fcn.1018b580
add esp, 4
mov dword [ebp - 0x434], 0
lea eax, [ebp - 0x444]
mov ecx, esi
push eax
call fcn.1000ead0
mov dword [ebp - 0x504], 0x101f1e48
mov dword [ebp - 0x4f4], 0x101f1e58
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4ec]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x430], 2
push eax
lea ecx, [ebp - 0x49c]
mov dword [ebp - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x4a0], 0x50
movlpd qword [ebp - 0x4fc], xmm0
call fcn.1000b810
mov eax, dword [ebp - 0x4f4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x4f8], eax
mov eax, dword [ebp - 0x504]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x504]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x508], eax
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x504]
push 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x504]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x508], eax
lea ecx, [ebp - 0x4ec]
call fcn.1000b710
mov byte [ebp - 4], 0xa
xor edi, edi
mov eax, dword [ebp - 0x440]
sub eax, dword [ebp - 0x444]
mov dword [ebp - 0x430], edi
cmp edi, eax
jae 0x1000f07e
mov eax, dword [ebp - 0x4f4]
lea ecx, [ebp - 0x4f4]
mov eax, dword [eax + 4]
add eax, ecx
push eax
call fcn.100025a0
add esp, 4
lea eax, [ebp - 0x514]
push 0
push 2
push eax
call fcn.10185816
add esp, 0xc
lea ecx, [ebp - 0x4f4]
mov edi, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0x4f4]
mov eax, dword [eax + 4]
add eax, ecx
mov ecx, edi
push eax
call dword [0x101d3368]
call edi
mov eax, dword [ebp - 0x4f4]
mov ecx, 0x30
mov edi, dword [ebp - 0x430]
add esp, 0xc
mov eax, dword [eax + 4]
mov word [ebp + eax - 0x4b4], cx
lea ecx, [ebp - 0x4f4]
mov eax, dword [ebp - 0x444]
movzx eax, byte [eax + edi]
push eax
call fcn.1000f230
inc edi
jmp 0x1000efd8
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.1000b650
lea ecx, [ebp - 0x504]
call fcn.1000eca0
lea ecx, [ebp - 0x444]
call fcn.10004e00
mov edi, dword [ebp - 0x438]
lea eax, [ebp - 0x42c]
cmp edi, eax
je 0x1000f0f1
mov ecx, edi
call fcn.10004e60
movups xmm0, xmmword [ebp - 0x42c]
xor eax, eax
mov word [ebp - 0x42c], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x41c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 7
lea ecx, [ebp - 0x42c]
call fcn.10004e60
test esi, esi
je 0x1000f135
mov eax, dword [esi + 4]
test eax, eax
je 0x1000f115
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x1000f12a
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
push 0xc
push esi
call fcn.101866c8
add esp, 8
mov al, 1
jmp 0x1000ee67
push str.HashImplementation::reset_failed
lea ecx, [ebp - 0x454]
call fcn.10001480
push 0x10229d38
lea eax, [ebp - 0x454]
push eax
call fcn.101878e5
int3