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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebx + 0x10]
push edi
call fcn.1011e623
fld dword [0x10180bec]
fucompp
fnstsw ax
test ah, 0x44
jp 0x1011b23d
cmp byte [ebx + 0x229], 0
je 0x1011b1a6
lea ecx, [ebx + 0x104]
fld dword [ecx]
lea eax, [ebx + 0x110]
fsub dword [eax]
sub esp, 0xc
mov edi, esp
lea esi, [ebp - 0x10]
fstp dword [ebp - 0x10]
sub esp, 0xc
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [ebp - 0xc]
fld dword [ecx + 8]
fsub dword [eax + 8]
fstp dword [ebp - 8]
movsd dword es:[edi], dword [esi]
fldz
fstp dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
fldz
fstp dword [ebp - 0x18]
fld1
movsd dword es:[edi], dword [esi]
fstp dword [ebp - 0x14]
lea esi, [ebp - 0x1c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.101343d6
mov ecx, dword [ebx + 0x10]
fadd dword [0x10182970]
add esp, 0x14
fld st(0)
fstp dword [esp]
fstp st(0)
call fcn.1011e58e
mov eax, dword [ebx]
xor esi, esi
mov byte [ebx + 0x229], 0
mov eax, dword [eax + 0xc]
inc esi
cmp eax, esi
jl 0x1011b15c
cmp eax, 0x3e7
jg 0x1011b15c
mov eax, dword [ebx + 0xa4]
xor edi, edi
cmp eax, edi
je 0x1011b12d
mov ecx, dword [0x10a0066c]
push eax
call fcn.10017cc2
cmp eax, 0xa
mov dword [ebx + 0xa8], eax
jne 0x1011b0aa
push dword [ebx + 0xa4]
fldz
mov dword [ebx + 0x18], 0x15
push ecx
fstp dword [esp]
push esi
mov ecx, ebx
call fcn.1011a815
mov ecx, dword [0x10a0066c]
push esi
push edi
push dword [ebx + 4]
lea eax, [ebp - 4]
push edi
push dword [ebx + 0xa4]
push eax
call fcn.1001ee88
mov dword [ebx + 0xc0], 2
jmp 0x1011b149
cmp eax, 0x14
jne 0x1011b1a9
push dword [ebx + 0xa4]
fldz
mov dword [ebx + 0x18], 0x16
push ecx
fstp dword [esp]
push esi
mov ecx, ebx
call fcn.1011a815
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0xb4], eax
mov ecx, dword [0x10a0c360]
lea eax, [ebx + 0xb8]
push eax
push esi
push dword [ebx + 0xa4]
call fcn.10004cd7
lea edi, [ebx + 0xac]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x1011b10c
mov ecx, dword [0x10a0066c]
push eax
call fcn.100185ce
mov ecx, dword [0x10a0066c]
push esi
push esi
push dword [ebx + 4]
push esi
push dword [ebx + 0xa4]
push edi
call fcn.1001ee88
and dword [ebx + 0xc0], 0
jmp 0x1011b1a9
push edi
fldz
push ecx
fstp dword [esp]
push esi
mov ecx, ebx
mov dword [ebx + 0x18], 0x14
call fcn.1011a815
mov dword [ebx + 0xc0], esi
mov byte [ebx + 0x2d0], 1
mov dword [ebx + 0x2d4], 0x64
jmp 0x1011b198
push 0
fldz
push ecx
fstp dword [esp]
push esi
mov ecx, ebx
mov dword [ebx + 0x18], 0x14
call fcn.1011a815
lea eax, [ebx + 0x2d4]
push eax
push dword [ebx + 0xa4]
mov dword [ebx + 0xc0], esi
mov byte [ebx + 0x2d0], 1
mov ecx, dword [0x10a0c360]
call fcn.10004c25
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x2d8], eax
jmp 0x1011b1a9
xor esi, esi
inc esi
mov eax, dword [ebx + 0x18]
cmp eax, esi
je 0x1011b1f4
cmp eax, 2
je 0x1011b1f4
test eax, eax
jne 0x1011b23d
cmp byte [0x10a0c220], al
jne 0x1011b23d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x98]
add ecx, 0x3a98
cmp eax, ecx
jle 0x1011b23d
push 0
fldz
push ecx
fstp dword [esp]
push esi
mov ecx, ebx
mov dword [ebx + 0x18], 3
call fcn.1011a815
jmp 0x1011b23d
mov eax, dword [ebx]
cmp byte [eax + 0x81], 0
je 0x1011b20a
mov eax, dword [0x10a0c400]
cmp byte [eax + 0x43], 0
jne 0x1011b23d
cmp byte [ebx + 0x4fc], 1
jne 0x1011b21c
push 0
mov ecx, ebx
call fcn.1011a60c
and dword [ebx + 0x18], 0
fldz
push 0
push ecx
fstp dword [esp]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.1011a815
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x98], eax
pop edi
pop esi
pop ebx
leave
ret 4