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

Disassembly:
push ebx
sub esp, 0x58
fld dword [0x5025f0]
mov eax, dword [0x55d52c]
mov byte [0x55d0cc], 1
fld qword [esp + 0x60]
or eax, dword [0x55d528]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
fdivp st(1)
fst qword [esp + 0x18]
fmul dword [0x5025f4]
fstp qword [esp + 0x20]
jne 0x417868
call sym._GetCurrentThread_0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._SetThreadAffinityMask_8
sub esp, 8
mov dword [esp], 0x55d528
call sym._QueryPerformanceCounter_4
sub esp, 4
mov dword [esp], 0x565630
call sym._QueryPerformanceFrequency_4
sub esp, 4
fldz
fldz
fld qword [0x55d540]
fucom st(1)
fnstsw ax
fstp st(1)
sahf
jnp 0x4178c0
fld qword [esp + 0x18]
fadd st(1)
fadd qword [esp + 0x20]
fcomp st(2)
fnstsw ax
sahf
jbe 0x4174e0
fstp st(1)
jmp 0x4174e2
fstp st(0)
mov dword [esp], 0
mov ecx, dword [0x55d518]
fstp qword [esp + 0x10]
call method.ege::egeControlBase.draw_ege::IMAGE_
mov eax, dword [0x55d52c]
sub esp, 4
or eax, dword [0x55d528]
fld qword [esp + 0x10]
fadd qword [esp + 0x18]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
fld st(0)
fstp qword [esp + 0x10]
fadd dword [0x5025f8]
jne 0x417818
fstp qword [esp + 0x28]
call sym._GetCurrentThread_0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._SetThreadAffinityMask_8
sub esp, 8
mov dword [esp], 0x55d528
call sym._QueryPerformanceCounter_4
sub esp, 4
mov dword [esp], 0x565630
call sym._QueryPerformanceFrequency_4
sub esp, 4
fldz
fld qword [esp + 0x28]
fcompp
fnstsw ax
lea ebx, [esp + 0x48]
sahf
jae 0x417698
mov dword [esp + 4], 1
mov dword [esp], 0x55d040
call method.ege.dealmessage_ege::_graph_setting__bool_
mov eax, dword [0x55d52c]
or eax, dword [0x55d528]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jne 0x4177d0
call sym._GetCurrentThread_0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._SetThreadAffinityMask_8
sub esp, 8
mov dword [esp], 0x55d528
call sym._QueryPerformanceCounter_4
sub esp, 4
mov dword [esp], 0x565630
call sym._QueryPerformanceFrequency_4
sub esp, 4
fldz
mov dword [esp + 4], 0x55d518
mov dword [esp], 0x55d040
fstp qword [esp + 0x10]
call method.ege.guiupdate_ege::_graph_setting__ege::egeControlBase_
fld qword [0x55d540]
fld qword [esp + 0x18]
fadd st(1)
fld qword [esp + 0x20]
fadd st(1)
fld qword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
sahf
jae 0x417638
fxch st(2)
fcomp st(2)
fnstsw ax
sahf
jbe 0x4178b0
fstp st(0)
jmp 0x41763c
fstp st(1)
fstp st(1)
mov byte [0x55d0cc], 0
fstp qword [0x55d540]
add esp, 0x58
pop ebx
ret
mov dword [esp], ebx
call sym._QueryPerformanceCounter_4
sub esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub eax, dword [0x55d528]
sbb edx, dword [0x55d52c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
fild qword [esp + 0x28]
fild qword [0x565630]
fdivp st(1)
fmul dword [0x5025f0]
fld qword [esp + 0x10]
fcompp
fnstsw ax
sahf
jb 0x41757f
mov eax, dword [0x55d52c]
or eax, dword [0x55d528]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jne 0x417788
call sym._GetCurrentThread_0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._SetThreadAffinityMask_8
sub esp, 8
mov dword [esp], 0x55d528
call sym._QueryPerformanceCounter_4
sub esp, 4
mov dword [esp], 0x565630
call sym._QueryPerformanceFrequency_4
sub esp, 4
fld qword [esp + 0x10]
fnstcw word [esp + 0x3e]
movzx eax, word [esp + 0x3e]
or ah, 0xc
mov word [esp + 0x3c], ax
fldcw word [esp + 0x3c]
fistp dword [esp]
fldcw word [esp + 0x3e]
call method.ege.ege_sleep_long_
mov eax, dword [0x55d52c]
or eax, dword [0x55d528]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jne 0x417650
call sym._GetCurrentThread_0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._SetThreadAffinityMask_8
sub esp, 8
mov dword [esp], 0x55d528
call sym._QueryPerformanceCounter_4
sub esp, 4
mov dword [esp], 0x565630
call sym._QueryPerformanceFrequency_4
sub esp, 4
fld qword [esp + 0x10]
ftst
fnstsw ax
fstp st(0)
sahf
jae 0x417698
jmp 0x41757f
mov dword [esp], ebx
call sym._QueryPerformanceCounter_4
sub esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub eax, dword [0x55d528]
sbb edx, dword [0x55d52c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
fild qword [esp + 0x28]
fild qword [0x565630]
fdivp st(1)
fmul dword [0x5025f0]
fsubr qword [esp + 0x10]
jmp 0x4176f3
lea eax, [esp + 0x48]
mov dword [esp], eax
call sym._QueryPerformanceCounter_4
sub esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub eax, dword [0x55d528]
sbb edx, dword [0x55d52c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
fild qword [0x565630]
fdivp st(1)
fmul dword [0x5025f0]
jmp 0x4175ec
lea eax, [esp + 0x48]
fstp qword [esp + 0x30]
mov dword [esp], eax
call sym._QueryPerformanceCounter_4
sub esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub eax, dword [0x55d528]
sbb edx, dword [0x55d52c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
fild qword [esp + 0x28]
fild qword [0x565630]
fdivp st(1)
fmul dword [0x5025f0]
fld qword [esp + 0x30]
jmp 0x417570
lea eax, [esp + 0x48]
mov dword [esp], eax
call sym._QueryPerformanceCounter_4
sub esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub eax, dword [0x55d528]
sbb edx, dword [0x55d52c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
fild qword [0x565630]
fdivp st(1)
fld qword [0x502600]
fmulp st(1)
jmp 0x4174ae
fstp st(1)
jmp 0x41763c
jne 0x4174c3
fstp st(0)
mov eax, dword [0x55d52c]
or eax, dword [0x55d528]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
je 0x417940
lea eax, [esp + 0x48]
fstp qword [esp + 0x28]
mov dword [esp], eax
call sym._QueryPerformanceCounter_4
sub esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub eax, dword [0x55d528]
sbb edx, dword [0x55d52c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
fild qword [0x565630]
fdivp st(1)
fmul dword [0x5025f0]
fld qword [esp + 0x28]
fxch st(1)
fst qword [0x55d540]
jmp 0x4174c3
fstp qword [esp + 0x10]
call sym._GetCurrentThread_0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._SetThreadAffinityMask_8
sub esp, 8
mov dword [esp], 0x55d528
call sym._QueryPerformanceCounter_4
sub esp, 4
mov dword [esp], 0x565630
call sym._QueryPerformanceFrequency_4
sub esp, 4
fld qword [esp + 0x10]
fldz
jmp 0x41792c