Function at 0x40ce00
Capabilities:
Hash data via wincrypt
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4198b9
push eax
mov eax, 0x2150
mov dword fs:[0], esp
call fcn.00404a20
push ebx
push esi
push edi
lea eax, [esp + 0x16]
mov edi, ecx
push eax
push 0x4242c0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
lea ecx, [esp + 0x74]
mov dword [esp + 0x2164], 1
push ecx
push 0
lea ecx, [esp + 0x40]
call fcn.0040c720
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x2168], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x54]
push edx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.0040de00
mov eax, dword [sym.imp.MSVCP60.dll_const_std::basic_ifstream_char__struct_std::char_traits_char__::vbtable]
lea ecx, [esp + 0x100]
mov dword [esp + 0x2164], 4
mov dword [esp + 0xa4], eax
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
mov dword [esp + 0x1c], 2
push 0
lea ecx, [esp + 0xb0]
push 0
push ecx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x2170], 5
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
push 0
lea ecx, [esp + 0xb0]
mov dword [esp + 0x2168], 6
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_filebuf_char__struct_std::char_traits_char__::constructor_struct__iobuf__]
mov edx, dword [esp + 0xa4]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_ifstream_char__struct_std::char_traits_char__::vftable]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0xa4], ecx
mov esi, dword [esp + 0x2170]
mov byte [esp + 0x2164], 7
mov eax, dword [esi + 4]
test eax, eax
jne 0x40cf2a
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0x21
push eax
lea ecx, [esp + 0xb4]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_filebuf_char__struct_std::char_traits_char______thiscall_std::basic_filebuf_char__struct_std::char_traits_char__::open_char_const___int_]
test eax, eax
jne 0x40cf58
mov edx, dword [esp + 0xa4]
push eax
push 2
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0xac]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x40d260
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0xa8], 6
jne 0x40cf9c
mov edx, ecx
push 1
push 2
lea eax, [esp + 0x28]
mov ecx, dword [esp + edx + 0xd4]
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::fpos_int____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pubseekoff_long_int__enum_std::ios_base::seekdir__int_]
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 4]
lea eax, [esp + ecx + 0xa4]
mov cl, byte [esp + ecx + 0xa8]
test cl, 6
jne 0x40cfca
mov eax, dword [eax + 0x28]
push 1
push 1
lea edx, [esp + 0x28]
push 0
push edx
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::fpos_int____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pubseekoff_long_int__enum_std::ios_base::seekdir__int_]
jmp 0x40cfd5
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.0040cdc0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
lea esi, [ecx + eax]
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], esi
mov edx, dword [eax + 4]
test byte [esp + edx + 0xa8], 6
jne 0x40d012
mov eax, edx
push 1
push 0
lea edx, [esp + 0x28]
mov ecx, dword [esp + eax + 0xd4]
push 0
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::fpos_int____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pubseekoff_long_int__enum_std::ios_base::seekdir__int_]
test esi, esi
jbe 0x40d251
lea ecx, [esp + 0x38]
call fcn.0040d500
test al, al
je 0x40d20b
xor edi, edi
mov bl, 8
mov eax, esi
sub eax, edi
cmp eax, 0x2000
jbe 0x40d03f
mov eax, 0x2000
push eax
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0xac]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
mov eax, dword [esp + 0xa8]
add edi, eax
mov esi, eax
test eax, eax
jbe 0x40d109
lea ecx, [esp + 0x15]
push ecx
push 0x4242c0
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
lea edx, [esp + 0x94]
lea ecx, [esp + 0x148]
push edx
push 0
mov byte [esp + 0x216c], bl
call fcn.0040c720
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2168], 9
call fcn.0040d320
push 1
lea ecx, [esp + 0x150]
mov byte [esp + 0x2168], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x2168], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40d192
mov eax, dword [esp + 0x50]
test eax, eax
je 0x40d192
push 0
lea ecx, [esp + 0x160]
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40d11c
mov eax, dword [esp + 0xc]
cmp edi, eax
jae 0x40d1fc
mov esi, eax
jmp 0x40d02f
lea edx, [esp + 0x17]
lea ecx, [esp + 0x84]
push edx
push str.Updating_hash_failed_
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
lea eax, [esp + 0x84]
mov bl, 0xc
push eax
mov byte [esp + 0x2168], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x13c]
call fcn.0040c720
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2168], 0xd
call fcn.0040d320
push 1
lea ecx, [esp + 0x13c]
mov byte [esp + 0x2168], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov byte [esp + 0x2164], 7
push 1
lea ecx, [esp + 0x88]
jmp 0x40d1f2
lea ecx, [esp + 0x13]
push ecx
push str.Cryptographic_provider_not_acquired_
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
lea edx, [esp + 0x64]
mov bl, 0xa
push edx
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x216c], bl
call fcn.0040c720
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2168], 0xb
call fcn.0040d320
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x2168], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov byte [esp + 0x2164], 7
push 1
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp edi, dword [esp + 0xc]
jne 0x40d207
lea ecx, [esp + 0x38]
call fcn.0040d8a0
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
push eax
call fcn.0040dcc0
mov ecx, dword [eax]
add eax, 4
mov dword [edi], ecx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x2164], 0xe
mov ecx, dword [edx]
push ecx
push 0
push eax
lea ecx, [edi + 4]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x2168], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::close_void_]
jmp 0x40d2bf
push str._could_not_be_opened
lea edx, [esp + 0x68]
push esi
push edx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov bl, 0xf
push eax
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x216c], bl
call fcn.0040c720
push eax
mov ecx, edi
mov byte [esp + 0x2168], 0x10
call fcn.0040d320
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x2168], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x2168], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov esi, dword [esp + 0x216c]
lea ecx, [esp + 0x38]
push esi
call fcn.0040dc50
mov dword [esp + 0x1c], 3
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2164], 4
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x2164], 0
call fcn.0040d480
mov ecx, dword [esp + 0x215c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x215c
ret 8