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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push edi
test eax, 0x254
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
mov edx, edx
mov dword [ebp - 0x1c], 0
xchg ebx, eax
xchg ebx, eax
cmp dword [ebp + 0xc], 9
je 0x10067021
cmp dword [ebp + 0xc], 0
jne 0x1006733b
cmp dword [ebp + 0x10], 0xffffffff
jne 0x10067038
cmp dword [ebp + 0x14], 0xffffffff
jne 0x10067038
cmp dword [ebp + 0xc], 9
je 0x10067038
jmp 0x10067484
cmp dword [ebp + 0xc], 9
jne 0x10067263
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
test cl, cl
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x14], edx
test eax, 0x68fa
mov dword [ebp - 0x30], 0
test cl, cl
mov dword [ebp - 0x20], 0
test dl, dl
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0x70
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test cl, cl
test eax, 0x7084
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
test dl, dl
push 0
lea edx, [ebp - 0x2c]
push edx
push 0
push 3
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
nop
cmp dword [ebp - 0x2c], 0
jne 0x100670b9
cmp dword [ebp - 0x28], 0
jne 0x100670b9
cmp dword [ebp - 0x24], 0
jne 0x100670b9
mov dword [ebp - 0x20], 0
mov al, al
jmp 0x100670c5
mov dword [ebp - 0x20], 1
test eax, 0x699a
test dh, dh
cmp dword [ebp - 0x20], 0
jne 0x1006725e
cmp dword [ebp - 0x30], 1
jl 0x1006725e
cmp dword [ebp - 0x30], 0x14
jg 0x1006725e
fldz
fstp qword [ebp - 0xe8]
fld qword [0x10165820]
fstp qword [ebp - 0xe0]
fld qword [0x10165818]
fstp qword [ebp - 0xd8]
fld qword [0x10165810]
fstp qword [ebp - 0xd0]
fld qword [0x10165808]
fstp qword [ebp - 0xc8]
fld qword [0x10165800]
fstp qword [ebp - 0xc0]
fld qword [0x101656d8]
fstp qword [ebp - 0xb8]
fld qword [0x101657f8]
fstp qword [ebp - 0xb0]
fld qword [0x101657f0]
fstp qword [ebp - 0xa8]
fld qword [0x101657e8]
fstp qword [ebp - 0xa0]
fld1
fstp qword [ebp - 0x98]
fld qword [0x101657e0]
fstp qword [ebp - 0x90]
fld qword [0x101657d8]
fstp qword [ebp - 0x88]
fld qword [0x101657d0]
fstp qword [ebp - 0x80]
fld qword [0x101657c8]
fstp qword [ebp - 0x78]
fld qword [0x101657c0]
fstp qword [ebp - 0x70]
fld qword [0x101657b8]
fstp qword [ebp - 0x68]
fld qword [0x101657b0]
fstp qword [ebp - 0x60]
fld qword [0x101657a8]
fstp qword [ebp - 0x58]
fld qword [0x101657a0]
fstp qword [ebp - 0x50]
fld qword [0x10165798]
fstp qword [ebp - 0x48]
mov al, al
cmp dword [ebp - 0x20], 1
jne 0x100671d3
fld1
fstp qword [ebp - 0x110]
jmp 0x100671e3
mov eax, dword [ebp - 0x30]
fld qword [ebp + eax*8 - 0xe8]
fstp qword [ebp - 0x110]
fld qword [ebp - 0x110]
fstp qword [ebp - 0xf8]
mov edi, edi
cmp dword [ebp - 0x20], 1
jne 0x10067208
fild dword [ebp - 0x30]
fmul qword [0x10165808]
fstp qword [ebp - 0x118]
jmp 0x10067210
fld1
fstp qword [ebp - 0x118]
fld qword [ebp - 0x118]
fstp qword [ebp - 0x40]
push ebx
pop ebx
fild dword [ebp + 0x10]
fdiv qword [ebp - 0xf8]
fdiv qword [ebp - 0x40]
fstp qword [ebp - 0x38]
nop
fild dword [ebp + 0x14]
fdiv qword [ebp - 0xf8]
fdiv qword [ebp - 0x40]
fstp qword [ebp - 0xf0]
test bh, bh
fld qword [ebp - 0x38]
call fcn.10105730
mov dword [ebp - 0x18], eax
test ah, ah
fld qword [ebp - 0xf0]
call fcn.10105730
mov dword [ebp - 0x14], eax
test eax, eax
mov eax, eax
jmp 0x10067339
mov ecx, dword [ebp - 0xc]
or ecx, 0x8000
mov dword [ebp - 0xc], ecx
test dh, dh
mov edx, dword [ebp - 0xc]
or edx, 0x4000
mov dword [ebp - 0xc], edx
mov al, al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32d0], 2
jne 0x100672e0
mov edi, edi
cmp dword [ebp + 0x18], 0xffffffff
jne 0x100672a9
cmp dword [ebp + 0x1c], 0xffffffff
jne 0x100672a9
lea ecx, [ebp - 0x100]
push ecx
call fcn.10064f50
mov eax, eax
jmp 0x100672c2
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x100], edx
test eax, 0x6525
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xfc], eax
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x100]
mov dword [ebp - 0x18], ecx
mov edi, edi
mov edx, dword [ebp + 0x14]
sub edx, dword [ebp - 0xfc]
mov dword [ebp - 0x14], edx
test ch, ch
jmp 0x10067339
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 1
mov dword [ebp - 0x104], eax
mov esi, esi
push 0x4f
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 1
mov dword [ebp - 0x108], eax
push eax
pop eax
mov eax, dword [ebp + 0x10]
imul eax, eax, 0xffff
cdq
idiv dword [ebp - 0x104]
add eax, 1
mov dword [ebp - 0x18], eax
test ah, ah
mov eax, dword [ebp + 0x14]
imul eax, eax, 0xffff
cdq
idiv dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x14], eax
test eax, 0x7e1d
jmp 0x1006734b
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.1001be50
add esp, 8
push ebx
pop ebx
cmp dword [ebp + 0xc], 0
je 0x10067357
cmp dword [ebp + 0xc], 9
jne 0x10067367
mov ecx, dword [ebp - 0xc]
or ecx, 1
mov dword [ebp - 0xc], ecx
push ebx
pop ebx
jmp 0x1006744f
cmp dword [ebp + 0xc], 1
jne 0x1006737d
mov edx, dword [ebp - 0xc]
or edx, 2
mov dword [ebp - 0xc], edx
mov al, al
jmp 0x1006744f
cmp dword [ebp + 0xc], 2
jne 0x10067393
mov eax, dword [ebp - 0xc]
or eax, 4
mov dword [ebp - 0xc], eax
test ch, ch
jmp 0x1006744f
cmp dword [ebp + 0xc], 3
jne 0x100673a9
mov ecx, dword [ebp - 0xc]
or ecx, 8
mov dword [ebp - 0xc], ecx
mov edi, edi
jmp 0x1006744f
cmp dword [ebp + 0xc], 4
jne 0x100673bf
mov edx, dword [ebp - 0xc]
or edx, 0x10
mov dword [ebp - 0xc], edx
test bl, bl
jmp 0x1006744f
cmp dword [ebp + 0xc], 5
jne 0x100673d2
mov eax, dword [ebp - 0xc]
or eax, 0x20
mov dword [ebp - 0xc], eax
push ecx
pop ecx
jmp 0x1006744f
cmp dword [ebp + 0xc], 6
jne 0x100673e5
mov ecx, dword [ebp - 0xc]
or ecx, 0x40
mov dword [ebp - 0xc], ecx
xchg ebx, eax
xchg ebx, eax
jmp 0x1006744f
cmp dword [ebp + 0xc], 7
jne 0x1006741b
mov edx, dword [ebp - 0xc]
or edx, 0x800
mov dword [ebp - 0xc], edx
test al, al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32d0], 2
jne 0x10067410
mov dword [ebp - 0x10], 1
mov al, al
jmp 0x10067419
mov dword [ebp - 0x10], 0xffffff88
mov ah, ah
jmp 0x1006744f
cmp dword [ebp + 0xc], 8
jne 0x1006744f
mov ecx, dword [ebp - 0xc]
or ecx, 0x800
mov dword [ebp - 0xc], ecx
mov ebp, ebp
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32d0], 2
jne 0x10067446
mov dword [ebp - 0x10], 0xffffffff
mov dh, dh
jmp 0x1006744f
mov dword [ebp - 0x10], 0x78
test ecx, ecx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 8], eax
mov bh, bh
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov dword [ebp - 4], eax
mov ch, ch
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 0x1c
lea edx, [ebp - 0x1c]
mov ecx, 1
mov edi, dword [ebp + 8]
call fcn.10066580
add esp, 0xc
test ecx, ecx
pop edi
mov esp, ebp
pop ebp
ret