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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push edi
push eax
pop eax
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 al, al
mov dword [ebp - 0x1c], 0
mov dh, dh
cmp dword [ebp + 0xc], 9
je 0x1003541e
cmp dword [ebp + 0xc], 0
jne 0x10035729
cmp dword [ebp + 0x10], 0xffffffff
jne 0x10035435
cmp dword [ebp + 0x14], 0xffffffff
jne 0x10035435
cmp dword [ebp + 0xc], 9
je 0x10035435
jmp 0x10035871
cmp dword [ebp + 0xc], 9
jne 0x10035658
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov al, al
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x14], edx
xchg ebx, eax
xchg ebx, eax
mov dword [ebp - 0x30], 0
push ebx
pop ebx
mov dword [ebp - 0x20], 0
push ebx
pop ebx
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0x70
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ah, ah
xchg ebx, eax
xchg ebx, eax
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov eax, eax
push 0
lea edx, [ebp - 0x2c]
push edx
push 0
push 3
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov dh, dh
cmp dword [ebp - 0x2c], 0
jne 0x100354b0
cmp dword [ebp - 0x28], 0
jne 0x100354b0
cmp dword [ebp - 0x24], 0
jne 0x100354b0
mov dword [ebp - 0x20], 0
nop
jmp 0x100354b9
mov dword [ebp - 0x20], 1
mov ebp, ebp
mov edx, edx
cmp dword [ebp - 0x20], 0
jne 0x10035653
cmp dword [ebp - 0x30], 1
jl 0x10035653
cmp dword [ebp - 0x30], 0x14
jg 0x10035653
fldz
fstp qword [ebp - 0xe8]
fld qword [0x100eeb00]
fstp qword [ebp - 0xe0]
fld qword [0x100eeaf8]
fstp qword [ebp - 0xd8]
fld qword [0x100eeaf0]
fstp qword [ebp - 0xd0]
fld qword [0x100eeae8]
fstp qword [ebp - 0xc8]
fld qword [0x100eeae0]
fstp qword [ebp - 0xc0]
fld qword [0x100ee9e8]
fstp qword [ebp - 0xb8]
fld qword [0x100eead8]
fstp qword [ebp - 0xb0]
fld qword [0x100eead0]
fstp qword [ebp - 0xa8]
fld qword [0x100eeac8]
fstp qword [ebp - 0xa0]
fld1
fstp qword [ebp - 0x98]
fld qword [0x100eeac0]
fstp qword [ebp - 0x90]
fld qword [0x100eeab8]
fstp qword [ebp - 0x88]
fld qword [0x100eeab0]
fstp qword [ebp - 0x80]
fld qword [0x100eeaa8]
fstp qword [ebp - 0x78]
fld qword [0x100eeaa0]
fstp qword [ebp - 0x70]
fld qword [0x100eea98]
fstp qword [ebp - 0x68]
fld qword [0x100eea90]
fstp qword [ebp - 0x60]
fld qword [0x100eea88]
fstp qword [ebp - 0x58]
fld qword [0x100eea80]
fstp qword [ebp - 0x50]
fld qword [0x100eea78]
fstp qword [ebp - 0x48]
push edx
pop edx
cmp dword [ebp - 0x20], 1
jne 0x100355c7
fld1
fstp qword [ebp - 0x110]
jmp 0x100355d7
mov eax, dword [ebp - 0x30]
fld qword [ebp + eax*8 - 0xe8]
fstp qword [ebp - 0x110]
fld qword [ebp - 0x110]
fstp qword [ebp - 0xf8]
push ebx
pop ebx
cmp dword [ebp - 0x20], 1
jne 0x100355fc
fild dword [ebp - 0x30]
fmul qword [0x100eeae8]
fstp qword [ebp - 0x118]
jmp 0x10035604
fld1
fstp qword [ebp - 0x118]
fld qword [ebp - 0x118]
fstp qword [ebp - 0x40]
push eax
pop eax
fild dword [ebp + 0x10]
fdiv qword [ebp - 0xf8]
fdiv qword [ebp - 0x40]
fstp qword [ebp - 0x38]
mov ecx, ecx
fild dword [ebp + 0x14]
fdiv qword [ebp - 0xf8]
fdiv qword [ebp - 0x40]
fstp qword [ebp - 0xf0]
mov dl, dl
fld qword [ebp - 0x38]
call fcn.100ad870
mov dword [ebp - 0x18], eax
xchg ebx, eax
xchg ebx, eax
fld qword [ebp - 0xf0]
call fcn.100ad870
mov dword [ebp - 0x14], eax
push edx
pop edx
push ebx
pop ebx
jmp 0x10035727
mov ecx, dword [ebp - 0xc]
or ecx, 0x8000
mov dword [ebp - 0xc], ecx
mov bl, bl
mov edx, dword [ebp - 0xc]
or edx, 0x4000
mov dword [ebp - 0xc], edx
mov ebx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32dc], 2
jne 0x100356d2
mov cl, cl
cmp dword [ebp + 0x18], 0xffffffff
jne 0x1003569e
cmp dword [ebp + 0x1c], 0xffffffff
jne 0x1003569e
lea ecx, [ebp - 0x100]
push ecx
call fcn.10033ac0
mov bh, bh
jmp 0x100356b4
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x100], edx
xchg ebx, eax
xchg ebx, eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xfc], eax
mov ebx, ebx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x100]
mov dword [ebp - 0x18], ecx
mov bl, bl
mov edx, dword [ebp + 0x14]
sub edx, dword [ebp - 0xfc]
mov dword [ebp - 0x14], edx
mov cl, cl
jmp 0x10035727
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 1
mov dword [ebp - 0x104], eax
mov ebx, ebx
push 0x4f
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 1
mov dword [ebp - 0x108], eax
push ebx
pop ebx
mov eax, dword [ebp + 0x10]
imul eax, eax, 0xffff
cdq
idiv dword [ebp - 0x104]
add eax, 1
mov dword [ebp - 0x18], eax
mov al, al
mov eax, dword [ebp + 0x14]
imul eax, eax, 0xffff
cdq
idiv dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x14], eax
nop
jmp 0x10035739
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10015500
add esp, 8
push ebx
pop ebx
cmp dword [ebp + 0xc], 0
je 0x10035745
cmp dword [ebp + 0xc], 9
jne 0x10035755
mov ecx, dword [ebp - 0xc]
or ecx, 1
mov dword [ebp - 0xc], ecx
mov edi, edi
jmp 0x1003583c
cmp dword [ebp + 0xc], 1
jne 0x1003576b
mov edx, dword [ebp - 0xc]
or edx, 2
mov dword [ebp - 0xc], edx
mov ebx, ebx
jmp 0x1003583c
cmp dword [ebp + 0xc], 2
jne 0x10035780
mov eax, dword [ebp - 0xc]
or eax, 4
mov dword [ebp - 0xc], eax
nop
jmp 0x1003583c
cmp dword [ebp + 0xc], 3
jne 0x10035796
mov ecx, dword [ebp - 0xc]
or ecx, 8
mov dword [ebp - 0xc], ecx
mov ah, ah
jmp 0x1003583c
cmp dword [ebp + 0xc], 4
jne 0x100357ac
mov edx, dword [ebp - 0xc]
or edx, 0x10
mov dword [ebp - 0xc], edx
mov ah, ah
jmp 0x1003583c
cmp dword [ebp + 0xc], 5
jne 0x100357bf
mov eax, dword [ebp - 0xc]
or eax, 0x20
mov dword [ebp - 0xc], eax
push edx
pop edx
jmp 0x1003583c
cmp dword [ebp + 0xc], 6
jne 0x100357d2
mov ecx, dword [ebp - 0xc]
or ecx, 0x40
mov dword [ebp - 0xc], ecx
mov bh, bh
jmp 0x1003583c
cmp dword [ebp + 0xc], 7
jne 0x10035808
mov edx, dword [ebp - 0xc]
or edx, 0x800
mov dword [ebp - 0xc], edx
push eax
pop eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32dc], 2
jne 0x100357fd
mov dword [ebp - 0x10], 1
mov ecx, ecx
jmp 0x10035806
mov dword [ebp - 0x10], 0xffffff88
mov bh, bh
jmp 0x1003583c
cmp dword [ebp + 0xc], 8
jne 0x1003583c
mov ecx, dword [ebp - 0xc]
or ecx, 0x800
mov dword [ebp - 0xc], ecx
mov dl, dl
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32dc], 2
jne 0x10035833
mov dword [ebp - 0x10], 0xffffffff
mov dh, dh
jmp 0x1003583c
mov dword [ebp - 0x10], 0x78
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
push eax
pop eax
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov dword [ebp - 4], eax
mov cl, cl
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.10034980
add esp, 0xc
push eax
pop eax
pop edi
mov esp, ebp
pop ebp
ret