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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [0x49d8a8], 0
jne 0x416f43
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x49d8a8], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [0x49d8a8]
fstp qword [ebp - 0x28]
fsub qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [0x49a772]
fcomp qword [0x49a77a]
fnstsw ax
test ah, 1
jne 0x4173d5
cmp dword [0x49d8ac], 0
jne 0x416fc6
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
push 0xff00
push 0x49d78c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x194]
mov dword [0x49d8ac], 1
call fcn.004173fb
test eax, eax
je 0x41727b
mov ebx, dword [0x49d790]
mov dword [ebp - 0x18], ebx
push 0x80000301
push 0
push 1
push OleUIBusyA
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x416ffd
mov eax, 0x4722d5
push eax
push 2
mov ebx, 0x134
call fcn.00446b60
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x417027
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x417044
mov eax, 0x4722d5
push eax
push 2
mov ebx, 0x144
call fcn.00449030
add esp, 0x1c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x4170bc
mov ebx, dword [0x49d790]
mov dword [ebp - 0x18], ebx
push 0x80000301
push 0
push 2
push OleUIBusyA
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x41708e
mov eax, 0x4722d5
push eax
push 2
mov ebx, 0x134
call fcn.00446b60
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4170b8
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4170cf
mov eax, 0x4722d5
push eax
push 1
mov ebx, 0x130
call fcn.00446b40
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [0x49d790]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
fild dword [ebx]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 8]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00402524
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x90c
call fcn.00447e80
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x417141
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [0x49d790]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x49d790]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
fild dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 8]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00402524
push 0x80000301
push 0
push eax
push 0x80000301
push 0
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4171a3
mov eax, 0x4722d5
push eax
push 3
mov ebx, 0x914
call fcn.00449070
add esp, 0x28
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4171c9
mov eax, 0x4722d5
push eax
push 1
mov ebx, 0x130
call fcn.00446b40
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [0x49d790]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
fild dword [ebx]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
push 0x80000301
push 0
push dword [ebp - 8]
fld qword [ebp - 0x30]
call fcn.00402524
push 0x80000301
push 0
push eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41722f
mov eax, 0x4722d5
push eax
push 3
mov ebx, 0x914
call fcn.00449070
add esp, 0x28
mov ebx, dword [0x49d790]
mov dword [ebp - 0x18], ebx
push 1
push dword [ebp - 0x18]
push 0x49d78c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x417271
push ebx
call fcn.004430f9
add esp, 4
call fcn.00417486
jmp 0x4173d0
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 0x49d78c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc8]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fdiv qword [0x499aab]
fstp qword [ebp - 0x30]
push 0x80000301
push 0
push 0
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 2
mov ebx, 0x68
call fcn.00447df0
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
fld qword [ebp - 0x40]
call fcn.00402524
mov dword [ebp - 0x14], eax
mov ebx, dword [0x49d790]
mov dword [ebp - 0x18], ebx
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x184
call fcn.00446340
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [0x49d768]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x417350
push ebx
call fcn.004430f9
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x417366
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [0x49d790]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x49d790]
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
call fcn.00416a6a
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [0x49d790]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x49d790]
mov dword [ebp - 0x1c], ebx
push OleUIBusyA
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4173b8
mov eax, 0x4722d5
push eax
push 1
mov ebx, 0x130
call fcn.00446b40
add esp, 0x10
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
jmp 0x4173d5
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4173e5
push ebx
call fcn.004430f9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4173f5
push ebx
call fcn.004430f9
add esp, 4
mov esp, ebp
pop ebp
ret 8