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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xor eax, eax
push ebx
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp dword [esi + 0x58c], eax
je 0x10024e0c
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
lea ecx, [esi + 0x318]
call fcn.10010ef0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10024e0c
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x24], eax
cmp eax, 0x30c
ja 0x10024e0c
cmp eax, 0xa
jb 0x10024e0c
mov eax, dword [0x100de54c]
mov ecx, dword [0x100de548]
push 0
push 0x8088405
push eax
push ecx
call fcn.1004f910
push 0
add eax, 1
push 0xffffffffffffffff
adc edx, 0
push edx
push eax
call fcn.100b0c30
fnstcw word [ebp - 2]
mov ecx, eax
mov dword [0x100de548], ecx
mov dword [0x100de54c], edx
fild qword [0x100de548]
fld qword [0x100cbfe0]
movzx eax, word [ebp - 2]
or eax, 0xc00
fdiv st(1), st(0)
mov dword [ebp - 0x14], eax
push 0
push 0x8088405
push edx
push ecx
fxch st(1)
fmul qword [0x100cc020]
fldcw word [ebp - 0x14]
fistp qword [ebp - 0x18]
mov ebx, dword [ebp - 0x18]
fldcw word [ebp - 2]
call fcn.1004f910
push 0
add eax, 1
push 0xffffffffffffffff
adc edx, 0
push edx
push eax
call fcn.100b0c30
fnstcw word [ebp - 2]
mov dword [0x100de548], eax
mov dword [0x100de54c], edx
fild qword [0x100de548]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x4c]
fdivrp st(1)
movzx eax, word [ebp - 2]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
or eax, 0xc00
mov dword [ebp - 0x1c], eax
sub ecx, ebx
push ecx
mov ecx, esi
fmul qword [0x100cc010]
fldcw word [ebp - 0x1c]
fistp qword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
fldcw word [ebp - 2]
push eax
call edx
call edi
sub eax, dword [ebp - 0xc]
cmp eax, 0x7d0
jbe 0x10024d82
call edi
sub eax, dword [ebp - 8]
cmp eax, 0x7d0
jbe 0x10024d82
push 1
call dword [0x100dfb88]
jmp 0x10024d8a
push 1
call dword [0x100dfb8c]
call edi
sub eax, dword [ebp - 8]
cmp eax, 0x3a98
jbe 0x10024dc8
cmp dword [esi + 0x288], 0xa
jbe 0x10024dc8
mov eax, dword [esi + 0x7b4]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3c
mov byte [eax + 0x12], 0x80
call ebx
mov ecx, dword [esi + 0x7b4]
push 0x1e
mov byte [ecx + 0x12], 0
call ebx
call edi
mov dword [ebp - 8], eax
jmp 0x10024dce
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, dword [ebp - 0xc]
cmp eax, 0x1f40
jbe 0x10024dfb
mov edx, dword [esi + 0x7b4]
push 0x3c
mov byte [edx + 0x10], 0x80
call ebx
mov eax, dword [esi + 0x7b4]
push 0x1e
mov byte [eax + 0x10], 0
call ebx
call edi
mov dword [ebp - 0xc], eax
push 1
call ebx
cmp dword [esi + 0x58c], 0
jne 0x10024c52
cmp dword [esi + 0x58c], 0
je 0x10024e63
mov edx, dword [esi]
mov eax, dword [edx + 0x110]
mov ecx, esi
call eax
push esi
mov edi, eax
call fcn.100255c0
cmp edi, eax
jne 0x10024e63
xor edi, edi
nop
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
push 1
mov edx, 0x100ca7f4
lea ecx, [esi + 0x318]
call fcn.100110a0
test eax, eax
jne 0x10024e63
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x10024e30
mov ecx, esi
call fcn.10026190
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret