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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x54]
push 0
call fcn.00409170
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov eax, esp
mov ecx, 1
push ecx
mov word [eax], cx
mov eax, esp
push ecx
mov word [eax], cx
mov eax, esp
mov ecx, 0x7b2
mov word [eax], cx
lea ecx, [esp + 0x2c]
call fcn.00409000
push 0
push 0
push 0
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x34], eax
call fcn.00409170
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
call fcn.0040a1f0
lea ecx, [esp + 0x38]
call fcn.00409e40
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004137b0
push 0
push 0xf4240
mov esi, dword [eax + 4]
mov edi, dword [eax]
push esi
push edi
call fcn.0059a950
push 0
push 0x3b9aca00
push edx
push eax
call fcn.0059aa00
push 0
push 0xf4240
push esi
push edi
mov ebx, eax
mov dword [esp + 0x1c], edx
call fcn.0059aa70
push 0
push 0x3e8
push edx
push eax
call fcn.0059aa00
add ebx, eax
adc dword [esp + 0xc], edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x34]
xor ecx, ecx
or ecx, dword [esp + 0x30]
push 0
push 0x64
push eax
push ecx
call fcn.0059aa00
mov ecx, ebx
sub ecx, eax
mov eax, dword [esp + 0xc]
sbb eax, edx
sub ecx, 0xb3960000
mov dword [esp + 0x10], ecx
sbb eax, 0x5e6684f4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x4554ec
push 0x197
push str.C:_vcpkginstalledx86_windowsinclude_boost_threaddetailplatform_time.hpp
push str.0___Boost::Thread___QueryPerformanceFrequency_Internal_Error_
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [esp + 0x20], xmm0
jmp 0x45556d
cmp dword [esp + 0x2c], 0
jg 0x455503
jl 0x4554fc
cmp dword [esp + 0x28], 0
ja 0x455503
push 0x19c
jmp 0x4554cb
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x30]
push eax
xor esi, esi
call edi
test eax, eax
jne 0x45552b
inc esi
cmp esi, 3
ja 0x4555d8
lea eax, [esp + 0x30]
push eax
call edi
test eax, eax
je 0x455516
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
call fcn.0059add0
mulsd xmm0, qword [0x601420]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
movsd qword [esp + 0x20], xmm0
call fcn.0059add0
movsd xmm1, qword [esp + 0x20]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.0059acc0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
adc eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push dword [ebp + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
call fcn.00432a30
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x3c]
xor ecx, ecx
or ecx, dword [esp + 0x38]
push 0
push 0x64
push eax
push ecx
call fcn.0059aa00
add eax, 0xb3960000
adc edx, 0x5e6684f4
cmp dword [esp + 0xc], edx
jl 0x4555ec
jg 0x4555cd
cmp ebx, eax
jbe 0x4555ec
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x1a6
push str.C:_vcpkginstalledx86_windowsinclude_boost_threaddetailplatform_time.hpp
push str.0___Boost::Thread___QueryPerformanceCounter_Internal_Error_
jmp 0x4554d5
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8