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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov ecx, 0x103bb4a8
mov dword [ebp - 4], ebx
call fcn.10001036
test eax, eax
jle 0x1005e33f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x103bb49c]
mov edx, dword [ebp - 4]
mov ecx, dword [ecx + edx*4]
sub eax, dword [ecx]
cmp eax, 0xbb8
jae 0x1005e329
mov ecx, dword [0x2fb6a98]
mov eax, 0x2fc5570
mov dword [ebp - 8], ebx
cmp ecx, ebx
jle 0x1005e329
mov esi, dword [eax]
add eax, 4
cmp dword [esi], 0xd70444
jne 0x1005e2be
cmp dword [esi + 0x10a4], ebx
je 0x1005e2be
cmp dword [esi + 0x3c0], 1
je 0x1005e2be
cmp dword [esi + 0x3b0], 0x270f
jle 0x1005e2be
mov edi, dword [ebp - 4]
mov edx, dword [0x103bb4a8]
mov edx, dword [edx + edi*4]
mov edi, dword [esi + 0x14]
cmp edi, dword [edx]
je 0x1005e2c8
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1005e281
jmp 0x1005e329
mov edi, dword [esi + 0x10a4]
fld dword [edi + 0x280]
call fcn.10083f90
fld dword [edi + 0x288]
mov dword [ebp - 8], eax
call fcn.10083f90
fld dword [0x10342918]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [ebp - 0xc], eax
fld dword [0x10342914]
fstp dword [esp + 8]
fild dword [ebp - 0xc]
fstp dword [esp + 4]
fild dword [ebp - 8]
fstp dword [esp]
call fcn.10006f97
fild dword [0x10342938]
add esp, 0x10
fcompp
fnstsw ax
test ah, 1
je 0x1005e4c5
inc dword [ebp - 4]
mov ecx, 0x103bb4a8
call fcn.10001036
cmp dword [ebp - 4], eax
jl 0x1005e24c
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x1010eaf8], ebx
mov dword [ebp - 8], 0x2fc5570
mov dword [ebp - 4], ebx
cmp dword [0x2fb6a98], ebx
jle 0x1005e482
mov eax, dword [ebp - 8]
mov esi, dword [eax]
add dword [ebp - 8], 4
cmp esi, ebx
je 0x1005e46f
cmp dword [esi], 0xd70444
jne 0x1005e46f
mov eax, dword [esi + 0x10a4]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x1005e46f
cmp dword [esi + 0x3c0], 1
je 0x1005e46f
mov eax, dword [esi + 0x3b0]
cmp eax, 0x270f
jle 0x1005e46f
cmp eax, 0x3e7
jl 0x1005e46f
push dword [esi + 0xc]
call fcn.1003d591
pop ecx
test al, al
jne 0x1005e46f
push ebx
push ebx
push 0x147
push dword [0x103a822c]
call edi
cmp eax, 3
jne 0x1005e3f1
mov eax, dword [esi + 0x3b0]
cmp eax, 0x2af9
jl 0x1005e3f1
cmp eax, 0x2b35
jle 0x1005e46f
mov eax, dword [esi + 0x5f4]
mov ecx, dword [0x1010eaf8]
mov dword [ecx*4 + 0x1010c3e8], eax
mov eax, dword [ebp - 0xc]
fld dword [eax + 0x280]
call fcn.10083f90
mov ecx, dword [0x1010eaf8]
mov dword [ecx*4 + 0x1010db58], eax
mov eax, dword [ebp - 0xc]
fld dword [eax + 0x288]
call fcn.10083f90
mov ecx, dword [0x1010eaf8]
mov dword [ecx*4 + 0x1010e328], eax
lea eax, [esi + 0x360]
push eax
mov eax, dword [0x1010eaf8]
imul eax, eax, 0xc8
add eax, 0x100f3d48
push eax
call sub.MSVCR100.dll_strcpy
mov eax, dword [esi + 0xc]
pop ecx
pop ecx
mov ecx, dword [0x1010eaf8]
mov dword [ecx*4 + 0x1010d388], eax
inc dword [0x1010eaf8]
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, 0x2fb6a98
cmp ecx, dword [eax]
jl 0x1005e361
call fcn.1003d5df
mov ecx, dword [0x103a8384]
inc ecx
cmp eax, ecx
jl 0x1005e51a
mov eax, dword [0x103be1c0]
push fcn.1005e9d3
push 0x1f4
add eax, 0x45
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_SetTimer]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x103428dc], eax
jmp 0x1005e5eb
call fcn.10037deb
push dword [esi + 0xc]
call fcn.10038422
push dword [esi + 0xc]
add esi, 0x360
push esi
push 0x1009ae4c
mov esi, 0x10111d48
push esi
call dword [sym.imp.MSVCR100.dll_sprintf]
push esi
call fcn.10006e54
mov eax, dword [0x103be1c0]
add esp, 0x18
push 0x1005cf30
push 0x1f4
add eax, 0x45
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x1005e5eb
push dword [0x103429f4]
call fcn.1003d6e9
pop ecx
push ebx
push ebx
mov esi, 0x147
push esi
push dword [0x103a822c]
call edi
cmp eax, 1
je 0x1005e54b
push ebx
push ebx
push esi
push dword [0x103a822c]
call edi
cmp eax, 2
jne 0x1005e553
push 1
call fcn.10048b16
pop ecx
cmp dword [0x103a8564], 3
jle 0x1005e563
push ebx
call fcn.10048b16
pop ecx
call fcn.10037c89
call fcn.1003d7d0
mov edx, eax
cmp edx, ebx
jle 0x1005e5e6
mov esi, dword [edx*4 + 0x2fb6ae0]
mov byte [0x10342a7b], bl
call fcn.10037deb
push edx
call fcn.10038422
push dword [esi + 0xc]
add esi, 0x360
push esi
push 0x1009ae3c
mov esi, 0x10111d48
push esi
call dword [sym.imp.MSVCR100.dll_sprintf]
push esi
call fcn.10006e54
mov eax, dword [0x103be1c0]
or dword [0x10342a34], 0xffffffff
add esp, 0x18
push fcn.1005d01e
push 0x190
add eax, 0x48
push eax
push dword [0x100e04bc]
mov byte [0x10342a75], bl
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push ebx
push ebx
push ebx
call fcn.1005d01e
jmp 0x1005e5eb
call fcn.10049cd5
pop edi
pop esi
pop ebx
leave
ret