Function at 0x404790
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x4833a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], 0
push 0xb8
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc8], 0x47e6f8
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x154], 2
call dword [sym.imp.MSVCP140.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_]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xcc], eax
lea eax, [ebp - 0xb8]
mov ecx, eax
mov dword [ebp - 0x150], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb8], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x70], 0
mov byte [ebp - 0x7b], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x4e2598]
mov ecx, dword [0x4e259c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 4
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0xb8]
push 0x21
push eax
call fcn.0040ac90
test eax, eax
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0xc8]
push 0
mov eax, dword [eax + 4]
je 0x4048f2
add ecx, eax
push 0
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x4048fc
add ecx, eax
push 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
cmp dword [ebp - 0x6c], 0
jne 0x404987
push 0
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x47d228
mov byte [esi], 0
call fcn.00401be0
lea ecx, [ebp - 0xc8]
call fcn.00404ad0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40496a
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404960
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404ac4
push edx
push ecx
call fcn.0046bfdd
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bda2
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
push 0
push 0
push 0
mov edi, dword [eax + 8]
lea ecx, [ebp - 0xc8]
add edi, dword [eax]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
push edi
call fcn.0046c21c
add esp, 4
lea ecx, [ebp - 0xc8]
mov esi, eax
mov eax, edi
cdq
push edx
push eax
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
push edi
push esi
lea ecx, [ebp - 0x14c]
mov byte [ebp - 0x14c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0x67452301
mov dword [ebp - 0xfc], 0xefcdab89
mov dword [ebp - 0xf8], 0x98badcfe
mov dword [ebp - 0xf4], 0x10325476
call fcn.004018e0
lea ecx, [ebp - 0x14c]
call fcn.00401990
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00401a80
push esi
call fcn.0046c00e
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0xc8]
movups xmm0, xmmword [ebp - 0xe0]
add esp, 4
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xd0]
movq qword [esi + 0x10], xmm0
call fcn.00404ad0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40496a
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404960
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404960
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3