Function at 0x405fa0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437dae
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x1f4], ebx
push 0xb8
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x214], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x406000
mov esi, dword [esi]
sub esp, 0xc
lea ecx, [ebp - 0x1e8]
push esi
call fcn.00406480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1dc], 6
jne 0x4063b9
push 2
push 0
push 0
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x98], 0x67452301
mov dword [ebp - 0x94], 0xefcdab89
mov dword [ebp - 0x90], 0x98badcfe
mov dword [ebp - 0x8c], 0x10325476
call dword [sym.imp.MSVCP120.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 - 0x40]
push eax
lea ecx, [ebp - 0x1e8]
call dword [sym.imp.MSVCP120.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
push 0
push 0
push 0
lea ecx, [ebp - 0x1e8]
call dword [sym.imp.MSVCP120.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 0x2000
call fcn.00436c40
mov edi, eax
add esp, 4
test edi, edi
je 0x4060c2
push 0x2000
push 0
push edi
call sub.MSVCR120.dll_memset
add esp, 0xc
jmp 0x4060c4
xor edi, edi
mov dword [ebp - 0x24], edi
push 0
push 0x2000
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp - 0x1e8]
movlpd qword [ebp - 0x1f0], xmm0
call dword [sym.imp.MSVCP120.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__]
mov esi, dword [ebp - 0x1ec]
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
jne 0x406165
mov ebx, dword [ebp - 0x1f0]
jmp 0x406110
mov eax, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x98]
add ebx, eax
mov edx, edi
push eax
adc esi, dword [ebp - 0x1dc]
call fcn.004055b0
add esp, 4
lea ecx, [ebp - 0x1e8]
push 0
push 0x2000
push edi
call dword [sym.imp.MSVCP120.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__]
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
je 0x406110
mov dword [ebp - 0x1ec], ebx
mov ebx, dword [ebp - 0x1f4]
mov eax, dword [ebp - 0x1ec]
jmp 0x406171
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1ec], eax
mov edx, dword [ebp - 0x1dc]
test edx, edx
jl 0x4061a2
mov ecx, dword [ebp - 0x1e0]
jg 0x406187
test ecx, ecx
je 0x4061a2
add eax, ecx
push ecx
adc esi, edx
mov dword [ebp - 0x1ec], eax
mov edx, edi
lea ecx, [ebp - 0x98]
call fcn.004055b0
add esp, 4
lea ecx, [ebp - 0x1e8]
call fcn.00406580
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
adc ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x1ec], eax
jne 0x40639d
cmp esi, ecx
jne 0x40639d
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x20]
call fcn.00405680
push 0x98
lea eax, [ebp - 0x130]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 4
lea ecx, [ebp - 0x130]
call fcn.00406610
mov byte [ebp - 4], 2
xor ebx, ebx
push 0
lea eax, [ebp - 0x208]
push 2
push eax
call dword [sym.imp.MSVCP120.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
mov dword [ebp - 0x1ec], eax
lea ecx, [ebp - 0x130]
push 0x407260
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov esi, eax
test esi, esi
je 0x40623a
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov ecx, dword [ebp - 0x1ec]
push dword [ecx + 0xc]
push dword [ecx + 8]
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
movzx eax, byte [ebp + ebx - 0x20]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
inc ebx
cmp ebx, 0x10
jl 0x406202
push 0x406fd0
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x130]
call fcn.004066c0
mov ebx, dword [ebp - 0x1f4]
mov esi, eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [esi + 0x14], 0x10
jae 0x4062c2
mov eax, dword [esi + 0x10]
inc eax
je 0x4062cc
push eax
push esi
push ebx
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x4062cc
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x1fc], 0x10
jb 0x406301
push dword [ebp - 0x210]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x1fc], 0xf
mov dword [ebp - 0x200], 0
mov byte [ebp - 0x210], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x134], eax
lea ecx, [ebp - 0x12c]
call fcn.004066e0
lea ecx, [ebp - 0x128]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
test edi, edi
je 0x406374
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp - 0x1e8]
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 ecx, dword [ebp - 0x1e8]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x70]
mov dword [ebp + edx - 0x1ec], ecx
jmp 0x4063ff
push 0x43dad8
mov ecx, ebx
call fcn.004046d0
test edi, edi
je 0x4063d8
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x4063d8
push 0
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], 0
push 0x43dad8
mov byte [ebx], 0
call fcn.004045b0
mov eax, dword [ebp - 0x1e8]
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 - 0x1e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1ec], eax
lea ecx, [ebp - 0x1d8]
call fcn.00408190
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x178]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436c68
mov esp, ebp
pop ebp
ret