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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x118d204], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x1003a7b4
movaps xmm0, xmmword [0x100d1f30]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [0x10278a7d], 1
mov dword [0x11c4454], 1
mov dword [0x100dd0ec], 0
movups xmmword [0x100dd0dc], xmm0
mov dword [0x10278b28], 0xbf800000
mov dword [0x10278ac8], 0xbf800000
call ebx
sub eax, 0xc8
mov dword [0x10278ad8], eax
call ebx
mov ebx, dword [ebp + 8]
sub eax, 0xc8
mov dword [0x10278b38], eax
mov eax, dword [ebp + 0xc]
mov dword [0x118ee38], ebx
mov dword [0x118ee3c], eax
movd xmm0, dword [0x104f9dc8]
cvtdq2ps xmm0, xmm0
push 0x116
movd xmm1, ebx
addss xmm0, xmm0
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x100d1b70]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [0x11b3794], xmm0
movd xmm0, eax
add eax, 0x1e
cvtdq2pd xmm0, xmm0
push eax
push ebx
push 0
push 0
push 0
push dword [0x11c3e7c]
divsd xmm0, qword [0x100d1b40]
cvtpd2ps xmm0, xmm0
movss dword [0x11b3798], xmm0
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [0x11c3e84]
mov eax, 0x45124f
push 0
call eax
mov edx, 0x4512ac
mov ecx, eax
call edx
push dword [0x118ee3c]
mov esi, 0x936aac
push dword [0x118ee38]
call esi
mov edx, 0x93bfc8
mov ecx, eax
call edx
cmp ebx, 0x280
jne 0x1003a5c3
push ecx
mov dword [esp], 0x42a60000
jmp 0x1003a610
cmp ebx, 0x320
je 0x1003a608
cmp ebx, 0x500
jne 0x1003a5f6
push ecx
mov dword [esp], 0x42fa0000
call esi
mov edi, 0x9280bf
mov ecx, dword [eax + 0x174]
call edi
push ecx
mov dword [esp], 0x42c80000
call esi
jmp 0x1003a617
cmp ebx, 0x780
jne 0x1003a608
push ecx
mov dword [esp], 0x42c80000
jmp 0x1003a610
push ecx
mov dword [esp], 0x42ba0000
call esi
mov edi, 0x9280bf
mov ecx, dword [eax + 0x8c]
call edi
mov esi, 0x90
push ecx
cmp ebx, 0x280
jne 0x1003a636
mov dword [esp], 0x42a60000
jmp 0x1003a64e
cmp ebx, 0x320
jne 0x1003a647
mov dword [esp], 0x42a60000
jmp 0x1003a64e
mov dword [esp], 0x42c80000
mov eax, 0x936aac
call eax
mov ecx, dword [eax + esi]
call edi
add esi, 4
cmp esi, 0x130
jl 0x1003a624
push 2
push 0x100ceb78
push str.SetAlign
mov ebx, 0x936aac
call ebx
mov esi, 0x927d4b
mov eax, dword [eax + 0x8c]
push eax
call esi
add esp, 0x10
call ebx
cmp dword [0x118ee38], 0x780
mov edx, eax
movss xmm1, dword [0x11b3794]
xorps xmm3, xmm3
movss xmm0, dword [0x100d183c]
jne 0x1003a717
mov ecx, dword [0x104f9dc8]
xor eax, eax
add ecx, 0x140
comiss xmm0, xmm1
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mulss xmm2, xmm1
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x1003a6e0
movaps xmm0, xmm1
jmp 0x1003a6e8
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1e74]
ucomiss xmm4, xmm3
subss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1003a705
movss xmm1, dword [0x11b3798]
movsd xmm0, qword [0x100d1b78]
mulss xmm1, dword [0x100d1e2c]
jmp 0x1003a77e
mov eax, dword [0x104f9dc8]
add eax, 0x140
movd xmm2, eax
xor eax, eax
comiss xmm0, xmm1
cvtdq2ps xmm2, xmm2
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mulss xmm2, xmm1
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x1003a749
movaps xmm0, xmm1
jmp 0x1003a751
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1e74]
ucomiss xmm4, xmm3
subss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1003a76e
movss xmm1, dword [0x11b3798]
movsd xmm0, qword [0x100d1b38]
mulss xmm1, dword [0x100d1e08]
sub esp, 0x10
addss xmm1, xmm2
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
push str._f__f
push str.SetPos
push dword [edx + 0x13c]
call esi
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8