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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
cmp dword [0x10234f4c], 0
fild dword [0xe61e5c]
push ebx
push esi
fdiv dword [0xe7c3d8]
push edi
fld qword [0x1013f510]
fmul st(1), st(0)
fxch st(1)
fsub qword [0x1013fc90]
fstp dword [ebp - 0xc]
fld qword [0x1013fd88]
jne 0x10063195
cmp dword [0x10234a28], 3
jae 0x10063195
fild dword [0xe61e58]
fdiv dword [0xe7c3d4]
fmulp st(2)
fsub st(1), st(0)
jmp 0x100631ad
fild dword [0xe61e58]
fdiv dword [0xe7c3d4]
fmulp st(2)
fxch st(1)
fsub qword [0x1013fa68]
fxch st(1)
cmp byte [0x10a89774], 0
fxch st(1)
fstp dword [ebp - 8]
jne 0x100631c6
fstp st(0)
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x10a89775], 4
jne 0x1006338f
fadd dword [ebp - 8]
fstp dword [ebp - 4]
fild dword [0x879340c]
fld dword [ebp - 4]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x1006338f
fld dword [0x1013fb78]
sub esp, 0x10
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ebp - 0xc]
fadd qword [0x1013fac0]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.100c32c0
test al, al
je 0x10063391
mov eax, 0x7dd0f0
call eax
test eax, eax
je 0x10063391
push 1
mov ecx, 0x791050
call ecx
add esp, 4
test al, al
je 0x10063391
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10a8a318]
cmp eax, 0x3e8
jb 0x10063391
call esi
cmp word [0x10a897e5], 0xffff
mov dword [0x10a8a318], eax
je 0x10063285
mov edx, 0x7dd230
mov byte [0x10a89862], 0
call edx
jmp 0x10063391
mov eax, 0x7dd0f0
call eax
mov edx, 0x7d9410
mov ecx, eax
call edx
mov ebx, eax
mov eax, 0x7dd0f0
call eax
mov edx, 0x7d9430
mov ecx, eax
call edx
mov esi, eax
mov ecx, 0x1a
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x1a
lea esi, [ebp - 0x80]
mov edi, 0x10a897e5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, 0x7dd1b0
mov dword [0x10a89850], ebx
mov byte [0x10a89862], 0
call eax
mov ecx, dword [0x10a8a2f8]
mov edi, dword [0x10a8a2f4]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
xor esi, esi
shr eax, 0x1f
add eax, edx
mov dword [0x10a89854], esi
mov dword [0x10a89858], 0xffffffff
je 0x10063391
mov edx, dword [ebp - 0x7e]
mov bx, word [ebp - 0x80]
mov ecx, edi
mov edi, edi
cmp bx, word [ecx]
jne 0x1006332a
cmp edx, dword [ecx + 2]
je 0x10063334
inc esi
add ecx, 0x70
cmp esi, eax
jb 0x10063320
jmp 0x10063391
mov dword [ebp - 4], esi
fild dword [ebp - 4]
mov ecx, esi
imul ecx, ecx, 0x70
fmul qword [0x10140ab8]
fstp dword [ebp - 4]
fld dword [ebp - 4]
mov edx, dword [ecx + edi + 0x6c]
push ecx
mov dword [0x10a89854], edx
mov dword [0x10a89858], esi
fstp dword [esp]
call fcn.10051c50
add esp, 4
fadd qword [0x1013f578]
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x10], eax
fldcw word [ebp - 0x10]
fistp dword [ebp - 0x10]
mov al, byte [ebp - 0x10]
mov byte [0x10a89776], al
fldcw word [ebp - 2]
jmp 0x10063391
fstp st(0)
fild dword [0x879340c]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fld dword [ebp - 8]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x100633eb
fadd dword [0x10a8976c]
fcompp
fnstsw ax
test ah, 1
jne 0x100633ef
fild dword [0x8793410]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fld dword [ebp - 0xc]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x100633eb
fadd dword [0x10a89770]
fcompp
fnstsw ax
test ah, 1
jne 0x100633ef
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(1)
fstp st(0)
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret