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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10342a72], 1
push edi
mov edi, dword [ebp + 8]
je 0x1005cdbc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x103d2308]
cmp eax, 0xea60
jbe 0x1005cdbc
push esi
mov esi, dword [0x36208e4]
test esi, esi
je 0x1005cdbb
cmp dword [0x103a82c8], 0
mov eax, dword [edi + 0xc]
push ebx
jl 0x1005cbbc
mov ecx, dword [esi + 0x1d24]
mov dword [ebp - 0x60], ecx
jmp 0x1005ccaf
fldz
and dword [ebp - 0x68], 0
fstp dword [ebp - 0x60]
mov ebx, 0x10342948
mov eax, dword [ebx]
test eax, eax
jle 0x1005cc89
push 0xaf3b24
push eax
call fcn.10006298
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1005cc89
mov eax, dword [edi + 0x10a4]
fld dword [eax + 0x280]
sub esp, 0x10
fstp dword [ebp - 0x64]
fld dword [eax + 0x288]
fstp dword [ebp - 0x5c]
fld dword [ebp - 0x5c]
fstp dword [esp + 0xc]
fld dword [ebp - 0x64]
fstp dword [esp + 8]
fld dword [esi + 0x1f6c]
fstp dword [esp + 4]
fld dword [esi + 0x1f64]
fstp dword [esp]
call fcn.10006f13
fcomp dword [0x1009ad44]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x1005cc89
mov eax, dword [edi + 0x3b0]
cmp eax, 0x2af9
jl 0x1005cc50
cmp eax, 0x2b35
jle 0x1005cc89
fild dword [edi + 0x5f4]
fidiv dword [edi + 0x610]
fstp dword [ebp - 0x5c]
fld dword [0x1009ad40]
fcomp dword [ebp - 0x5c]
fnstsw ax
test ah, 0x41
jne 0x1005cc89
fld dword [ebp - 0x5c]
fld dword [ebp - 0x60]
fcompp
fnstsw ax
test ah, 5
jp 0x1005cc89
fld dword [ebp - 0x5c]
mov eax, dword [ebx]
fstp dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
add ebx, 4
cmp ebx, 0x103429c0
jl 0x1005cbca
mov edi, dword [ebp - 0x68]
test edi, edi
jle 0x1005cdba
push edi
call fcn.1003832e
pop ecx
mov dword [ebp - 0x60], edi
mov eax, edi
cmp dword [ebp - 0x60], eax
jne 0x1005cdba
xor edi, edi
mov ebx, 0x103bb430
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.1000601d
and dword [ebp - 0x5c], 0
pop ecx
pop ecx
mov ecx, ebx
call fcn.100011d9
test eax, eax
jle 0x1005cd08
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [0x103bb430]
push dword [eax + ecx*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1005ccf9
cmp dword [ebp - 0x40], eax
je 0x1005cd13
inc dword [ebp - 0x5c]
mov ecx, ebx
call fcn.100011d9
cmp dword [ebp - 0x5c], eax
jl 0x1005ccda
inc edi
cmp edi, 0x14
jl 0x1005ccbf
jmp 0x1005cdba
mov byte [0x10342a72], 1
fld dword [esi + 0x1f6c]
call fcn.10083ba0
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
push ecx
fstp dword [esp]
fld dword [esi + 0x1f64]
call fcn.10083ba0
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
push ecx
fstp dword [esp]
call fcn.10037f32
mov eax, dword [0x103be1bc]
pop ecx
pop ecx
push 0x1005cb04
push 0x2bc
add eax, 0x47
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [0x103d2388], eax
mov al, byte [0x10342a7f]
push 0x4a
push edi
mov dword [0x1034292c], edi
mov byte [0x103d2398], al
mov byte [0x10342a7f], 0
call fcn.1005c5f4
pop ecx
pop ecx
call esi
mov dword [0x103d2308], eax
push 0x10
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.MSVCR100.dll__itoa]
lea eax, [ebp - 0x38]
push eax
call fcn.10006dd0
add esp, 0x10
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10083a34
leave
ret