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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
test dl, dl
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
test ebx, ebx
mov dword [ebp - 0x1c], 0
mov ebx, ebx
cmp dword [ebp + 0xc], 9
je 0x1006bd9d
cmp dword [ebp + 0xc], 0
jne 0x1006c0aa
cmp dword [ebp + 0x10], 0xffffffff
jne 0x1006bdb4
cmp dword [ebp + 0x14], 0xffffffff
jne 0x1006bdb4
cmp dword [ebp + 0xc], 9
je 0x1006bdb4
jmp 0x1006c1f2
cmp dword [ebp + 0xc], 9
jne 0x1006bfd8
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov bl, bl
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x14], edx
mov bl, bl
mov dword [ebp - 0x30], 0
mov dh, dh
mov dword [ebp - 0x20], 0
mov eax, eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0x70
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test ch, ch
push ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
test edi, edi
push 0
lea edx, [ebp - 0x2c]
push edx
push 0
push 3
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov dl, dl
cmp dword [ebp - 0x2c], 0
jne 0x1006be30
cmp dword [ebp - 0x28], 0
jne 0x1006be30
cmp dword [ebp - 0x24], 0
jne 0x1006be30
mov dword [ebp - 0x20], 0
test cl, cl
jmp 0x1006be39
mov dword [ebp - 0x20], 1
test al, al
test dh, dh
cmp dword [ebp - 0x20], 0
jne 0x1006bfd3
cmp dword [ebp - 0x30], 1
jl 0x1006bfd3
cmp dword [ebp - 0x30], 0x14
jg 0x1006bfd3
fldz
fstp qword [ebp - 0xe8]
fld qword [0x101829f8]
fstp qword [ebp - 0xe0]
fld qword [0x101829f0]
fstp qword [ebp - 0xd8]
fld qword [0x101829e8]
fstp qword [ebp - 0xd0]
fld qword [0x101829e0]
fstp qword [ebp - 0xc8]
fld qword [0x101829d8]
fstp qword [ebp - 0xc0]
fld qword [0x101828a8]
fstp qword [ebp - 0xb8]
fld qword [0x101829d0]
fstp qword [ebp - 0xb0]
fld qword [0x101829c8]
fstp qword [ebp - 0xa8]
fld qword [0x101829c0]
fstp qword [ebp - 0xa0]
fld1
fstp qword [ebp - 0x98]
fld qword [0x101829b8]
fstp qword [ebp - 0x90]
fld qword [0x101829b0]
fstp qword [ebp - 0x88]
fld qword [0x101829a8]
fstp qword [ebp - 0x80]
fld qword [0x101829a0]
fstp qword [ebp - 0x78]
fld qword [0x10182998]
fstp qword [ebp - 0x70]
fld qword [0x10182990]
fstp qword [ebp - 0x68]
fld qword [0x10182988]
fstp qword [ebp - 0x60]
fld qword [0x10182980]
fstp qword [ebp - 0x58]
fld qword [0x10182978]
fstp qword [ebp - 0x50]
fld qword [0x10182970]
fstp qword [ebp - 0x48]
test dh, dh
cmp dword [ebp - 0x20], 1
jne 0x1006bf47
fld1
fstp qword [ebp - 0x110]
jmp 0x1006bf57
mov eax, dword [ebp - 0x30]
fld qword [ebp + eax*8 - 0xe8]
fstp qword [ebp - 0x110]
fld qword [ebp - 0x110]
fstp qword [ebp - 0xf8]
test bh, bh
cmp dword [ebp - 0x20], 1
jne 0x1006bf7c
fild dword [ebp - 0x30]
fmul qword [0x101829e0]
fstp qword [ebp - 0x118]
jmp 0x1006bf84
fld1
fstp qword [ebp - 0x118]
fld qword [ebp - 0x118]
fstp qword [ebp - 0x40]
mov edi, edi
fild dword [ebp + 0x10]
fdiv qword [ebp - 0xf8]
fdiv qword [ebp - 0x40]
fstp qword [ebp - 0x38]
mov edi, edi
fild dword [ebp + 0x14]
fdiv qword [ebp - 0xf8]
fdiv qword [ebp - 0x40]
fstp qword [ebp - 0xf0]
test dl, dl
fld qword [ebp - 0x38]
call fcn.1011afe0
mov dword [ebp - 0x18], eax
test cl, cl
fld qword [ebp - 0xf0]
call fcn.1011afe0
mov dword [ebp - 0x14], eax
test edx, edx
test dh, dh
jmp 0x1006c0a8
mov ecx, dword [ebp - 0xc]
or ecx, 0x8000
mov dword [ebp - 0xc], ecx
mov eax, eax
mov edx, dword [ebp - 0xc]
or edx, 0x4000
mov dword [ebp - 0xc], edx
mov bl, bl
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32d4], 2
jne 0x1006c052
test edx, edx
cmp dword [ebp + 0x18], 0xffffffff
jne 0x1006c01e
cmp dword [ebp + 0x1c], 0xffffffff
jne 0x1006c01e
lea ecx, [ebp - 0x100]
push ecx
call fcn.10069c80
mov dl, dl
jmp 0x1006c034
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x100], edx
mov ecx, ecx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xfc], eax
mov bl, bl
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x100]
mov dword [ebp - 0x18], ecx
push ecx
pop ecx
mov edx, dword [ebp + 0x14]
sub edx, dword [ebp - 0xfc]
mov dword [ebp - 0x14], edx
push ecx
pop ecx
jmp 0x1006c0a8
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 1
mov dword [ebp - 0x104], eax
test ah, ah
push 0x4f
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 1
mov dword [ebp - 0x108], eax
push edx
pop edx
mov eax, dword [ebp + 0x10]
imul eax, eax, 0xffff
cdq
idiv dword [ebp - 0x104]
add eax, 1
mov dword [ebp - 0x18], eax
push ebx
pop ebx
mov eax, dword [ebp + 0x14]
imul eax, eax, 0xffff
cdq
idiv dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x14], eax
mov edx, edx
jmp 0x1006c0ba
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.1001c620
add esp, 8
mov edi, edi
cmp dword [ebp + 0xc], 0
je 0x1006c0c6
cmp dword [ebp + 0xc], 9
jne 0x1006c0d6
mov ecx, dword [ebp - 0xc]
or ecx, 1
mov dword [ebp - 0xc], ecx
mov bh, bh
jmp 0x1006c1bc
cmp dword [ebp + 0xc], 1
jne 0x1006c0ec
mov edx, dword [ebp - 0xc]
or edx, 2
mov dword [ebp - 0xc], edx
test bl, bl
jmp 0x1006c1bc
cmp dword [ebp + 0xc], 2
jne 0x1006c102
mov eax, dword [ebp - 0xc]
or eax, 4
mov dword [ebp - 0xc], eax
test bl, bl
jmp 0x1006c1bc
cmp dword [ebp + 0xc], 3
jne 0x1006c118
mov ecx, dword [ebp - 0xc]
or ecx, 8
mov dword [ebp - 0xc], ecx
mov bh, bh
jmp 0x1006c1bc
cmp dword [ebp + 0xc], 4
jne 0x1006c12e
mov edx, dword [ebp - 0xc]
or edx, 0x10
mov dword [ebp - 0xc], edx
mov bl, bl
jmp 0x1006c1bc
cmp dword [ebp + 0xc], 5
jne 0x1006c141
mov eax, dword [ebp - 0xc]
or eax, 0x20
mov dword [ebp - 0xc], eax
mov dl, dl
jmp 0x1006c1bc
cmp dword [ebp + 0xc], 6
jne 0x1006c153
mov ecx, dword [ebp - 0xc]
or ecx, 0x40
mov dword [ebp - 0xc], ecx
nop
jmp 0x1006c1bc
cmp dword [ebp + 0xc], 7
jne 0x1006c188
mov edx, dword [ebp - 0xc]
or edx, 0x800
mov dword [ebp - 0xc], edx
nop
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32d4], 2
jne 0x1006c17d
mov dword [ebp - 0x10], 1
test dh, dh
jmp 0x1006c186
mov dword [ebp - 0x10], 0xffffff88
mov esi, esi
jmp 0x1006c1bc
cmp dword [ebp + 0xc], 8
jne 0x1006c1bc
mov ecx, dword [ebp - 0xc]
or ecx, 0x800
mov dword [ebp - 0xc], ecx
mov eax, eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32d4], 2
jne 0x1006c1b3
mov dword [ebp - 0x10], 0xffffffff
mov cl, cl
jmp 0x1006c1bc
mov dword [ebp - 0x10], 0x78
test dl, dl
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 8], eax
mov cl, cl
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov dword [ebp - 4], eax
test edx, edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 0x1c
lea edx, [ebp - 0x1c]
push edx
mov ecx, 1
mov edx, dword [ebp + 8]
call fcn.1006b360
add esp, 0x10
test ch, ch
mov esp, ebp
pop ebp
ret