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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101b8894]
cmp eax, 0xea60
jbe 0x1003dcd1
push ebx
mov ebx, dword [0x2fb7ac4]
mov dword [ebp - 0x64], ebx
test ebx, ebx
je 0x1003dcd0
cmp dword [0x10191928], 0
mov eax, dword [esi + 0xc]
push edi
jne 0x1003dadb
mov ecx, dword [ebx + 0x1d20]
mov dword [ebp - 0x60], ecx
cmp ecx, eax
jne 0x1003dccf
xor edi, edi
lea ecx, [ecx]
lea ecx, [ebp - 0x58]
push ecx
push edi
call fcn.10006c40
add esp, 8
mov ecx, 0x1019b964
xor esi, esi
call fcn.10001240
test eax, eax
jle 0x1003dc07
mov edx, dword [0x1019b964]
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0x58]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003dbe6
test dl, dl
je 0x1003dad4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003dbe6
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003dab0
xor eax, eax
jmp 0x1003dbeb
fldz
mov dword [ebp - 0x60], 0
fstp dword [ebp - 0x68]
mov edi, 0x1012d2d8
lea esp, [esp]
mov eax, dword [edi]
test eax, eax
jle 0x1003dbbb
push 0xd71444
push eax
call fcn.10006fa0
mov esi, eax
add esp, 8
test esi, esi
je 0x1003dbbb
mov eax, dword [esi + 0x10a4]
fld dword [eax + 0x280]
sub esp, 0x10
fstp dword [ebp - 0x5c]
fld dword [eax + 0x288]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x6c]
fstp dword [esp + 0xc]
fld dword [ebp - 0x5c]
fstp dword [esp + 8]
fld dword [ebx + 0x1f68]
fstp dword [esp + 4]
fld dword [ebx + 0x1f60]
fstp dword [esp]
call fcn.10008290
fcomp dword [0x1009e930]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x1003dbbb
mov eax, dword [esi + 0x3b0]
cmp eax, 0x2af9
jl 0x1003db77
cmp eax, 0x2b35
jle 0x1003dbbb
fild dword [esi + 0x5f4]
fidiv dword [esi + 0x610]
fstp dword [ebp - 0x5c]
mov al, al
mov bl, bl
mov cl, cl
fld dword [0x1009e92c]
fld dword [ebp - 0x5c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x1003dbb6
fld dword [ebp - 0x68]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x1003dbb6
mov eax, dword [edi]
fstp dword [ebp - 0x68]
mov dword [ebp - 0x60], eax
jmp 0x1003dbb8
fstp st(0)
mov ebx, dword [ebp - 0x64]
add edi, 4
cmp edi, 0x1012d350
jl 0x1003daf0
mov esi, dword [ebp - 0x60]
test esi, esi
jle 0x1003dccf
push esi
call fcn.10038790
add esp, 4
mov dword [ebp - 0x60], esi
jmp 0x1003da7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003dbf4
cmp dword [ebp - 0x40], eax
je 0x1003dc22
mov ecx, 0x1019b964
inc esi
call fcn.10001240
cmp esi, eax
jl 0x1003daa1
inc edi
cmp edi, 0x14
jl 0x1003da80
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret
mov byte [0x1012d3f8], 1
fld dword [ebx + 0x1f68]
call fcn.10086850
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
push ecx
fstp dword [esp]
fld dword [ebx + 0x1f60]
call fcn.10086850
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
push ecx
fstp dword [esp]
call fcn.10037ef0
mov eax, dword [0x101a46e8]
mov ecx, dword [0x100eaf2c]
add esp, 8
push 0x1003cd50
push 0x2bc
add eax, 0x47
push eax
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dl, byte [0x1012d405]
push 0x4a
push edi
mov dword [0x101b8978], eax
mov dword [0x1012d2c0], edi
mov byte [0x101b8988], dl
mov byte [0x1012d405], 0
call fcn.10038420
add esp, 8
call esi
mov ecx, dword [ebp - 0x60]
mov dword [0x101b8894], eax
push 0x10
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.MSVCR100D.dll__itoa]
lea edx, [ebp - 0x38]
push edx
call fcn.10008130
add esp, 0x10
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100867e6
mov esp, ebp
pop ebp
ret