Function at 0x4055a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43320e
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 0x405600
mov esi, dword [esi]
sub esp, 0xc
lea ecx, [ebp - 0x1e8]
push esi
call fcn.00405a80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1dc], 6
jne 0x4059b9
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.00432080
mov edi, eax
add esp, 4
test edi, edi
je 0x4056c2
push 0x2000
push 0
push edi
call sub.MSVCR120.dll_memset
add esp, 0xc
jmp 0x4056c4
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 0x405765
mov ebx, dword [ebp - 0x1f0]
jmp 0x405710
mov eax, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x98]
add ebx, eax
mov edx, edi
push eax
adc esi, dword [ebp - 0x1dc]
call fcn.00404cd0
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 0x405710
mov dword [ebp - 0x1ec], ebx
mov ebx, dword [ebp - 0x1f4]
mov eax, dword [ebp - 0x1ec]
jmp 0x405771
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1ec], eax
mov edx, dword [ebp - 0x1dc]
test edx, edx
jl 0x4057a2
mov ecx, dword [ebp - 0x1e0]
jg 0x405787
test ecx, ecx
je 0x4057a2
add eax, ecx
push ecx
adc esi, edx
mov dword [ebp - 0x1ec], eax
mov edx, edi
lea ecx, [ebp - 0x98]
call fcn.00404cd0
add esp, 4
lea ecx, [ebp - 0x1e8]
call fcn.00405b80
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 0x40599d
cmp esi, ecx
jne 0x40599d
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x20]
call fcn.00404da0
push 0x98
lea eax, [ebp - 0x130]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 4
lea ecx, [ebp - 0x130]
call fcn.00405c10
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 0x406860
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 0x40583a
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 0x405802
push 0x4065d0
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.00405cc0
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 0x4058c2
mov eax, dword [esi + 0x10]
inc eax
je 0x4058cc
push eax
push esi
push ebx
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x4058cc
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 0x405901
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.00405ce0
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 0x405974
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 0x4059ff
push 0x438acc
mov ecx, ebx
call fcn.004046d0
test edi, edi
je 0x4059d8
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x4059d8
push 0
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], 0
push 0x438acc
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.00407790
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.004320a8
mov esp, ebp
pop ebp
ret