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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ecx, 0x101a2048
xor edi, edi
call fcn.10001040
test eax, eax
jle 0x1005d732
jmp 0x1005d650
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101a203c]
mov edx, dword [ecx + edi*4]
sub eax, dword [edx]
cmp eax, 0xbb8
jae 0x1005d71f
mov edx, dword [0x362f370]
xor ecx, ecx
mov eax, 0x4a3b8d8
mov dword [ebp - 4], edx
test edx, edx
jle 0x1005d71f
mov esi, dword [eax]
add eax, 4
cmp dword [esi], 0xaf3b24
jne 0x1005d6c2
cmp dword [esi + 0x10a4], 0
je 0x1005d6c2
cmp dword [esi + 0x3c0], 1
je 0x1005d6c2
cmp dword [esi + 0x3b0], 0x270f
jle 0x1005d6c2
mov edx, dword [0x101a2048]
mov edx, dword [edx + edi*4]
mov ebx, dword [esi + 0x14]
cmp ebx, dword [edx]
je 0x1005d6c9
mov edx, dword [ebp - 4]
inc ecx
cmp ecx, edx
jl 0x1005d684
jmp 0x1005d71f
mov eax, dword [esi + 0x10a4]
fld dword [eax + 0x280]
call fcn.100867b0
mov dword [ebp - 4], eax
fild dword [ebp - 4]
sub esp, 0x10
fstp dword [ebp - 4]
fld dword [0x1012d2ac]
fstp dword [esp + 0xc]
fld dword [0x1012d2a8]
fstp dword [esp + 8]
fld dword [ebp - 4]
fst dword [esp + 4]
fstp dword [esp]
call fcn.10008200
fild dword [0x1012d2cc]
add esp, 0x10
fcompp
fnstsw ax
test ah, 1
je 0x1005d8ba
mov ecx, 0x101a2048
inc edi
call fcn.10001040
cmp edi, eax
jl 0x1005d650
xor eax, eax
mov dword [0x10119568], eax
mov ebx, 0x4a3b8d8
mov dword [ebp - 4], eax
cmp dword [0x362f370], eax
jle 0x1005d874
lea ecx, [ecx]
mov esi, dword [ebx]
add ebx, 4
test esi, esi
je 0x1005d860
cmp dword [esi], 0xaf3b24
jne 0x1005d860
mov edi, dword [esi + 0x10a4]
test edi, edi
je 0x1005d860
cmp dword [esi + 0x3c0], 1
je 0x1005d860
mov eax, dword [esi + 0x3b0]
cmp eax, 0x270f
jle 0x1005d860
cmp eax, 0x3e7
jl 0x1005d860
mov edx, dword [esi + 0xc]
push edx
call fcn.1003e3f0
add esp, 4
test al, al
jne 0x1005d860
mov eax, dword [0x1019188c]
push 0
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 3
jne 0x1005d7e2
mov eax, dword [esi + 0x3b0]
cmp eax, 0x2af9
jl 0x1005d7e2
cmp eax, 0x2b35
jle 0x1005d860
mov ecx, dword [esi + 0x5f4]
mov edx, dword [0x10119568]
mov dword [edx*4 + 0x10116e58], ecx
fld dword [edi + 0x280]
call fcn.100867b0
mov ecx, dword [0x10119568]
mov dword [ecx*4 + 0x101185c8], eax
fld dword [edi + 0x288]
call fcn.100867b0
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
jmp 0x1005d840
mov cl, byte [edx]
mov byte [eax], cl
inc edx
inc eax
test cl, cl
jne 0x1005d840
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, 0x362f370
mov dword [ebp - 4], ecx
cmp ecx, dword [eax]
jl 0x1005d750
call fcn.1003e420
mov edx, dword [0x101919e4]
inc edx
cmp eax, edx
jl 0x1005d917
mov eax, dword [0x101a46e4]
mov ecx, dword [0x100eaf2c]
push fcn.1005f320
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.10037c70
mov ecx, dword [esi + 0xc]
push ecx
call fcn.100386e0
mov edx, dword [esi + 0xc]
push edx
add esi, 0x360
push esi
push 0x100a02dc
push 0x1011c6e8
call dword [sym.imp.MSVCR100.dll_sprintf]
push 0x1011c6e8
call fcn.100080a0
mov eax, dword [0x101a46e4]
mov ecx, dword [0x100eaf2c]
add esp, 0x18
push 0x1004bc00
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.1003e480
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 0x1005d959
mov ecx, dword [0x1019188c]
push 0
push 0
push 0x147
push ecx
call esi
cmp eax, 2
jne 0x1005d963
push 1
call fcn.1004ada0
add esp, 4
cmp dword [0x10191bc4], 3
jle 0x1005d976
push 0
call fcn.1004ada0
add esp, 4
call fcn.10037b40
call fcn.1003e570
mov edx, eax
test edx, edx
jle 0x1005da10
mov esi, dword [edx*4 + 0x36208e8]
mov byte [0x1012d401], 0
call fcn.10037c70
push edx
call fcn.100386e0
mov edx, dword [esi + 0xc]
push edx
add esi, 0x360
push esi
push 0x100a02cc
push 0x1011c6e8
call dword [sym.imp.MSVCR100.dll_sprintf]
push 0x1011c6e8
call fcn.100080a0
mov eax, dword [0x101a46e4]
mov ecx, dword [0x100eaf2c]
add esp, 0x18
push fcn.1003e6d0
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.1003e6d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1004bb20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret