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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ebe3
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1012d3a4], 7
mov ebx, dword [ebp + 0xc]
mov esi, dword [0x361f6dc]
mov eax, dword [ebx]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], eax
jne 0x1006a955
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101b8990]
cmp eax, 0x1f4
jb 0x1006a955
push 0x10195948
lea ecx, [ebp - 0x144]
call sub.mfc100.dll_Ordinal_341
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 0
jne 0x1006a856
mov eax, dword [0x1014119c]
test eax, eax
je 0x1006a856
mov ecx, dword [0x100b12a8]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push 0
mov edi, ecx
neg edi
push edi
mov edi, dword [0x100b12ac]
push edi
push ecx
mov ecx, dword [ebp - 0x140]
push 0
push 0x140
push 0x140
push 5
push 5
push ecx
push eax
call edx
cmp dword [ebp - 0x12c], 0xaf54b8
jne 0x1006a92c
mov edi, dword [0x1012d3a0]
test edi, edi
jle 0x1006a92c
cmp esi, ebx
jne 0x1006a92c
fld dword [ebx + 0x1f64]
call fcn.10085e30
fld dword [ebx + 0x1f6c]
sub eax, dword [0x1012d398]
cdq
idiv edi
mov esi, eax
call fcn.10085e30
mov ecx, dword [0x1012d39c]
sub ecx, eax
mov eax, ecx
cdq
idiv edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], vtable.CBrush.0
mov edi, eax
push 0xff
mov byte [ebp - 4], 1
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebp - 0x1c]
call sub.mfc100.dll_Ordinal_2184
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x144]
call sub.mfc100.dll_Ordinal_11939
mov ebx, eax
lea eax, [edi + 9]
push eax
mov eax, dword [ebp - 0x140]
lea ecx, [esi + 9]
push ecx
inc edi
push edi
inc esi
push esi
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
push ebx
lea ecx, [ebp - 0x144]
call sub.mfc100.dll_Ordinal_11939
lea ecx, [ebp - 0x1c]
call sub.mfc100.dll_Ordinal_3439
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
mov dword [ebp - 0x1c], vtable.CBrush.0
call fcn.10001540
mov esi, dword [ebp - 0x130]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
inc ecx
cmp dword [0x362e168], ecx
jne 0x1006a943
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101b8990], eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 4], 0xffffffff
call sub.mfc100.dll_Ordinal_917
cmp esi, ebx
jne 0x1006a9b1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1012d260]
cmp eax, 0x1388
jb 0x1006a9b1
cmp dword [0x33cbdd0], 0
jle 0x1006a9b1
mov eax, 1
cmp dword [0x10197d80], eax
jne 0x1006a9b1
cmp dword [0x1012d3e4], eax
jne 0x1006a9b1
cmp dword [0x10198028], 0
jne 0x1006a9b1
cmp dword [0x1011cd68], 2
jne 0x1006a9a7
cmp dword [0x10198018], eax
jne 0x1006a9a7
push eax
jmp 0x1006a9a9
push 0
call fcn.1006a3d0
add esp, 4
cmp dword [0x101960e8], 1
jne 0x1006abea
cmp dword [ebp - 0x12c], 0xaf54b8
jne 0x1006abea
lea esi, [ebx + 0x5274]
mov ecx, esi
mov al, byte [ecx]
cmp al, 0x7c
je 0x1006a9e3
test al, al
je 0x1006a9e6
inc ecx
jmp 0x1006a9d6
mov byte [ecx], 0
movzx eax, word [ebx + 0x14]
imul eax, eax, 0x1cc
movzx edx, byte [eax + 0xfb9ec0]
mov cl, byte [eax + 0xfb9ebf]
mov edi, dword [eax + 0xfb9f50]
add eax, 0xfb9e98
mov byte [ebp - 0x125], dl
mov dl, byte [eax + 0x29]
mov al, byte [eax + 0x2a]
test cl, cl
jne 0x1006aa29
mov ecx, dword [0x100a111c]
mov dword [ebp - 0x24], ecx
mov cl, byte [0x100a1120]
jmp 0x1006aa53
cmp cl, 1
jne 0x1006aa3f
mov ecx, dword [0x100a1114]
mov dword [ebp - 0x24], ecx
mov cl, byte [0x100a1118]
jmp 0x1006aa53
cmp cl, 2
jne 0x1006aa56
mov ecx, dword [0x100a110c]
mov dword [ebp - 0x24], ecx
mov cl, byte [0x100a1110]
mov byte [ebp - 0x20], cl
movzx eax, al
dec eax
cmp eax, 0xc
ja case.default.0x1006aa63
jmp dword [eax*4 + 0x1006aca8]
mov ax, word [0x10095590]
mov cl, byte [0x10095592]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov ax, word [0x1009558c]
mov cl, byte [0x1009558e]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov ax, word [0x10095588]
mov cl, byte [0x1009558a]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov ax, word [0x10095584]
mov cl, byte [0x10095586]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov ax, word [0x10095580]
mov cl, byte [0x10095582]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov ax, word [0x1009557c]
mov cl, byte [0x1009557e]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov ax, word [0x10095578]
mov cl, byte [0x1009557a]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov ax, word [0x10095574]
mov cl, byte [0x10095576]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov ax, word [0x10095570]
mov cl, byte [0x10095572]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov ax, word [0x1009556c]
mov cl, byte [0x1009556e]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov ax, word [0x10095568]
mov cl, byte [0x1009556a]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov ax, word [0x10095564]
mov cl, byte [0x10095566]
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], cl
jmp case.default.0x1006aa63
mov eax, dword [0x1009555c]
mov cl, byte [0x10095560]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], cl
push edi
lea eax, [ebp - 0x24]
push eax
movzx eax, byte [ebp - 0x125]
lea ecx, [ebp - 0x1c]
push ecx
movzx edx, dl
push edx
push eax
push esi
lea ecx, [ebp - 0x124]
push str._s_d
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x124]
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1006abc0
sub eax, edx
cmp eax, 0x30
jae 0x1006abea
lea eax, [ebp - 0x124]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1006abe0
cmp dword [0x101960ec], 1
jne 0x1006ac8a
cmp dword [ebp - 0x12c], 0xaf2ae4
jne 0x1006ac8a
lea edi, [ebx + 0x360]
mov ecx, edi
nop
mov al, byte [ecx]
cmp al, 0x5b
je 0x1006ac1d
test al, al
je 0x1006ac20
inc ecx
jmp 0x1006ac10
mov byte [ecx], 0
fld dword [ebx + 0x35c]
call fcn.10085e30
mov edx, dword [ebx + 0x5f4]
push eax
mov eax, dword [ebx + 0x610]
push edx
push eax
push edi
lea ecx, [ebp - 0x124]
push 0x100a10e0
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x124]
add esp, 0x18
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1006ac60
sub eax, edx
cmp eax, 0x30
jae 0x1006ac8a
lea eax, [ebp - 0x124]
mov edx, edi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1006ac80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret