Function at 0x405d97
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x4d2649
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517490]
xor eax, esp
push eax
lea eax, [esp + 0x370]
mov dword fs:[0], eax
mov al, dl
mov byte [esp + 0x17], al
mov esi, ecx
xor ebx, ebx
push esi
test al, al
je 0x405de8
push str.Verify_content_hash_of_ISO_file__S_n
jmp 0x405ded
push str.Verify_content_hash_of_drive__S_n
push ebx
call fcn.00404dd1
add esp, 0xc
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x40]
mov dword [esp + 0x24], ebx
mov ebp, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebp
push 0x104
push ebx
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
call fcn.004bea90
add esp, 0xc
lea ecx, [esp + 0x144]
mov edi, ebx
call fcn.00444d4d
cmp byte [esp + 0x17], 0
mov dword [esp + 0x378], ebx
je 0x405e6c
push esi
lea ecx, [esp + 0x148]
call fcn.00445692
test al, al
jne 0x405f32
push esi
push str.Failed_to_parse_UDF_file_system_of__S__n
push 0xff
call fcn.00404dd1
add esp, 0xc
jmp 0x40626d
push 0x5c
call fcn.004b9c6e
pop ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x378], 1
test eax, eax
je 0x405e8f
mov ecx, eax
call fcn.00423b5c
mov edi, eax
jmp 0x405e91
mov edi, ebx
mov byte [esp + 0x378], bl
mov ecx, edi
movzx eax, word [esi]
mov edx, dword [edi]
sub eax, 0x41
push eax
call dword [edx + 4]
test al, al
jne 0x405ec2
push esi
push str.Failed_to_open_drive__S__n
push 0xff
call fcn.00404dd1
add esp, 0xc
jmp 0x406254
push ebx
push edi
lea ecx, [esp + 0x14c]
call fcn.00445664
test al, al
jne 0x405edc
push esi
push str.Failed_to_parse_UDF_file_system_of__S__n
jmp 0x405eb0
movzx eax, byte [esi]
mov esi, dword [eax*4 + 0x529a6c]
test esi, esi
je 0x405f32
cmp byte [esi + 0x81], 0
je 0x405f32
lea eax, [esp + 0x50]
mov byte [esp + 0x4d], 1
push eax
add esi, 0x1dc
push esi
call fcn.0047365a
lea eax, [esp + 0x2d0]
push eax
push 0x10
push esi
call fcn.0041fe57
add esp, 0x14
lea eax, [esp + 0x2c8]
push eax
push str.Bus_encryption_RDK__s_n
push ebx
call fcn.00404dd1
add esp, 0xc
push ebx
push str.AACS_
lea ecx, [esp + 0x14c]
call fcn.0044545d
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
jne 0x405f64
push str.AACS_directory_not_present__abort__n
push 0xff
call fcn.00404dd1
pop ecx
pop ecx
jmp 0x406254
push ebx
lea eax, [esp + 0x2f0]
mov ebp, ebx
push str.Content_03d.cer
push eax
call fcn.004ba78c
jmp 0x40602a
lea ecx, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x14c]
call fcn.00446cc9
push ebp
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2f0]
push str.ContentHash_03d.tbl
push eax
call fcn.004ba78c
add esp, 0xc
lea eax, [esp + 0x2ec]
lea ecx, [esp + 0x144]
push esi
push eax
call fcn.0044545d
test eax, eax
je 0x40604a
lea ecx, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x14c]
call fcn.00446cc9
mov ecx, dword [esp + 0x1c]
mov esi, eax
test ecx, ecx
je 0x406007
test esi, esi
je 0x406000
lea eax, [ebp + 1]
mov edx, ecx
push eax
push ecx
push esi
push ecx
lea ecx, [esp + 0x4c]
call fcn.00404ed2
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push ecx
call fcn.00404d44
pop ecx
test esi, esi
je 0x406012
push esi
call fcn.00404d44
pop ecx
inc ebp
lea eax, [esp + 0x2ec]
push ebp
push str.Content_03d.cer
push eax
call fcn.004ba78c
mov esi, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x2ec]
lea ecx, [esp + 0x144]
push esi
push eax
call fcn.0044545d
test eax, eax
jne 0x405f7e
cmp dword [esp + 0x3c], 0
je 0x40623f
cmp dword [esp + 0x44], 0
je 0x40623f
push ebx
push str.BDMV_STREAM_
lea ecx, [esp + 0x14c]
call fcn.0044545d
mov esi, eax
test esi, esi
je 0x406250
push 0x30000
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x406250
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esi]
mov dword [esp + 0x20], eax
jmp 0x406145
cmp byte [esi + 0xc], 0
jne 0x406142
lea ebp, [esi + 0x38]
push 0x2e
push ebp
call fcn.004ba830
pop ecx
pop ecx
test eax, eax
je 0x406142
push 5
inc eax
push str.m2ts
push eax
call fcn.004bccbc
add esp, 0xc
test eax, eax
jne 0x406142
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4060e1
sub ecx, edx
cmp ecx, 0xa
jne 0x406142
push ebp
call fcn.004ba85d
mov edx, dword [esp + 0x20]
pop ecx
push dword [esi + 0x2c]
lea ecx, [esp + 0x40]
push dword [esi + 0x28]
push dword [esp + 0x54]
push eax
lea eax, [esp + 0x154]
push esi
push eax
call fcn.00405a19
add esp, 0x18
cmp eax, 0x4c
je 0x40614f
cmp eax, 0xffffffff
jne 0x40612a
inc dword [esp + 0x24]
jmp 0x40613e
test eax, eax
jne 0x406134
inc dword [esp + 0x2c]
jmp 0x40613e
jle 0x40613e
inc dword [esp + 0x18]
add dword [esp + 0x30], eax
inc dword [esp + 0x28]
mov esi, dword [esi + 4]
test esi, esi
jne 0x4060ac
jmp 0x406160
push str.User_abort__n
push 0x90ff
call fcn.00404dd1
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x18]
mov esi, eax
sub esi, dword [esp + 0x20]
mov ecx, str.mismatch
test ebp, ebp
mov eax, str.matched
cmovne eax, ecx
push eax
push str.Content_hash:_____:__s_n
push ebx
call fcn.00404dd1
add esp, 0xc
push dword [esp + 0x28]
push str.Total_files:______:__u_n
push ebx
call fcn.00404dd1
add esp, 0xc
push dword [esp + 0x2c]
push str.Matched_files:____:__u_n
push ebx
call fcn.00404dd1
add esp, 0xc
test ebp, ebp
je 0x4061c5
push ebp
push str.Mismatched_files__:__u_n
push ebx
call fcn.00404dd1
add esp, 0xc
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4061dc
push eax
push str.Mismatched_hashes_:__u_n
push ebx
call fcn.00404dd1
add esp, 0xc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4061f3
push eax
push str.Skipped_Files:____:__u_n
push ebx
call fcn.00404dd1
add esp, 0xc
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
push ecx
push ecx
addsd xmm0, qword [esi*8 + 0x4eed80]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4eed64]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Time_elapsed______:__.1f_s_n
push ebx
call fcn.00404dd1
push dword [esp + 0x2c]
call fcn.00404d44
add esp, 0x14
lea ecx, [esp + 0x3c]
call fcn.00404da3
jmp 0x406254
push str.Content_hash_table_missing__unable_to_verify_integrity_of_M2TS_files._n
push 0xff
call fcn.00404dd1
pop ecx
pop ecx
mov ebp, dword [esp + 0x18]
test edi, edi
je 0x40626d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov ecx, edi
call fcn.00423b89
push edi
call fcn.004b9c69
pop ecx
or dword [esp + 0x378], 0xffffffff
lea ecx, [esp + 0x144]
call fcn.00444e5d
mov eax, ebp
mov ecx, dword [esp + 0x370]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.004b94b6
add esp, 0x368
ret