Function at 0x402a80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4bee
mov eax, dword fs:[0]
push eax
sub esp, 0x534
mov eax, dword [0x6807dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x538], esi
push 0xb8
lea eax, [ebp - 0x534]
mov dword [ebp - 0x538], esi
push 0
push eax
mov dword [ebp - 0x540], 0
call fcn.005c81c0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x402ae5
mov edi, dword [edi]
mov dword [ebp - 0x534], 0x663b80
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x524]
mov dword [ebp - 0x540], 2
lea ecx, [ebp - 0x534]
push eax
call fcn.00404730
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x534]
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 - 0x534]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x538], eax
lea ecx, [ebp - 0x524]
call fcn.00404b50
push 0
push 0
lea ecx, [ebp - 0x524]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.00404570
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4d8], 0
jne 0x402bf5
push 0x40
push 0x21
push edi
call fcn.0055b4a4
add esp, 0xc
test eax, eax
je 0x402bf5
push 1
push eax
lea ecx, [ebp - 0x524]
call fcn.00404570
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4f0]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x538], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x53c]
mov byte [ebp - 4], 4
push eax
call fcn.00405330
add esp, 4
lea ecx, [ebp - 0x524]
push eax
call fcn.00404420
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x538]
test ecx, ecx
je 0x402c20
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x402c20
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x402c20
mov eax, dword [ebp - 0x534]
lea ecx, [ebp - 0x534]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00401e80
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x534]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x528]
test al, 6
je 0x402c5f
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x663884
mov byte [esi], 0
call fcn.004042b0
jmp 0x402d46
mov byte [ebp - 0x414], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x47c], 0x67452301
mov dword [ebp - 0x478], 0xefcdab89
mov dword [ebp - 0x474], 0x98badcfe
mov dword [ebp - 0x470], 0x10325476
test al, 1
jne 0x402d00
nop word [eax + eax]
sub esp, 8
lea eax, [ebp - 0x410]
lea ecx, [ebp - 0x534]
push eax
call fcn.00403b00
cmp dword [ebp - 0x528], 0
jl 0x402ced
mov eax, dword [ebp - 0x52c]
jg 0x402cda
test eax, eax
je 0x402ced
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x47c]
call fcn.00402070
mov eax, dword [ebp - 0x534]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x528], 1
je 0x402cb0
lea ecx, [ebp - 0x524]
call fcn.00404670
test eax, eax
jne 0x402d3a
mov eax, dword [ebp - 0x534]
lea ecx, [ebp - 0x534]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00401e80
push esi
lea ecx, [ebp - 0x47c]
call fcn.00402840
lea ecx, [ebp - 0x534]
call fcn.00402d70
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.0055cf54
mov esp, ebp
pop ebp
ret