Function at 0x40f720
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41517b
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x41e008]
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 edi, edx
mov esi, ecx
push 0
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
add esp, 8
cmp eax, 0xffffffff
jne 0x40f76a
xor al, al
jmp 0x40fb23
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f7a0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x70]
call fcn.00410d70
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ff50
push 0xb8
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 2
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x198]
call fcn.004101a0
sub esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x198]
push eax
call fcn.00410020
cmp dword [ebp - 0x13c], 0
je 0x40f8b2
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x198]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov esi, dword [eax + 8]
add esi, dword [eax]
je 0x40f885
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040fd10
sub esp, 0x18
lea ecx, [ebp - 0x198]
mov eax, esp
xorps xmm0, xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
movq qword [eax + 0x10], xmm0
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_class_std::fpos_struct__Mbstatet__]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x198]
push esi
push 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__::read_char___long_long___int64__]
mov esi, 1
jmp 0x40f887
xor esi, esi
lea ecx, [ebp - 0x188]
call fcn.00403ee0
test eax, eax
jne 0x40f8b4
push eax
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0x198]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x40f8b4
xor esi, esi
lea ecx, [ebp - 0x198]
call fcn.0040f560
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40f8f9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f8ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f8ef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00413d82
add esp, 8
test esi, esi
jne 0x40f904
xor bl, bl
jmp 0x40fab5
mov ecx, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f920
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00410d70
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0xe0]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
mov byte [ebp - 0x78], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xe0], 0x67452301
mov dword [ebp - 0xdc], 0xefcdab89
mov dword [ebp - 0xd8], 0x98badcfe
mov dword [ebp - 0xd4], 0x10325476
call fcn.004033a0
push ecx
lea ecx, [ebp - 0xe0]
call fcn.004032b0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00403b70
lea ecx, [ebp - 0x58]
call fcn.0040f610
lea ecx, [ebp - 0x28]
call fcn.0040f610
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov edi, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x18]
cmovae edx, edi
cmp esi, dword [ebp - 0x48]
jne 0x40fa34
sub esi, 4
jb 0x40f9f1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40f9f6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x40f9e0
cmp esi, 0xfffffffc
je 0x40fa2a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x40fa23
cmp esi, 0xfffffffd
je 0x40fa2a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x40fa23
cmp esi, 0xfffffffe
je 0x40fa2a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x40fa23
cmp esi, 0xffffffff
je 0x40fa2a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40fa2a
sbb eax, eax
or eax, 1
jmp 0x40fa2c
xor eax, eax
test eax, eax
jne 0x40fa34
mov bl, 1
jmp 0x40fa36
xor bl, bl
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x40fa6e
mov edx, dword [ebp - 0x58]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fa64
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40fa64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00413d82
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x40fab5
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40faab
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40faab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x40faeb
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fae1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40fae1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00413d82
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40fb21
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40fb17
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00413d82
add esp, 8
mov al, bl
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.00413d41
mov esp, ebp
pop ebp
ret