Function at 0x401e10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f698e
mov eax, dword fs:[0]
push eax
sub esp, 0x534
mov eax, dword [0x67c374]
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 - 0x480], esi
mov dword [ebp - 0x480], esi
mov dword [ebp - 0x488], 0
cmp dword [edi + 0x14], 0x10
jb 0x401e5f
mov edi, dword [edi]
mov dword [ebp - 0x540], 0x664ccc
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 - 0x530]
mov dword [ebp - 0x488], 2
lea ecx, [ebp - 0x540]
push eax
call fcn.00403900
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x540]
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 - 0x540]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x544], eax
lea ecx, [ebp - 0x530]
call fcn.00403d20
push 0
push 0
lea ecx, [ebp - 0x530]
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.00403760
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4e4], 0
jne 0x401f6d
push 0x40
push 0x21
push edi
call fcn.0044f421
add esp, 0xc
test eax, eax
je 0x401f6d
push 1
push eax
lea ecx, [ebp - 0x530]
call fcn.00403760
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4fc]
mov edi, dword [eax + 4]
mov ecx, edi
mov dword [ebp - 0x480], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 4
push eax
call fcn.00404210
add esp, 4
lea ecx, [ebp - 0x530]
push eax
call fcn.00403610
mov byte [ebp - 4], 5
test edi, edi
je 0x401f98
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x401f98
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x401f98
mov eax, dword [ebp - 0x540]
lea ecx, [ebp - 0x540]
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.00404bb0
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x540]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x534]
test al, 6
je 0x401fd7
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x664cdc
mov byte [esi], 0
call fcn.004053a0
jmp 0x4020b6
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 0x402070
nop
sub esp, 8
lea eax, [ebp - 0x410]
lea ecx, [ebp - 0x540]
push eax
call fcn.00402cf0
cmp dword [ebp - 0x534], 0
jl 0x40205d
mov eax, dword [ebp - 0x538]
jg 0x40204a
test eax, eax
je 0x40205d
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x47c]
call fcn.00401400
mov eax, dword [ebp - 0x540]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x534], 1
je 0x402020
lea ecx, [ebp - 0x530]
call fcn.00403840
test eax, eax
jne 0x4020aa
mov eax, dword [ebp - 0x540]
lea ecx, [ebp - 0x540]
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.00404bb0
push esi
lea ecx, [ebp - 0x47c]
call fcn.00401bd0
lea ecx, [ebp - 0x540]
call fcn.004020e0
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.004514cc
mov esp, ebp
pop ebp
ret