Function at 0x4216ba
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push 0x60
mov eax, 0x423cf8
call fcn.004239ba
mov ebx, ecx
mov esi, edx
push dword [ebp + 8]
call sub.mfc90u.dll_new__
fldz
pop ecx
fst qword [ebp - 0x6c]
xor ecx, ecx
fstp qword [ebp - 0x64]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x3c], ecx
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
mov dword [ebp - 0x4c], ecx
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
mov dword [ebp - 0x5c], ecx
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
mov dword [ebp - 0x54], ecx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
neg ebx
sbb ebx, ebx
mov dword [ebp - 0x44], ecx
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
push ecx
not ebx
and ebx, edi
push ebx
push 0x41f
push dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x6c]
push eax
lea edi, [ebp - 0x3c]
call fcn.00421b54
mov eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x38]
jne 0x42175c
and dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 1
push dword [ebp - 0x38]
mov eax, dword [esi + 0x38]
push dword [ebp - 0x3c]
cdq
push edx
push eax
call fcn.00423980
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x24]
mov ebx, esi
push dword [esi + 0x14]
mov dword [ebp - 0x38], edx
call fcn.00421a97
test eax, eax
je 0x421817
mov eax, dword [ebp - 0x5c]
fild dword [ebp - 0x5c]
test eax, eax
jge 0x4217a4
fadd qword [0x4322b0]
mov eax, dword [esi + 0x48]
fild dword [esi + 0x48]
test eax, eax
jge 0x4217b4
fadd qword [0x4322b0]
fdivp st(1)
fmul qword [0x4322b8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x6c]
fmul qword [0x4322a8]
call fcn.00423b30
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push eax
push dword [ebp - 0x14]
push 0x420
push dword [esi + 0xc]
call edi
fld qword [ebp - 0x34]
fmul qword [0x4322a8]
call fcn.00423b30
push eax
push dword [ebp - 0x14]
push 0x421
push dword [esi + 0xc]
call edi
fld qword [ebp - 0x64]
mov eax, dword [ebp + 8]
fadd qword [ebp - 0x34]
add dword [ebp - 0x4c], eax
push 0
pop ebx
fstp qword [ebp - 0x64]
adc dword [ebp - 0x48], ebx
inc dword [ebp - 0x18]
jmp 0x421823
and dword [ebp - 0x1c], 0
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
xor ebx, ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42184b
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x3e8
jl 0x42173e
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
xor ebx, ebx
jmp 0x421852
mov dword [ebp - 0x1c], 2
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x40]
sbb ecx, dword [ebp - 0x50]
push ebx
push dword [esi + 0x48]
push ecx
push eax
call fcn.00423a80
push dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
call sub.mfc90u.dll_delete__
cmp dword [ebp - 0x1c], 2
pop ecx
je 0x42192d
cmp dword [ebp - 0x44], ebx
jne 0x421898
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x18]
xor edx, edx
div dword [ebp - 0x44]
push eax
push dword [ebp - 0x14]
push 0x422
push dword [esi + 0xc]
call edi
fild dword [ebp - 0x18]
fdivr qword [ebp - 0x64]
fmul qword [0x4322a8]
call fcn.00423b30
push eax
push dword [ebp - 0x14]
push 0x423
push dword [esi + 0xc]
call edi
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.00423a80
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x48], edx
push 0x424
push dword [esi + 0xc]
call edi
cmp dword [ebp - 0x18], 0x3e8
jge 0x42192d
push 0x42a22c
push str.IDS_SECTOR_NOTREAD
lea eax, [ebp + 8]
push eax
mov ecx, 0x43cbb0
call dword [sym.imp.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 1
push ebx
push ebx
mov dword [ebp - 4], ebx
push ebx
push dword [eax]
call dword [sym.imp.ASOHelper.dll_public:_static_int___cdecl_CSystweakApp::AfxMessageBox_wchar_t_const___unsigned_int__class_CDialog___class_CRect___bool_]
add esp, 0x14
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp - 0x1c]
call fcn.00423a59
ret 4