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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
xor edi, edi
mov ecx, 0x101a2044
mov dword [ebp - 4], edi
call fcn.10001240
test eax, eax
jle 0x1005cf30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101a2038]
mov edx, dword [ecx + edi*4]
sub eax, dword [edx]
cmp eax, 0xbb8
jae 0x1005cf1a
mov edx, dword [0x362e168]
xor ecx, ecx
mov eax, 0x4a3a6d0
test edx, edx
jle 0x1005cf1a
mov esi, dword [eax]
add eax, 4
cmp dword [esi], 0xaf2ae4
jne 0x1005ceba
cmp dword [esi + 0x10a4], 0
je 0x1005ceba
mov ebx, dword [0x101a2044]
mov edi, dword [ebx + edi*4]
mov ebx, dword [esi + 0x14]
cmp ebx, dword [edi]
je 0x1005cec1
mov edi, dword [ebp - 4]
inc ecx
cmp ecx, edx
jl 0x1005ce91
jmp 0x1005cf1a
mov eax, dword [esi + 0x10a4]
fld dword [eax + 0x280]
call fcn.10085e30
mov dword [ebp - 8], eax
fild dword [ebp - 8]
sub esp, 0x10
fstp dword [ebp - 8]
fld dword [0x1012d2ac]
fstp dword [esp + 0xc]
fld dword [0x1012d2a8]
fstp dword [esp + 8]
fld dword [ebp - 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.100081f0
fild dword [0x1012d2cc]
add esp, 0x10
fcompp
fnstsw ax
test ah, 1
je 0x1005d0a0
mov edi, dword [ebp - 4]
inc edi
mov ecx, 0x101a2044
mov dword [ebp - 4], edi
call fcn.10001240
cmp edi, eax
jl 0x1005ce60
xor eax, eax
mov dword [0x10119568], eax
mov ebx, 0x4a3a6d0
mov dword [ebp - 4], eax
cmp dword [0x362e168], eax
jle 0x1005d05a
jmp 0x1005cf50
mov esi, dword [ebx]
add ebx, 4
test esi, esi
je 0x1005d046
cmp dword [esi], 0xaf2ae4
jne 0x1005d046
mov edi, dword [esi + 0x10a4]
test edi, edi
je 0x1005d046
cmp dword [esi + 0x3b0], 0x3e7
jl 0x1005d046
mov edx, dword [esi + 0xc]
push edx
call fcn.1003dd40
add esp, 4
test al, al
jne 0x1005d046
mov eax, dword [0x1019188c]
push 0
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 3
jne 0x1005cfcd
mov eax, dword [esi + 0x3b0]
cmp eax, 0x2af9
jl 0x1005cfcd
cmp eax, 0x2b35
jle 0x1005d046
mov ecx, dword [esi + 0x5f4]
mov edx, dword [0x10119568]
mov dword [edx*4 + 0x10116e58], ecx
fld dword [edi + 0x280]
call fcn.10085e30
mov ecx, dword [0x10119568]
mov dword [ecx*4 + 0x101185c8], eax
fld dword [edi + 0x288]
call fcn.10085e30
mov edx, dword [0x10119568]
mov dword [edx*4 + 0x10118d98], eax
mov eax, dword [0x10119568]
imul eax, eax, 0xc8
lea edx, [esi + 0x360]
add eax, 0x100fe7b8
mov cl, byte [edx]
mov byte [eax], cl
inc edx
inc eax
test cl, cl
jne 0x1005d026
mov eax, dword [esi + 0xc]
mov ecx, dword [0x10119568]
mov dword [ecx*4 + 0x10117df8], eax
inc dword [0x10119568]
mov ecx, dword [ebp - 4]
inc ecx
mov eax, 0x362e168
mov dword [ebp - 4], ecx
cmp ecx, dword [eax]
jl 0x1005cf50
call fcn.1003dd70
mov edx, dword [0x101919e4]
inc edx
cmp eax, edx
jl 0x1005d0fd
mov eax, dword [0x101a46dc]
mov ecx, dword [0x100eaf2c]
push fcn.1005eb10
push 0x1f4
add eax, 0x45
push eax
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
pop edi
pop esi
mov dword [0x1012d264], eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10037680
mov ecx, dword [esi + 0xc]
push ecx
call fcn.10038100
mov edx, dword [esi + 0xc]
push edx
add esi, 0x360
push esi
push 0x100a02c4
push 0x1011c6e8
call dword [sym.imp.MSVCR100.dll_sprintf]
push 0x1011c6e8
call fcn.10008090
mov eax, dword [0x101a46dc]
mov ecx, dword [0x100eaf2c]
add esp, 0x18
push 0x1004b3e0
push 0x1f4
add eax, 0x45
push eax
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x1012d388]
push edx
call fcn.1003ddd0
mov eax, dword [0x1019188c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 4
push 0
push 0
push 0x147
push eax
call esi
cmp eax, 1
je 0x1005d13f
mov ecx, dword [0x1019188c]
push 0
push 0
push 0x147
push ecx
call esi
cmp eax, 2
jne 0x1005d149
push 1
call fcn.1004a580
add esp, 4
cmp dword [0x10191bc4], 3
jle 0x1005d15c
push 0
call fcn.1004a580
add esp, 4
call fcn.10037550
call fcn.1003dec0
mov edx, eax
test edx, edx
jle 0x1005d1f6
mov esi, dword [edx*4 + 0x361f6e0]
mov byte [0x1012d401], 0
call fcn.10037680
push edx
call fcn.10038100
mov edx, dword [esi + 0xc]
push edx
add esi, 0x360
push esi
push 0x100a02b4
push 0x1011c6e8
call dword [sym.imp.MSVCR100.dll_sprintf]
push 0x1011c6e8
call fcn.10008090
mov eax, dword [0x101a46dc]
mov ecx, dword [0x100eaf2c]
add esp, 0x18
push fcn.1003e020
push 0x190
add eax, 0x48
push eax
push ecx
mov byte [0x1012d3fb], 0
mov dword [0x1012d3c8], 0xffffffff
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
push 0
push 0
call fcn.1003e020
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1004b300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret